Closed (duplicate)
Project:
Drupal core
Version:
8.3.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Nov 2015 at 17:19 UTC
Updated:
20 Sep 2017 at 12:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Crell commentedRefiling, thanks! (I'm not sure when we start accepting 8.1 patches...)
Comment #3
cilefen commentedI am marking this a "Task" because it is more of something we ought to do than a feature.
@Crell Some limited things are being committed to 8.1.x and cherry-picked to 8.0.x.
Comment #6
dawehnerThis should be a novice task
Comment #7
slasher13Comment #8
slasher13Comment #9
slasher13composer update zendframework/zend-feed --with-dependenciesUpdating dependencies (including require-dev)
- Removing zendframework/zend-hydrator (1.0.0)
- Removing zendframework/zend-escaper (2.5.1)
- Installing zendframework/zend-escaper (2.5.2)
Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
- Removing zendframework/zend-stdlib (2.7.5)
- Installing zendframework/zend-stdlib (3.0.1)
Loading from cache
composer update NOTHINGSee changes of updated zendframework/zend-stdlib version:
https://github.com/zendframework/zend-stdlib/releases/tag/release-3.0.0
Comment #10
shawn dearmond commentedzend-feed 2.7.0 requires zend-stlib "^2.7 || ^3.0". However, zend-stlib 3.1.0, released today, requires php 5.6.
Now, when I run composer install using php 5.5.9, which is the minimum requirements for Drupal 8, I get this error:
Comment #11
Crell commentedIf we explicitly require zend-stdlib 3.0 < 3.1 in composer.json, that should cause composer to resolve to the 3.0.x version of stdlib, shouldn't it? As that would satisfy both that requirement and the transitive requirement through zend-feed.
Comment #12
slasher13In patch #9 zend-stdlib was updated to 3.01 only and that version requires php >= 5.5 like Drupal (5.5.9).
If you use
composer installthe version defined in composer.lock will be installed and you don't have any trouble. By usingcomposer updatewith specified package only (composer update zendframework/zend-feed/ patch #7) dependencies of this package won't updated. Without explicitly require zend-stdlib 3.0 < 3.1 the requirements are satisfied.Comment #13
shawn dearmond commentedThe difference is that I'm building a Drupal distro, so my composer.json file "requires" the install profile. Since composer.lock files aren't inherited, Drupal's composer.lock file isn't considered and it tries to pull in v3.1.0 of zend-stdlib.
Comment #16
eric_a commentedComment #17
eric_a commented