-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
check-manifest -p pythonX fails when check-manifest is installed on pythonY, and setup.py spawns additional Python subprocesses #56
Comments
I cannot reproduce:
Googling for "TypeError: cannot create weak reference to 'classobj' object" gives clues that this may have something to do with mixing incompatible Python versions, by, e.g., having a PYTHONPATH set, or maybe using bits installed by one build of Python in ~/.local/lib/pythonX.Y/ with a different build of Python. BTW the |
Thanks for checking. My Python install is the one in |
There's something weird about the Python version selection done by
I don't see anything odd in the use of |
Can you run these commands for me and paste their output here?
|
So if that's the issue, it can be worked around by installing
Now it works. Going back once more to the original situation:
Now it fails again. Maybe this is related:
After changing the first line in
So somehow |
I bet it's 396fda8 causing a mixup of Pythons here, but only when setup.py spawns additional Python subprocesses. |
I can reproduce:
More info:
(strace-process-tree is https://github.com/mgedmin/scripts/blob/master/strace-process-tree) The |
Thanks, that revert fixes it. That was a pretty ugly hack:) |
This failure on https://github.com/PyWavelets/pywt happens for a quite common way of invoking Cython. Normal
python setup.py sdist -d sometmpdir
works fine.The text was updated successfully, but these errors were encountered: