-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Latest release depends on buggy extra-platforms
which fails on Proxmox
#1094
Comments
This issue comes from
Can double check that you depends on the last version? You can search for the |
tldr - The latest release of pypi depends on extra_platforms~=1.2.0, which gives me extra_platforms==1.2.1, which has the bug. I don't depend on any version of extra-platforms myself; my only dependency for this util is "click-extra". My pyproject looks like this: [project]
dependencies = [
"click-extra",
] And once installed using pipx,
Which I guess is due to release 4.10.0 of click-extra specifying
Which gives me extra_platforms==1.2.1, the latest of the 1.2.* releases. However, If I manually upgrade the venv to extra_platforms==1.3.1, then it works.
|
Oh. Sorry for closing this issue too fast. You are right. I overlooked the dependency constraints. I will cut a new release of Click Extra today then, if you're okay with me dropping support for Python 3.9: I already dropped support of it upstream but not released this changes yet. |
extra-platforms
which fails on Proxmox
That works for me. Thanks! |
I'll use the opportunity of a new release to officially declare Click Extra as Python 3.13-compatible. Just waiting for that version to be available in GitHub actions for CI/CD. This should be the case in a couple of hours. Waiting for this PR to be merged upstream: actions/python-versions#312 |
Just release Click Extra 4.11.0! And it is now available on PyPi. Feel free to update this issue if something is wrong with this release. |
I get this error when
click_extra
tries to importextra_platforms
.extra_platfoms
in turn depends on thedistro
package, so I'm not sure where to open this bug.It's unfortunate however, since all click_extra really wants from extra_platforms is
is_windows()
. It seems excessive to fail completely, since it's clear that at least we're not on Windows :)The host looks like this
A simple fix would be to change:
from extra_platforms import is_windows
in to
from extra_platforms.detection import is_windows
I think that would avoid triggering the bug.
The text was updated successfully, but these errors were encountered: