-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[MonologBridge] Uninstallable together with symfony/http-kernel in 3.0.6 #18745
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
[MonologBridge] Uninstallable together with symfony/http-kernel in 3.0.6 #18745
Conversation
Note that I'm actually not sure if it is right to prevent installing symfony/monolog-bridge v3.0.6 together with symfony/http-kernel v2.8.6, since PR #18705 only mentions a problem the other way around (monolog-bridge v2.8.x conflicts with http-kernel v3.0+). |
yeah, the conflict rule should be removed entirely in the 3.0 branch, which was forgotten when merging 2.8 into 3.0 |
Caused by symfony#18705, it is impossible to install v3.0.6 of symfony/monolog-bridge together with v3.0.6 of symfony/http-kernel. The intention of symfony#18705 "added a conflict between Monolog bridge 2.8 and HTTP Kernel 3.0+" was to prevent installing symfony/monolog-bridge from the 3.0 series with http-kernel from the 2.8 series of symfony. While this now works correctly in v2.8.6, it breaks installing symfony/monolog-bridge v3.0.6 with symfony/http-kernel v3.0.6. This commit resolves this issue.
35fd3f2
to
72c44c2
Compare
Thanks for the feedback @stof. I updated this PR to remove the conflict with symfony/http-kernel in src/Symfony/Bridge/Monolog/composer.json. |
👍 |
👍 |
Thank you @ymc-dabe. |
…ernel in 3.0.6 (ymc-dabe) This PR was merged into the 3.0 branch. Discussion ---------- [MonologBridge] Uninstallable together with symfony/http-kernel in 3.0.6 | Q | A | ------------- | --- | Branch? | 3.0 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Caused by #18705, it is impossible to install v3.0.6 of symfony/monolog-bridge together with v3.0.6 of symfony/http-kernel. The intention of #18705 "added a conflict between Monolog bridge 2.8 and HTTP Kernel 3.0+" was to prevent installing symfony/monolog-bridge from the 3.0 series with http-kernel from the 2.8 series of symfony. While this now works correctly in v2.8.6, it breaks installing symfony/monolog-bridge v3.0.6 with symfony/http-kernel v3.0.6. This PR resolves this issue. # How to reproduce - Create a test directory and change into it - e.g. with `mkdir /tmp/reproduce-symfony-18745 && cd /tmp/reproduce-symfony-18745` - Add the following composer.json to this test directory ``` { "require": { "symfony/monolog-bridge": "3.0.6", "symfony/http-kernel": "3.0.6" } } ``` - Run `composer install` from the test directory ## Expected behavior Composer installs symfony/monolog-bridge and symfony/http-kernel (together with their dependencies). ## Actual behavior Composer fails with the following error messages: ``` #:/tmp/reproduce-symfony-18745$ composer install 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 symfony/monolog-bridge 3.0.6 -> satisfiable by symfony/monolog-bridge[v3.0.6]. - symfony/http-kernel v3.0.6 conflicts with symfony/monolog-bridge[v3.0.6]. - Installation request for symfony/http-kernel 3.0.6 -> satisfiable by symfony/http-kernel[v3.0.6]. ``` Commits ------- 72c44c2 [MonologBridge] Uninstallable together with symfony/http-kernel in 3.0.6
So, the workaround for Silex projects (and other projects using the "conflict": {
"symfony/monolog-bridge": "3.0.6"
} |
Caused by #18705, it is impossible to install v3.0.6 of symfony/monolog-bridge
together with v3.0.6 of symfony/http-kernel.
The intention of #18705 "added a conflict between Monolog bridge 2.8 and
HTTP Kernel 3.0+" was to prevent installing symfony/monolog-bridge from the
3.0 series with http-kernel from the 2.8 series of symfony. While this now
works correctly in v2.8.6, it breaks installing symfony/monolog-bridge v3.0.6
with symfony/http-kernel v3.0.6.
This PR resolves this issue.
How to reproduce
mkdir /tmp/reproduce-symfony-18745 && cd /tmp/reproduce-symfony-18745
composer install
from the test directoryExpected behavior
Composer installs symfony/monolog-bridge and symfony/http-kernel (together with their dependencies).
Actual behavior
Composer fails with the following error messages: