-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Metadata Version on ruff-0.8.1-py3-none-linux_armv6l.whl #14681
Comments
What version of poetry are you using? I just tried installing Ruff with Poetry 1.8.4 and it was successful:
|
Maybe it depends on how poetry is installed? I'm seeing the same issue with poetry 1.8.4 installed via pipx. |
I hope not. That would be rather surprising. Can you share what platform your on and run |
I have the same issue:
|
I suggest reporting this to poetry because downgrading the metadata version is not in our control (managed by maturin) |
To give some more context on why we bumped the metadata version. We tried publishing Ruff 0.8 with the old metadata version but pypi rejected the wheel (unlike previous releases where this just worked)
That's why I don't think we can do anything at our end. |
FWIW, I'm seeing this on macOS, with poetry (installed via Though, in a completely fresh environment... mkdir /tmp/test_ruff_poetry
cd /tmp/test_ruff_poetry
mkdir -p src/test
touch src/test/__init__.py
python3.11 -m venv .venv
source .venv/bin/activate
python --version
# Python 3.11.10
pip install poetry
which poetry
# <in the venv in curr dir>
poetry --version
# Poetry (version 1.8.4)
cat << EOF > pyproject.toml
[tool.poetry]
name="test"
authors=[]
version="0.0.0"
description=""
packages=[
{ include = "test", from="src"}
]
[tool.poetry.dependencies]
python = ">=3.11,<4"
ruff = "0.8.1"
EOF
poetry install works. Of note: We usually pull our deps through an internal Artifactory; the above (without the artifactory source) works, but keeping the same thing but attempting to use the internal repository encounters the error [[tool.poetry.source]]
name = "Private Internal Artifactory Source"
url = "..."
priority = "primary" |
Related to this: python-poetry/poetry#9670 |
Could you try updating the |
Trying the above again, looks like it does get the newest |
I'll close this because there's now a known fix on the poetry side (upgrade |
It seems that there is an issue with latest wheel. The metadata version on is at 2.4. The pkginfo package support only metadata versions up to 2.3. This is pretty important since this is a crucial part of how Poetry resolved the package to install. Would it be possible to roll that back, ensuring that none of the released wheels have metadata version >2.3? I am not sure what the metadata versions of all the other wheels are, but I am getting the error for ruff-0.8.1-py3-none-linux_armv6l.whl.
here is the exact error:
Steps to recreate.
The text was updated successfully, but these errors were encountered: