Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP pactivate: proposed fix for Debian Python 3.10 pkg w/o distutils
*** Tests (all manual so far): - Ubuntu 22.04 / python3 3.10 / NO python3-distutils: ** problem fixed - Ubuntu 22.04 / python3 3.10 / WITH python3-distutils: ** still working - Debian 11 / python3 3.10 / WITH python3-distutils: ** still working - Debian 11 / python3 3.10 / WITHOUT python3-distutils: ** ok error msg *** Bugs in previous code: - Deb 11 w/o python3-distutils fails to install bootstrap pip, prints a message, and should stop, but instead goes on with "Installing bootstrap virtualenv". - Also separate commit to add commented-out "head-of-main" thing below. *** Changes since last good commit (some need to be moved to other commits) - pactivate: - Add commented-out "head of main" package for virtualenv - XXX move to a separate commit - add DEB_PYTHON_INSTALL_LAYOUT workaround - cont-test: - remove the debugging - XXX keep a check for pactivate failure: (. ./$pactivate) || fail "pactivate failed: return code $?" - XXX keep large comment about system python 3.10.x *** Stuff to document print(sysconfig.get_default_scheme()) [2350]: pypa/virtualenv#2350 [au 1415153]: https://askubuntu.com/a/1415153/354600 [2415]: https://github.com/pypa/virtualenv/pull/2415/files?diff=unified&w=0 *** Maybe document pypa/setuptools#3278
- Loading branch information