-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
My composer.json:
{
"require": {
"psr/log": "^3.0.0"
},
"config": {
"bump-after-update": true
},
"type": "project"
}Output of composer diagnose:
Checking composer.json: WARNING
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
Checking composer.lock: OK
Checking platform settings: OK
Checking git settings: OK git version 2.43.0
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952
OK
Checking Composer version: OK
Checking Composer and its dependencies for vulnerabilities: OK
Composer version: 2.8.3
PHP version: 8.3.14
PHP binary path: /usr/bin/php8.3
OpenSSL version: OpenSSL 3.0.13 30 Jan 2024
curl version: 8.5.0 libz 1.3 ssl OpenSSL/3.0.13
zip: extension present, unzip present, 7-Zip present (7z)
When I run this command:
composer update -vvvvvv psr/log:3.0.2
I get the following output:
Running 2.8.3 (2024-11-17 13:13:04) with PHP 8.3.14 on Linux / 6.8.0-49-generic
Reading ./composer.json (/tmp/test/composer.json)
Loading config file /home/timwolla/.config/composer/config.json
Loading config file /home/timwolla/.config/composer/auth.json
Loading config file ./composer.json (/tmp/test/composer.json)
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/tmp/test): 'git' 'branch' '-a' '--no-color' '--no-abbrev' '-v'
Failed to initialize global composer: Composer could not find the config file: /home/timwolla/.config/composer/composer.json
Reading ./composer.lock (/tmp/test/composer.lock)
Loading composer repositories with package information
Reading /home/timwolla/.cache/composer/repo/https---repo.packagist.org/packages.json from cache
Downloading https://repo.packagist.org/packages.json if modified
[304] https://repo.packagist.org/packages.json
Reading /home/timwolla/.cache/composer/repo/https---repo.packagist.org/provider-psr~log.json from cache
Downloading https://repo.packagist.org/p2/psr/log.json if modified
[304] https://repo.packagist.org/p2/psr/log.json
Built pool.
Running pool optimizer.
Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.
Dependency resolution completed in 0.000 seconds
Analyzed 93 packages to resolve dependencies
Analyzed 94 rules to resolve dependencies
Lock file operations: 0 installs, 1 update, 0 removals
Updates: psr/log:3.0.2
- Upgrading psr/log (3.0.0 => 3.0.2) from composer repo (https://repo.packagist.org)
Writing lock file
Installing dependencies from lock file (including require-dev)
Reading ./composer.lock (/tmp/test/composer.lock)
Package operations: 1 install, 0 updates, 0 removals
Installs: psr/log:3.0.2
Reading /home/timwolla/.cache/composer/files/psr/log/2961e31604f4f4de116b458f772c4aa21861c5b4.zip from cache
- Loading psr/log (3.0.2) from cache
- Installing psr/log (3.0.2): Extracting archive
Executing async command (CWD): '/usr/bin/unzip' '-qq' '/tmp/test/vendor/composer/tmp-17f637075a09fe47c82e85a7a99a0b73.zip' '-d' '/tmp/test/vendor/composer/ab58cf9d'
Executing async command (CWD): 'rm' '-rf' '/tmp/test/vendor/composer/ab58cf9d'
Downloading https://packagist.org/downloads/
[201] https://packagist.org/downloads/
Generating autoload files
Reading /home/timwolla/.cache/composer/repo/https---repo.packagist.org/provider-psr~log.json from cache
No security vulnerability advisories found.
Bumping dependencies
Reading ./composer.lock (/tmp/test/composer.lock)
No requirements to update in ./composer.json.
And I expected this to happen:
I expected my composer.json to change, as manually running composer bump afterwards results in:
./composer.json has been updated (1 changes).