Composer.json requires an unpublished package
Describe the bug
When I try to require 10up/simple-local-avatars at he current version in my project, composer fails because SLA requires 10up/wp-compat-validation-tool which is not published on packagist.org.
Is that package really required? If so, can it be published on packagist.org, please.
Steps to Reproduce
- composer require 10up/simple-local-avatars
- composer update -W
- See error "10up/simple-local-avatars 2.8.5 requires 10up/wp-compat-validation-tool dev-trunk -> could not be found in any version, there may be a typo in the package name."
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress information
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
@mikelittle 10up/wp-compat-validation-tool helps with PHP compat checking in the plugin, so as far as I know yes it's needed. Would it suffice to have that dependency in https://wpackagist.org/ or do you ideally have that on https://packagist.org/ itself?
Yes, I guess could it could go on https://wpackagist.org, instead. Though, I thought wp.org stopped allowing library type plugins a while ago.
@jeffpaul any update on this? 😄
@mikelittle @VlasicVojislav this should be done now that https://packagist.org/packages/10up/wp-compat-validation-tool is available, but please check and validate that things work as expected on your end.
Hi @jeffpaul This still does not work. I'll raise an issue with more details, explaining what is going wrong.
@jeffpaul I added a proposal over at https://github.com/10up/wp-compat-validation-tool/issues/14 to solve this problem in a backwards and forwards compatible way.
I would love to hear your feedback.