Skip to content

Fixes for python 3.10#1385

Merged
gaborbernat merged 2 commits into
pypa:masterfrom
asottile:3_10_fixes
Jul 23, 2019
Merged

Fixes for python 3.10#1385
gaborbernat merged 2 commits into
pypa:masterfrom
asottile:3_10_fixes

Conversation

@asottile

Copy link
Copy Markdown
Contributor

I'm using a hacked up python to try and squash some bugs long before they're a problem: https://launchpad.net/~asottile/+archive/ubuntu/python3.10

Here's a quick demo:

$ python3.10 virtualenv.py venv10
Using base prefix '/usr'
New python executable in /home/asottile/workspace/virtualenv/venv10/bin/python3.10
Also creating executable in /home/asottile/workspace/virtualenv/venv10/bin/python
Installing setuptools, pip, wheel...
done.
$ venv10/bin/python --version
Python 3.10.0a0
$ venv10/bin/python -c 'import sys; print(sys.path)'
['', '/home/asottile/workspace/virtualenv/venv10/lib/python31.zip', '/home/asottile/workspace/virtualenv/venv10/lib/python3.10', '/home/asottile/workspace/virtualenv/venv10/lib/python3.10/lib-dynload', '/usr/lib/python3.10', '/home/asottile/workspace/virtualenv/venv10/lib/python3.10/site-packages']

@gaborbernat

Copy link
Copy Markdown
Contributor

Feels a bit premature with the major rewrite in progress 😃

@asottile

Copy link
Copy Markdown
Contributor Author

Mmmmm I was hoping to get this merged as a bugfix so I can fix tox (and then other things). I assume even with the rewrite some or most of this code will be necessary for continued python 2 support

@gaborbernat

Copy link
Copy Markdown
Contributor

No changelog entry? 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants