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

Bump to a minimum of composer-runtime-api:^2.1 as soon as it is available, drop composer/composer:<2.0.14 conflict #702

Closed
Ocramius opened this issue May 25, 2021 · 2 comments · Fixed by #709
Assignees
Milestone

Comments

@Ocramius
Copy link
Owner

See #700

Mostly cleanup work.

Ocramius added a commit to derrabus/ProxyManager that referenced this issue May 25, 2021
As discussed in Ocramius#700
As noted in Ocramius#700 (comment)

Since `composer/composer` broke BC in 2.0.14 by adding a runtime side-effect to a
functionally pure API (`InstalledVersions::getRawData()`) it is safest to move away
from it.

Since `composer-runtime-api:2.1.0` is not yet available, the safest approach is to
introduce a conflict with `composer/composer:<2.0.14` for now.

In the next release, we'll drop this `conflict` block and add bump `composer-runtime-api`
instead ( Ocramius#702 ).
@Ocramius Ocramius added this to the 2.13.0 milestone May 25, 2021
Ainschy added a commit to Ainschy/conflicts that referenced this issue May 25, 2021
leofeyer pushed a commit to contao/conflicts that referenced this issue May 25, 2021
@Seldaek
Copy link

Seldaek commented Jun 9, 2021

2.1 is available now btw :)

@Ocramius
Copy link
Owner Author

Ocramius commented Jun 9, 2021

Excellent: on it :-)

@Ocramius Ocramius self-assigned this Jun 9, 2021
Ocramius added a commit that referenced this issue Jun 9, 2021
`composer-runtime-api:2.0.x` included deprecations that caused crashes/errors before
`composer/composer:2.0.14`, and a restriction to `"conflict": {"composer/composer": "<2.0.14"}`
did not work ( #700 (comment) ).

In order to clean this up, this fixes #702 by declaring a the dependency to `composer-runtime-api:^2.1.0`
explicitly, effectively excluding `composer/composer:~2.0.0` from installation candiates.
Ocramius added a commit that referenced this issue Jun 9, 2021
`composer-runtime-api:2.0.x` included deprecations that caused crashes/errors before
`composer/composer:2.0.14`, and a restriction to `"conflict": {"composer/composer": "<2.0.14"}`
did not work ( #700 (comment) ).

In order to clean this up, this fixes #702 by declaring a the dependency to `composer-runtime-api:^2.1.0`
explicitly, effectively excluding `composer/composer:~2.0.0` from installation candiates.
Ocramius added a commit that referenced this issue Jun 9, 2021
…ime-api

Upgraded to `composer-runtime-api:^2.1.0`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants