-
Notifications
You must be signed in to change notification settings - Fork 409
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
Executing zipapp with Python 3.10 or earlier fails on importing 'tomli' #1142
Comments
It seems that zipapp file is created by invoking shiv using Python 3.12. Since |
I've been puzzling over this for some hours, and glad I searched for before posting a separate bug. Isn't it possible for you to release a version compatible with 22.04, which is an LTS release? How to you create the pipx.pyz release file? I don't see anything in the project that says a zipapp is created, but clearly after reverse engineering you use Shiv? |
@jradxl As far as I see, the zipapp file
I confirmed that executing the |
Describe the bug
Executing the zipapp of pipx with Python 3.10 or earlier fails on trying to import
tomli
which is not included inpipx.pyz
.How to reproduce
Executing
pipx.pyz
of version 1.3.2 using Python 3.10 or earlier will always reproduce the error. Below is an example output:Expected behavior
pipx.pyz
can be executed without an error.The text was updated successfully, but these errors were encountered: