Re: Debian testing and virtual environment error message
Chris Angelico wrote: ok, i got it to work. i noticed that there was a 3.8 version of distutils that was not upgraded to 3.9 so once i specifically pulled that in from the unstable Debian distribution then it upgraded and my creation of a new virtual environment would work without errors. so for some reason there are some python packages in unstable that had not get gotten to testing. thanks for replying. :) for the record this was what i did: apt-get install python3-distutils -t unstable Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libpython3-all-dbg (3.9.1-1) libpython3-all-dev (3.9.1-1) libpython3-dbg (3.9.1-1) libpython3-dev (3.9.1-1) libpython3-stdlib (3.9.1-1) python3 (3.9.1-1) python3-all (3.9.1-1) python3-all-dbg (3.9.1-1) python3-all-dev (3.9.1-1) python3-dbg (3.9.1-1) python3-dev (3.9.1-1) python3-lib2to3 (3.9.1-1) python3-minimal (3.9.1-1) python3-venv (3.9.1-1) Suggested packages: python3-doc (3.9.1-1) python3-tk (3.9.1-1) The following packages will be upgraded: libpython3-all-dbg (3.9.0-4 => 3.9.1-1) libpython3-all-dev (3.9.0-4 => 3.9.1-1) libpython3-dbg (3.9.0-4 => 3.9.1-1) libpython3-dev (3.9.0-4 => 3.9.1-1) libpython3-stdlib (3.9.0-4 => 3.9.1-1) python3 (3.9.0-4 => 3.9.1-1) python3-all (3.9.0-4 => 3.9.1-1) python3-all-dbg (3.9.0-4 => 3.9.1-1) python3-all-dev (3.9.0-4 => 3.9.1-1) python3-dbg (3.9.0-4 => 3.9.1-1) python3-dev (3.9.0-4 => 3.9.1-1) python3-distutils (3.8.6-1 => 3.9.1-1) python3-lib2to3 (3.8.6-1 => 3.9.1-1) python3-minimal (3.9.0-4 => 3.9.1-1) python3-venv (3.9.0-4 => 3.9.1-1) 15 upgraded, 0 newly installed, 0 to remove and 222 not upgraded. songbird -- https://mail.python.org/mailman/listinfo/python-list
Re: Debian testing and virtual environment error message
On Mon, Dec 28, 2020 at 2:56 AM songbird wrote: > > Chris Angelico wrote: > > ok, i got it to work. i noticed that there was a 3.8 > version of distutils that was not upgraded to 3.9 so once > i specifically pulled that in from the unstable Debian > distribution then it upgraded and my creation of a new > virtual environment would work without errors. > Ah, yep, that makes sense. I was a tad concerned about the mismatch of versions, but honestly, I don't think I've ever installed Python from testing or unstable (unless I'm running the entire distro on testing). It's much much easier and safer to keep the system Python untouched, and then build my own from source; my "python3" command, at the moment, runs 3.10 pre-alpha. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: Debian testing and virtual environment error message
Chris Angelico wrote: > On Mon, Dec 28, 2020 at 2:56 AM songbird wrote: ...needed to pull a few more things from unstable... > Ah, yep, that makes sense. I was a tad concerned about the mismatch of > versions, but honestly, I don't think I've ever installed Python from > testing or unstable (unless I'm running the entire distro on testing). > It's much much easier and safer to keep the system Python untouched, > and then build my own from source; my "python3" command, at the > moment, runs 3.10 pre-alpha. it seems that if there is a dependency between these than it should have be declared so they won't migrate to testing independently. i'm not sure it is worth filing a bug about since the transition is not completed yet anyways. i run testing on my day to day system because i do want to find bugs before they make it to stable, especially for the things i use every day. i'm not using the testing distribution for hard production tasks so if it breaks and i do need to get on-line i have a few other different bootable partitions or even a USB stick just in case. songbird -- https://mail.python.org/mailman/listinfo/python-list
Re: Debian testing and virtual environment error message
On 27/12/2020 04.05, songbird wrote: > songbird wrote: > ... >> The package mentioned is installed: >> >> >> = >> >> $ dpkg -l | grep python3-venv >> ii python3-venv 3.9.0-4 >> amd64pyvenv-3 binary for python3 (default python3 version) >> > > here is something i missed including in my first post, but i don't > know if this matters: > > ii python3.9-venv 3.9.1-1amd64 >Interactive high-level object-oriented language (pyvenv binary, > version 3.9) Don't worry, you are not the first person that ran into this issue. Debian's packaging of Python has caused multiple issues. I have reported some issues to downstream Debian/Ubuntu. You can find a list of all known issues at https://gist.github.com/tiran/2dec9e03c6f901814f6d1e8dad09528e Christian -- https://mail.python.org/mailman/listinfo/python-list