-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Issue #4935: Replace webmozart/path-util with symfony/filesystem #5264
Conversation
Thanks for getting this going. Looks like consolidation/site-alias has a hidden dependency on webmozart. Lets fix that too. We can get that merged and released quickly. Also note that you may see one security related test failure in drush thats unrelated to this PR. |
This broke compatibility with both the Drupal 9 and Drupal 10 versions of |
I would imagine we could fix this by changing drush's composer.json filesystem reference to this:
but this would require more testing. |
Ouch. That approach won’t work for 4 because path functionality is not in file system v4. Looks like we gotta revert this. |
It would be nice to allow symfony/filesystem version 6. Can we just remove symfony/filesystem dependency for drush, as it is already required by consolidation/site-alias (by both consolidation/site-alias versions: ^3.1.6 and ^4).
https://packagist.org/packages/consolidation/site-alias#3.1.6 |
It doesn’t make sense to me to to remove the dependency. We use it extensively. Happy to expand its constraint. |
note: symfony/filesystem ^6.1 added in #5292 |
symfony/filesystem
as of v5.4 is pretty much a drop-in replacement forwebmozart/path-util
, at least for all the drush use-cases.