Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsmarty2c 0.2.1 requires smarty/smarty <3.1.35 #20

Open
guruhost opened this issue Nov 14, 2020 · 2 comments
Open

tsmarty2c 0.2.1 requires smarty/smarty <3.1.35 #20

guruhost opened this issue Nov 14, 2020 · 2 comments

Comments

@guruhost
Copy link

guruhost commented Nov 14, 2020

Hi,

When trying to install the library into an existing project it throws:
tsmarty2c 0.2.1 requires smarty/smarty <3.1.35

Smarty 3.1.36 is installed on this project due to requirement.

Is there a workaround to have it installed via composer?

Full error output:

composer require --dev smarty-gettext/tsmarty2c
No composer.json in current directory, do you want to use the one at /Users/stelios/Sites/gurucms-GIT/includes? [Y,n]? y
Using version ^0.2.1 for smarty-gettext/tsmarty2c
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for smarty-gettext/tsmarty2c ^0.2.1 -> satisfiable by smarty-gettext/tsmarty2c[0.2.1].
    - Conclusion: remove smarty/smarty v3.1.36
    - Conclusion: don't install smarty/smarty v3.1.36
    - smarty-gettext/tsmarty2c 0.2.1 requires smarty/smarty <3.1.35 -> satisfiable by smarty/smarty[v3.1.11, v3.1.12, v3.1.13, v3.1.14, v3.1.15, v3.1.16, v3.1.17, v3.1.18, v3.1.19, v3.1.20, v3.1.21, v3.1.23, v3.1.24, v3.1.25, v3.1.26, v3.1.27, v3.1.28, v3.1.29, v3.1.30, v3.1.31, v3.1.32, v3.1.33, v3.1.34].
    - Can only install one of: smarty/smarty[v3.1.11, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.12, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.13, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.14, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.15, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.16, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.17, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.18, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.19, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.20, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.21, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.23, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.24, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.25, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.26, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.27, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.28, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.29, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.30, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.31, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.32, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.33, v3.1.36].
    - Can only install one of: smarty/smarty[v3.1.34, v3.1.36].
    - Installation request for smarty/smarty (locked at v3.1.36, required as ~3.1) -> satisfiable by smarty/smarty[v3.1.36].


Installation failed, reverting ./composer.json to its original content.
@glensc
Copy link
Member

glensc commented Nov 16, 2020

Smarty >= 3.1.35 is blocked because upstream made backward-incompatible change:

I've failed to get any feedback from the smarty team.

For a workaround, install the tool to a separate directory, or use the composer global.

@glensc
Copy link
Member

glensc commented Nov 16, 2020

you may also have luck with composer bin plugin:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants