mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Only load package info from lock file for fixed packages
As a result some lock file packages are no longer in the pool, so the former installed map, now present map cannot use package ids anymore Need to revisit some more code later to simplify this, todo notes left
This commit is contained in:
parent
48ae45e5fe
commit
0ff07015a1
7 changed files with 61 additions and 25 deletions
|
@ -52,8 +52,10 @@ update b/b --with-dependencies
|
|||
<warning>Dependency "a/a" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>
|
||||
Loading composer repositories with package information
|
||||
Updating dependencies
|
||||
Nothing to install or update
|
||||
Nothing to modify in lock file
|
||||
Writing lock file
|
||||
Installing dependencies from lock file (including require-dev)
|
||||
Nothing to install, update or remove
|
||||
Generating autoload files
|
||||
|
||||
--EXPECT--
|
||||
|
|
|
@ -65,7 +65,7 @@ Your requirements could not be resolved to an installable set of packages.
|
|||
- requirer/pkg 1.0.0 requires dependency/pkg 1.0.0 -> no matching package found.
|
||||
Problem 4
|
||||
- stable-requiree-excluded/pkg is locked to version 1.0.0 and an update of this package was not requested.
|
||||
- Same name, can only install one of: stable-requiree-excluded/pkg[1.0.0, 1.0.1].
|
||||
- Same name, can only install one of: stable-requiree-excluded/pkg[1.0.1, 1.0.0].
|
||||
- Installation request for stable-requiree-excluded/pkg 1.0.1 -> satisfiable by stable-requiree-excluded/pkg[1.0.1].
|
||||
|
||||
Potential causes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue