composer: Composer not update new version from packagist
My composer.json
:
"si6/base-rest-framework": "2.3.*"
Output of composer diagnose
:
The version field is present, it is recommended to leave it out if the package is published on Packagist.
Checking platform settings: OK
Checking git settings: OK
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
Composer version: 1.9.0
PHP version: 7.3.8
PHP binary path: /usr/local/Cellar/php/7.3.8/bin/php
When I run this command:
composer update --prefer-source si6/base-rest-framework
I get the following output:
Nothing to install or update
And I expected this to happen:
I released new version 2.4
https://github.com/si6-nl/base-rest-framework/releases/tag/2.3.4
But compose not update package to 2.4
composer info si6/base-rest-framework
name : si6/base-rest-framework
descrip. : SI6 package base.
keywords :
versions : * 2.3.3
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (8 by maintainers)
Using a VPN to appear from the USA the problem goes away.
It appears that the Singapore mirror at a minimum is broken (along with most of the 3rd party mirrors who must be mirroring singapore).
Hey, thanks for reporting this, and sorry for not reacting faster, had a few busy days with everyone sick at home…
There was an issue with the Singapore mirror for the packagist metadata which I now resolved so it’s busy catching up now and should be back on track soon. Sorry for the trouble!
same issue as mine,
this is my package https://packagist.org/packages/lloricode/laravel-paymaya-sdk
im trying to get
v0.3.1
, give an errorresult
even trying both
cannot get the latest code
EDIT: im using
Composer version 2.0.11 2021-02-24 14:57:23