Closed dependabot[bot] closed 2 months ago
After painstakingly reproducing the Travis build process, I could not reproduce the PHP version mismatch.
Having stepped through the process and done all the composer manipulations, composer why php
prpduced a list of dependencies, none of why required PHP 8.2. One package, ezyang/htmlpurifier
as an OR clause for PHP 8.2, but none require it.
$ composer why php
10up/elasticpress 4.7.2 requires php (>=7.0)
10up/simple-local-avatars 2.7.11 requires php (>=7.4)
altis/altis 19.0.0 requires php (>=8.0)
altis/browser-security 2.1.0 requires php (>=7.1)
altis/cloud 19.0.2 requires php (>=7.1)
altis/cms 19.0.7 requires php (>=7.1)
altis/cms-installer 0.4.4 requires php (>=7.1)
altis/consent 1.0.15 requires php (>=7.1)
altis/consent-api 1.0.7 requires php (>=7.1)
altis/core dev-dependabot/composer/v19-branch/aws/aws-sdk-php-approx-3.320.7 requires php (>=7.1)
altis/documentation 19.0.0 requires php (>=7.1)
altis/enhanced-search 19.0.0 requires php (>=7.1)
altis/local-server 19.0.4 requires php (>=7.1)
altis/media 19.0.3 requires php (>=7.1)
altis/privacy 19.0.0 requires php (>=7.1)
altis/security 19.0.1 requires php (>=7.1)
altis/seo 19.0.0 requires php (>=7.1)
altis/sso 19.0.0 requires php (>=7.1)
altis/test-theme 9999999-dev requires php (>=5.6)
antecedent/patchwork 2.1.28 requires php (>=5.4.0)
aws/aws-crt-php v1.2.6 requires php (>=5.5)
aws/aws-sdk-php 3.320.9 requires php (>=7.2.5)
behat/gherkin 4.x-dev requires php (~7.2|~8.0)
bjeavons/zxcvbn-php 1.3.1 requires php (^7.2 | ^8.0 | ^8.1)
bordoni/phpass 0.3.6 requires php (>=5.3.3)
carbonphp/carbon-doctrine-types 9999999-dev requires php (^8.1)
codeception/codeception 4.2.x-dev requires php (>=5.6.0 <9.0)
codeception/lib-asserts 1.13.2 requires php (>=5.6.0 <9.0)
codeception/lib-innerbrowser 1.x-dev requires php (>=5.6.0 <9.0)
codeception/module-asserts 1.3.1 requires php (>=5.6.0 <9.0)
codeception/module-cli 1.1.1 requires php (>=5.6.0 <9.0)
codeception/module-db 1.2.0 requires php (>=5.6.0 <9.0)
codeception/module-filesystem 1.0.3 requires php (>=5.6.0 <9.0)
codeception/module-phpbrowser 1.0.3 requires php (>=5.6.0 <9.0)
codeception/module-webdriver 1.4.1 requires php (>=5.6.0 <9.0)
codeception/phpunit-wrapper 9.0.x-dev requires php (>=7.2)
codeception/stub 4.0.2 requires php (^7.4 | ^8.0)
composer/ca-bundle 1.x-dev requires php (^7.2 || ^8.0)
composer/class-map-generator 1.x-dev requires php (^7.2 || ^8.0)
composer/composer 2.7.x-dev requires php (^7.2.5 || ^8.0)
composer/metadata-minifier 1.x-dev requires php (^5.3.2 || ^7.0 || ^8.0)
composer/pcre 3.x-dev requires php (^7.4 || ^8.0)
composer/semver 3.x-dev requires php (^5.3.2 || ^7.0 || ^8.0)
composer/spdx-licenses 1.x-dev requires php (^5.3.2 || ^7.0 || ^8.0)
composer/xdebug-handler 3.0.5 requires php (^7.2.5 || ^8.0)
darylldoyle/safe-svg 2.2.5 requires php (>=7.4)
dg/mysql-dump v1.5.1 requires php (>=5.6)
doctrine/inflector 2.1.x-dev requires php (^7.2 || ^8.0)
doctrine/instantiator 2.0.x-dev requires php (^8.1)
eftec/bladeone 3.52 requires php (>=5.6)
enshrined/svg-sanitize 0.16.0 requires php (^5.6 || ^7.0 || ^8.0)
erusev/parsedown 1.7.x-dev requires php (>=5.3.0)
ezyang/htmlpurifier v4.17.0 requires php (~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0)
gettext/gettext 4.x-dev requires php (>=5.4.0)
gettext/languages 2.10.0 requires php (>=5.3)
guzzlehttp/guzzle 7.9.x-dev requires php (^7.2.5 || ^8.0)
guzzlehttp/promises 2.0.x-dev requires php (^7.2.5 || ^8.0)
guzzlehttp/psr7 2.7.x-dev requires php (^7.2.5 || ^8.0)
humanmade/altis-reusable-blocks v0.2.4 requires php (>=7.1)
humanmade/amf-wordpress 0.3.0 requires php (>=7.2)
humanmade/asset-manager-framework 0.13.5 requires php (>=7.2)
humanmade/aws-ses-wp-mail 1.3.0 requires php (>=5.3)
humanmade/debug-bar-elasticpress 1.6.3 requires php (>=5.2)
humanmade/hm-redirects 0.7.3 requires php (>=5.4)
humanmade/ludicrousdb 5.0.6 requires php (>=5.2)
humanmade/two-factor 0.3.3 requires php (>=5.6)
illuminate/collections 8.x-dev requires php (^7.3|^8.0)
illuminate/contracts 8.x-dev requires php (^7.3|^8.0)
illuminate/macroable 8.x-dev requires php (^7.3|^8.0)
illuminate/support 8.x-dev requires php (^7.3|^8.0)
johnbillion/query-monitor 3.16.4 requires php (>=7.4.0)
johnpbloch/wordpress 6.5.5 requires php (>=7.0.0)
johnpbloch/wordpress-core 6.5.5 requires php (>=7.0.0)
johnpbloch/wordpress-core-installer 2.0.0 requires php (>=5.6.0)
justinrainbow/json-schema 5.x-dev requires php (>=7.1)
lucatume/wp-browser 3.2.3 requires php (>=5.6.0)
maxbanton/cwh v2.0.4 requires php (^7.2 || ^8)
mck89/peast 1.16.3.x-dev requires php (>=5.4.0)
mikehaertl/php-shellcommand 1.7.0 requires php (>= 5.3.0)
mikemclin/laravel-wp-password 2.0.3 requires php (>=5.3.0)
monolog/monolog 2.x-dev requires php (>=7.2)
mtdowling/jmespath.php 2.7.x-dev requires php (^7.2.5 || ^8.0)
mustache/mustache v2.14.2 requires php (>=5.2.4)
mustangostang/spyc 0.6.3 requires php (>=5.3.1)
myclabs/deep-copy 1.x-dev requires php (^7.1 || ^8.0)
nb/oxymel v0.1.0 requires php (>=5.2.4)
nesbot/carbon 2.x-dev requires php (^7.1.8 || ^8.0)
nikic/php-parser v5.1.0 requires php (>=7.4)
onelogin/php-saml 3.7.0 requires php (>=5.4)
phar-io/manifest 2.0.x-dev requires php (^7.2 || ^8.0)
phar-io/version 3.2.1 requires php (^7.2 || ^8.0)
php-webdriver/webdriver 1.15.1 requires php (^7.3 || ^8.0)
phpunit/php-code-coverage 9.2.x-dev requires php (>=7.3)
phpunit/php-file-iterator 3.0.x-dev requires php (>=7.3)
phpunit/php-invoker 3.1.1 requires php (>=7.3)
phpunit/php-text-template 2.0.4 requires php (>=7.3)
phpunit/php-timer 5.0.3 requires php (>=7.3)
phpunit/phpunit 9.6.x-dev requires php (>=7.3)
predis/predis v1.x-dev requires php (>=5.3.9)
psr/clock 1.0.0 requires php (^7.0 || ^8.0)
psr/container 1.0.0 requires php (>=5.3.0)
psr/event-dispatcher 1.0.x-dev requires php (>=7.2.0)
psr/http-client 1.0.x-dev requires php (^7.0 || ^8.0)
psr/http-factory 1.1.0 requires php (>=7.1)
psr/http-message 2.0.x-dev requires php (^7.2 || ^8.0)
psr/log 2.0.0 requires php (>=8.0.0)
psr/simple-cache 1.0.1 requires php (>=5.3.0)
ralouphie/getallheaders 3.0.3 requires php (>=5.6)
react/promise 3.x-dev requires php (>=7.1.0)
robrichards/xmlseclibs 9999999-dev requires php (>= 5.4)
roots/wp-password-bcrypt 1.1.0 requires php (>=5.6.0)
sebastian/cli-parser 1.0.x-dev requires php (>=7.3)
sebastian/code-unit 1.0.8 requires php (>=7.3)
sebastian/code-unit-reverse-lookup 2.0.3 requires php (>=7.3)
sebastian/comparator 4.0.x-dev requires php (>=7.3)
sebastian/complexity 2.0.x-dev requires php (>=7.3)
sebastian/diff 4.0.x-dev requires php (>=7.3)
sebastian/environment 5.1.x-dev requires php (>=7.3)
sebastian/exporter 4.0.x-dev requires php (>=7.3)
sebastian/global-state 5.0.x-dev requires php (>=7.3)
sebastian/lines-of-code 1.0.x-dev requires php (>=7.3)
sebastian/object-enumerator 4.0.4 requires php (>=7.3)
sebastian/object-reflector 2.0.4 requires php (>=7.3)
sebastian/recursion-context 4.0.x-dev requires php (>=7.3)
sebastian/resource-operations 3.0.x-dev requires php (>=7.3)
sebastian/type 3.2.x-dev requires php (>=7.3)
sebastian/version 3.0.x-dev requires php (>=7.3)
segmentio/analytics-php 3.8.0 requires php (^7.4 || ^8.0)
seld/jsonlint 1.11.0 requires php (^5.3 || ^7.0 || ^8.0)
seld/phar-utils 1.2.1 requires php (>=5.3)
seld/signal-handler 2.x-dev requires php (>=7.2.0)
stuttter/wp-user-signups 5.0.2 requires php (>=5.2)
symfony/browser-kit 5.4.x-dev requires php (>=7.2.5)
symfony/console 5.4.x-dev requires php (>=7.2.5)
symfony/css-selector 5.4.x-dev requires php (>=7.2.5)
symfony/deprecation-contracts 3.5.x-dev requires php (>=8.1)
symfony/dom-crawler 5.4.x-dev requires php (>=7.2.5)
symfony/event-dispatcher 5.4.x-dev requires php (>=7.2.5)
symfony/event-dispatcher-contracts 3.5.x-dev requires php (>=8.1)
symfony/filesystem 6.4.x-dev requires php (>=8.1)
symfony/finder 5.4.x-dev requires php (>=7.2.5)
symfony/polyfill-ctype 1.x-dev requires php (>=7.1)
symfony/polyfill-intl-grapheme 1.x-dev requires php (>=7.1)
symfony/polyfill-intl-normalizer 1.x-dev requires php (>=7.1)
symfony/polyfill-mbstring 1.x-dev requires php (>=7.1)
symfony/polyfill-php73 1.x-dev requires php (>=7.1)
symfony/polyfill-php80 1.x-dev requires php (>=7.1)
symfony/polyfill-php81 1.x-dev requires php (>=7.1)
symfony/process 6.4.x-dev requires php (>=8.1)
symfony/service-contracts 2.3.x-dev requires php (>=7.2.5)
symfony/string 6.4.x-dev requires php (>=8.1)
symfony/translation 6.2.x-dev requires php (>=8.1)
symfony/translation-contracts 3.5.x-dev requires php (>=8.1)
symfony/yaml 5.4.x-dev requires php (>=7.2.5)
theseer/tokenizer 1.2.3 requires php (^7.2 || ^8.0)
voku/portable-ascii 1.6.1 requires php (>=7.0.0)
vria/nodiacritic 0.1.2 requires php (>=5.3.3)
wp-cli/mustangostang-spyc 0.6.3 requires php (>=5.3.1)
wp-cli/php-cli-tools 0.11.x-dev requires php (>= 5.6.0)
wp-cli/wp-cli 2.12.x-dev requires php (^5.6 || ^7.0 || ^8.0)
wp-cli/wp-cli-bundle 2.12.x-dev requires php (>=5.6)
wp-cli/wp-config-transformer v1.3.6 requires php (^5.6 || ^7.0 || ^8.0)
yoast/phpunit-polyfills 1.x-dev requires php (>=5.4)
zordius/lightncandy 1.2.6.x-dev requires php (>=7.1)
mikelittle@macemmyone:~/test-root
$
The main difference I can see between the Travis run and my run, is that the Travis run seems to try to load a 'build cache' from an external resource. Though, it seems to fail at that. I wonder whether that is somehow related.
Interestingly, this failure is the 'branch' test. The 'pull request' test using the same travis.yml
does not fail. And it succeeds in downloading the external cache.
Looking further, I can see a difference between the cache requests: In the failed run, these are the cache requests it tries:
Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
0.20s$ Installing caching utilities
0.00s2.23sattempting to download cache archive
fetching aws-sdk-php-approx-3.320.7/cache--linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching dependabotcomposerv19-branchawsaws-sdk-php-approx-3.320.7/cache--linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching aws-sdk-php-approx-3.320.7/cache-linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching aws-sdk-php-approx-3.320.7/cache--php-8.1.tgz
fetching dependabotcomposerv19-branchawsaws-sdk-php-approx-3.320.7/cache-linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching dependabotcomposerv19-branchawsaws-sdk-php-approx-3.320.7/cache--php-8.1.tgz
fetching master/cache--linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching master/cache-linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching master/cache--php-8.1.tgz
could not download cache
0.00s1.20sadding /home/travis/.composer/cache to cache
creating directory /home/travis/.composer/cache
Whereas the passing build does this:
Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
0.21s$ Installing caching utilities
0.00s1.66sattempting to download cache archive
fetching PR.1124/cache--linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching PR.1124/cache-linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
fetching PR.1124/cache--php-8.1.tgz
fetching v19-branch/cache--linux-jammy-d579bf070cc01ccd068a7cf35a1f6ca3645e0d13d31f02624831445b664f6e6a--php-8.1.tgz
found cache
0.00s1.21sadding /home/travis/.composer/cache to cache
creating directory /home/travis/.composer/cache
The failing build references two tarballs master/cache-linx...
, if those do suceed in being downloaded (there is nothing to say every request failed) they will contain PHP8.2-specific libraries (as that is now the default on master).
I'll have to find where the caching is implemented next...
Superseded by #1131.
Updates the requirements on aws/aws-sdk-php to permit the latest version.
Release notes
Sourced from aws/aws-sdk-php's releases.
Commits
702b995
3.320.7 release1ba9bad
Update models for release73c66ce
3.320.6 releasee3d5877
Update models for release44c4760
fix: error matcher on booleans (#2986)afda5ae
3.320.5 release1806459
Update models for releasecb1cd9f
chore: remove codestar service (#2987)7ded3ea
fix: environment variable usage ofAWS_SUPPRESS_PHP_DEPRECATION_WARNING
(#2...e6af3e7
3.320.4 releaseMost Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | aws/aws-sdk-php | [>= 3.307.a, < 3.308] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show