Closed (outdated)
Project:
Drupal core
Version:
9.4.x-dev
Component:
composer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Mar 2020 at 17:06 UTC
Updated:
23 Jul 2026 at 15:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
junglesymfony/polyfill-php70 v1.17.0 requires paragonie/random_compat (~1.0|~2.0|~9.99)It seems we can not remove it ATM
Comment #4
ghost of drupal pasthttps://www.drupal.org/node/3044409
https://www.drupal.org/project/drupal/releases/8.8.0
Comment #5
adamzimmermann commentedWhen using the "printable" module, which indirectly requires "mpdf/mpdf", which has this requirement:
paragonie/random_compat ^1.4|^2.0|^9.99.99This conflicts with the constraint in "drupal/core-recommended" for 8.9.x.
"paragonie/random_compat": "v9.99.99",This is keeping me stuck with "drupal/core" which is no longer the best practice. The thing that started this process for me was trying to update a codebase to use "drupal/core-recommended" to follow the latest best practices.
Given the updates in #4, it seems that we could remove this requirement, correct?
I'm happy to submit that patch if others are on board.
edit: I went ahead and submitted a MR.
Comment #7
adamzimmermann commentedAttaching a patch for 8.9.11 to test/use locally, as the patch from my MR was failing to apply locally.
(https://git.drupalcode.org/project/drupal/-/merge_requests/166.patch)
Comment #8
adamzimmermann commentedRealized that
./composerisn't in the packaged Drupal distribution so the patch fails.I'm also not sure why one test passed and one test failed.
Any insight would be much appreciated or help getting this to a state where we can commit it.
Comment #12
quietone commentedThe was fixed in #3168514: Remove unnecessary polyfills from composer.lock. I am closing as outdated.