[New-bugs-announce] [issue37617] [3.10 prep] site.py uses `sys.version[:3]`

Anthony Sottile report at bugs.python.org
Thu Jul 18 02:41:34 EDT 2019


New submission from Anthony Sottile <asottile at umich.edu>:

In an effort to try and fix some of the ecosystem before python3.10 (or 4.0) is a thing, I figured I'd set up a build where the version is bumped and see what's broken.

If you're interested in reproducing my findings, I've included a build that's installable in ubuntu in this PPA: https://launchpad.net/~asottile/+archive/ubuntu/python3.10

It's mostly based on this patch: https://github.com/asottile/python3.10/blob/ubuntu/bionic/debian/patches/0029-pretend-3.10.patch

while tracking down why pip doesn't work, I've encountered the following from doing this:

$ python3.10 -c 'import sys; print(sys.path)'
['', '/usr/lib/python31.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/lib/python3/dist-packages']


this notably is missing the versioned site-packages / dist-packages directory

----------
messages: 348101
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: [3.10 prep] site.py uses `sys.version[:3]`
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37617>
_______________________________________


More information about the New-bugs-announce mailing list