Open jaklan opened 2 years ago
I was able to reproduce the issue directly with PyPI metadata:
curl -L https://pypi.python.org/pypi/regex/2022.7.24/json | jq .urls
returns exactly the same wheels which are mentioned in poetry.lock
, nothing more.
EDIT: actually it returns even less - I see only 3 wheels, regex-2022.7.24-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
is not there...
I have exactly the same issue with Python = ">3.8.1, <3.11.0" trying to install with poetry add regex
and getting:
RuntimeError
Unable to find installation candidates for regex (2022.7.24)
regex 22.7.24 was built and released by GitHub Actions, just like the previous version. All the wheels, and the source distribution, are there on PyPI. 'poetry' is new to me, I use 'pip', and that works on 3 different OSes and 3 different versions of Python.
Same problem here! Using poetry:
• Updating regex (2022.7.9 -> 2022.7.24): Failed
RuntimeError
Unable to find installation candidates for regex (2022.7.24)
I'm facing the exact same issue with Poetry. I think the issue is not with the wheels themselves (we may see them here: https://pypi.org/project/regex/#files), but with some metadata.
When we request PyPI API for the previous release, the cp36 to cp310 versions are available : https://pypi.org/pypi/regex/2022.7.9/json
@mrabarnett unfortunately I don't know what could be the reason, but as you can see above - the metadata in PyPI are indeed incorrect and they are the "source of truth" for poetry
. I don't know if there's an option to fix it for an already released version, but if previous releases worked correctly, then I hope triggering a new release could be enough.
A new release is on its way. Cross your fingers!
It appears to be slightly less broken, but still broken.
The issue here is pypi/warehouse#11949 -- there is nothing wrong with the regex package itself as best I can tell. This should be resolved once the Warehouse team is able to fix their CDN fronting the JSON API.
When using
poetry
, when you try to installregex
withpoetry add regex
using Python < 3.10, you get the following error:Unable to find installation candidates for regex (2022.7.24)
When we look atpoetry.lock
, we can see:so there are neither wheels for other Python versions nor sdist.
When running
poetry add "regex<2022.7.24"
,2022.7.9
is installed correctly and all the metadata are also there, so the issue is specific to that release.