Skip to content
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

composer install is behind the releases branch #660

Closed
LarkRiseMedia opened this issue Jan 4, 2024 · 7 comments
Closed

composer install is behind the releases branch #660

LarkRiseMedia opened this issue Jan 4, 2024 · 7 comments

Comments

@LarkRiseMedia
Copy link

When running composer require humanmade/s3-uploads this installs v3.0.3 but the releases are at 3.0.7.

This is causing some issues specifically local dev, just wondered when they will be sync'd or should we pull from a different branch now and not master?

@tomjn
Copy link
Contributor

tomjn commented Jan 4, 2024

Packagist lists v3.0.7 as the latest version: https://packagist.org/packages/humanmade/s3-uploads, could this be a caching issue at your end? What does your final composer.json look like? Have you tried explicitly requiring 3.0.7 or higher when declaring the dependency? That way if there is an issue that prevents newer versions than 3.0.3 being used composer will tell you

@LarkRiseMedia
Copy link
Author

Not getting any errors specifically stating 3.0.7, getting usual error [requirements could not be resolved] when stating 3.0.8 as version required.

3.0.7 no errors.

version showed inside Wordpress 3.0.3

Reason to upgrade is to stop the failure to upload images locally when developing locally - folders all created just no file.

Tried on three browsers, no cache running locally, all history and cache deleted from browsers and still showing version 3.0.3.

Perplexed...

@LarkRiseMedia
Copy link
Author

LarkRiseMedia commented Jan 4, 2024

"require": {
"php": ">=8.0",
"composer/installers": "^2.2",
"vlucas/phpdotenv": "^5.5",
"oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "^2.0",
"roots/wordpress": "6.4.2",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.1.0",
"wpackagist-theme/twentytwentyfour": "^1.0",
"humanmade/s3-uploads": "3.0.7",
"wpackagist-plugin/regenerate-thumbnails":"^3.1.6"

@rmccue
Copy link
Member

rmccue commented Jan 4, 2024

Check composer why humanmade/s3-uploads and see if it tells you anything else interesting about the version

@LarkRiseMedia
Copy link
Author

composer why humanmade/s3-uploads
roots/bedrock - requires humanmade/s3-uploads (3.0.7)

@rmccue
Copy link
Member

rmccue commented Jan 4, 2024

Oh, when you say "installs v3.0.3" do you mean that the version specifically on the plugins page in the WordPress admin displays 3.0.3? If so, yes, this was an issue where the version there was not manually bumped: #624

@LarkRiseMedia
Copy link
Author

LarkRiseMedia commented Jan 4, 2024

Bingo - exactly this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants