Skip to content

Fix pypi auto release#3490

Merged
Torxed merged 8 commits intoarchlinux:masterfrom
Torxed:fix-pypi-auto-release
May 21, 2025
Merged

Fix pypi auto release#3490
Torxed merged 8 commits intoarchlinux:masterfrom
Torxed:fix-pypi-auto-release

Conversation

@Torxed
Copy link
Copy Markdown
Member

@Torxed Torxed commented May 21, 2025

This fixes PyPi auto-publish using uv.

The reason why pyshing to PyPi has been broken in general is that you are not allowed to do:

dependencies = [
    "pyparted @ https://github.com//dcantrell/pyparted/archive/v3.13.0.tar.gz#sha512=26819e28d73420937874f52fda03eb50ab1b136574ea9867a69d46ae4976d38c4f26a2697fa70597eed90dd78a5ea209bafcc3227a17a7a5d63cff6d107c2b11",
]

Because that won't resolve well when someone is trying to install the package.
So in order for PyPi (and tools using it, like pip) to be happy with the requirement is to go back to

dependencies = [
    "pyparted>=3.13.0",
]

But since dcantrell published this version to pypi, we can now go back to using it.
And this, allows for auto-publish to PyPi for us 🎉

@Torxed Torxed merged commit c9b0c9f into archlinux:master May 21, 2025
9 checks passed
@Torxed Torxed deleted the fix-pypi-auto-release branch May 24, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants