Closed archon810 closed 5 years ago
How did this happen? I see the problem.
5.2.0: https://packagist.org/packages/johnpbloch/wordpress#5.2.0
requires
php: >=5.3.2
5.2.1: https://packagist.org/packages/johnpbloch/wordpress#5.2.1
requires
php: 5.3.2
@archon810 Thanks for bringing this to my attention. As a temporary workaround, you can change the dependency to johnpbloch/wordpress:5.2.x-dev
, as it's not affected by this problem. I'll be pushing out updates soon, but this is a result of the build script not including the >=
for this repo.
@johnpbloch Could you move the 5.2.1 tag?
$ composer require johnpbloch/wordpress:5.2.x-dev
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for johnpbloch/wordpress 5.2.x-dev -> satisfiable by johnpbloch/wordpress[5.2.x-dev].
- johnpbloch/wordpress 5.2.x-dev requires johnpbloch/wordpress-core 5.2.x-dev -> satisfiable by johnpbloch/wordpress-core[5.2.x-dev] but these conflict with your requirements or minimum-stability.
Installation failed, deleting ./composer.json.
I too am having this issue.
Problem 1
- Installation request for johnpbloch/wordpress 5.2.1 -> satisfiable by johnpbloch/wordpress[5.2.1].
- johnpbloch/wordpress 5.2.1 requires php 5.3.2 -> your PHP version (7.1.23) does not satisfy that requirement.
@szepeviktor I guess the issue for you is minimum-stability
in your root composer.json
since you're trying to install a dev dependency.
@kraftner Thanks.
./composer.json has been created
I am trying without an existing composer.json.
Try running composer require johnpbloch/wordpress:5.2.x-dev
in an empty dir yourself!
A quick override without package change composer update --no-dev --ignore-platform-req
PS btw PHP 5.3.2 is also outdated on WP 5.2.*, should be >=5.6.20
A quick override without package change
composer update --no-dev --ignore-platform-req
Great tip, completely forgot about it!
Although it's --ignore-platform-reqs
(ends with s, plural form) :)
Ok, sorry for the delay here. I just pushed a commit that sets php requirements for 5.2.1 to the correct >=5.6.20
and update the 5.2.1 tag to point to the updated commit. Composer update and install procedures should work as expected without work-arounds going forward. The underlying cause has been addressed in the build repo, so it won't be re-appearing.
(I should also note that I had to go into packagist and manually update the repo, so there might be some delay getting the updated manifest into your pipelines.)
Hi,
Trying to update to 5.2.1 today, and getting this issue:
Any idea why?
Thanks.