-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
For python 3.10, the name of lib/3.10/site-packages is being truncated to lib/3.1/site-packages #569
Comments
Can you please try reproducing on |
Now that 0.21 is out, you can try reproducing on that version. https://github.com/indygreg/PyOxidizer/releases/tag/pyoxidizer%2F0.21.0 |
Hi 👋 Reproducible with:
In pyoxidizer.bzl appropriately change line 265:
Output (notice the truncated lib path):
The correct lib path should be: |
Hello :) Is there any chance for a release with this fix? Python 3.10 is now the official on latest ubuntu so this means this breaks quite more often. Thanks |
A new release has been blocked the past few months on |
Thanks. Though it's less urgent here and I was able to work around it 🙂
Le dim. 30 oct. 2022, 20:19, Gregory Szorc ***@***.***> a
écrit :
… A new release has been blocked the past few months on distutils
shenanigans with modern pip/setuptools. I just need a block of several
hours to unwind the ball of yarn. That might happen today and I may get a
release out in the next week. No promises.
—
Reply to this email directly, view it on GitHub
<#569 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF37PSLIQIWFEFS2RKZTKTWF3C2XANCNFSM5XMHIDKQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
The 0 is being dropped from 3.10 when the folder name is being created
(.venv) ➜ rust_call_python git:(master) ✗ pyoxidizer run
resolving 1 targets
resolving target install
resolving target exe
resolving Python distribution https://github.com/indygreg/python-build-standalone/releases/download/20220227/cpython-3.10.2%2B20220227-x86_64-unknown-linux-gnu-pgo-full.tar.zst (sha256=28ded83c1742870fe0633619ec43f9b3a693078bf7da1e2afb81a543517e032d)
downloading https://github.com/indygreg/python-build-standalone/releases/download/20220227/cpython-3.10.2%2B20220227-x86_64-unknown-linux-gnu-pgo-full.tar.zst
Python distribution available at /home/bmiller3230/.cache/pyoxidizer/python_distributions/cpython-3.10.2%2B20220227-x86_64-unknown-linux-gnu-pgo-full.tar.zst
reading data from Python distribution...
thread 'main' panicked at 'unable to get directory entry: Error { depth: 0, inner: Io { path: Some("./.venv/lib/python3.1/site-packages"), err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', /home/bmiller3230/.cargo/registry/src/github.com-1ecc6299db9ec823/python-packaging-0.12.0/src/filesystem_scanning.rs:117:35
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceThe text of pyoxidizer.bzl file is pasted below:
The text was updated successfully, but these errors were encountered: