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

Breaking versions with composer/package-versions-deprecated #346

Closed
NikitaKharkov opened this issue May 25, 2020 · 4 comments
Closed

Breaking versions with composer/package-versions-deprecated #346

NikitaKharkov opened this issue May 25, 2020 · 4 comments

Comments

@NikitaKharkov
Copy link

So, I can't update this package to 3.5 because of using this package. This package is installed automatically to version 1.8 (current and the single one), so can't remove it or do something with it. At the same, time your package has the dependency:

    "conflict": {
        "ocramius/package-versions": "<1.3"
    },

Can you fix it? Or can you advise me on what to do?

@Jean85 Jean85 added the support label May 25, 2020
@Jean85
Copy link
Collaborator

Jean85 commented May 25, 2020

First thing, you should try and check if you're using the latest Composer patch, 1.10.6, which contains a fix for resolving the dependecies of jean85/pretty-package-versions, which in turn requires ocramius/package-versions.

You should be able to install 3.5 without issues then. But, nonetheless, we should drop that requirement somehow, because it's better to use the native Composer 2 support in the future.

@jakub-frajt
Copy link

Even with latest version of Composer (1.10.7) it's not possible to install this package.

@Jean85
Copy link
Collaborator

Jean85 commented Jun 8, 2020

Can you share a composer.json that reproduces this issue? I cannot understand why you can't, the constraints shouldn't create any issue.

@Jean85
Copy link
Collaborator

Jean85 commented Jun 19, 2020

As pointed out by #347, there was an underlying issue, but it has been fixed with composer/package-versions-deprecated#3.

Closing as fixed, feel free to reply or reopen if it still doesn't work.

@Jean85 Jean85 closed this as completed Jun 19, 2020
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

3 participants