-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
support for pypy2 and pypy3 #1482
Conversation
I didn't review this carefully, just really skimmed and then tried to run it, but it segfaults for me here as-is:
Will see if I can tell why. |
could be also https://bitbucket.org/pypy/pypy/issues/3146/pypy3-pypy2-segmentation-fault-on-720; not works on pypy 7.1.0 😢 |
Yeah obviously what's interesting is it's segfaulting not even after I get to creating a new venv with the rewrite, just trying to see the usage info... |
OK -- whatever it is, it only looks like it affects virtualenvs. I downloaded a fresh tarball from
|
Hm, and also interesting is |
In your case there we already start creating... all parameters have default values. That being said can you try |
Signed-off-by: Bernat Gabor <[email protected]>
@Julian |
Signed-off-by: Bernat Gabor <[email protected]>
Ah nice (on both) well done -- hopping on a flight but will give it another run in a few hours. |
Signed-off-by: Bernat Gabor <[email protected]>
Trying this in a pypy3-nightly virtualenv, I get:
The correct name is |
We don't include upper/lowercase variants when the file system is case insensitive, can you do -vv with that command, I think the discovery is okay but the host executable part fails 👍 |
|
What system you're running on? |
Linux (Ubuntu 18.04, to be precise). |
Gave running this another shot, definitely didn't segfault, though the output on macOS needs tweaking -- it produces for me:
Where the output string is literally containing |
It's super fast though, well done. |
Just for posterity, posting the difference I get from running
That looks if anything better now with the rewrite? Specifically the paths with |
the wrong level wanted to provide it as debug, for detecting @rlamy reported issue |
Signed-off-by: Bernat Gabor <[email protected]>
Signed-off-by: Bernat Gabor <[email protected]>
I'll merge this in as is because I want to push other changes on top; we'll open fixup PRs if we find issues 👍 |
If anyone finds why on CI only (works locally for me) pypy with Windows fails on test https://github.com/pypa/virtualenv/blob/rewrite/tests/unit/activation/test_powershell.py#L14-L18 that would be much appreciated. I've spent three hours trying to figure it out and failed, so I'll cut my further time investment on this to spend on other issues. |
Resolves #1470.
Resolves #1471.
Issues I've run into while doing this: