Ned Batchelder <n...@nedbatchelder.com> added the comment:

This started because a set of tests in the coverage.py test suite fail with 
3.11.0a3.  They attempt to create a venv in the test, and the test is already 
running inside a virtualenv.  The venv creation fails, with a reference to a 
non-existent file.

I wrote the bug about sys._base_executable because that seemed to be the 
central difference that was causing the problem.  I was not relying on 
sys._base_executable, venv was.

I will find steps to reproduce that don't reference sys._base_executable if you 
need them.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46028>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to