Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The lock hash has got out-of-sync causing fails on PHP 7.3 testing on Drupal 9.4.x
Steps to reproduce
Run \Drupal\Tests\ComposerIntegrationTest::testComposerLockHash locally
Note this is not failing pHP 7.4 and greater because we change the lock file during testing because we update PHPUnit.
Proposed resolution
Fix the hash
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3256451-2.patch | 680 bytes | alexpott |
Comments
Comment #2
alexpottNote this is only a problem on Drupal 9.4.x - everything else is fine.
To test you can run
composer update --lock
and see if the hash changes.Comment #3
alexpottSee https://www.drupal.org/pift-ci-job/2280491 for an example of a HEAD test that is currently failing.
Comment #4
alexpottWe broke this in #3255623: Remove composer replace statements for paragonie/random_compat and symfony/polyfill-php70 I think.
Comment #5
mikelutzConfirming that composer update --lock does change the lock file on 9.4 HEAD, but does not with this patch.
Comment #7
catchCommitted b452010 and pushed to 9.4.x. Thanks!