Message409135
After https://github.com/python/cpython/commit/6811fdaec825bd6ab64e358a4b480108f5634d2d
the venv module produces spurious warnings for venv paths which contain
DOS-encoded parts e.g. "USER\~1" in "C:\Users\USER~1".
`tempfile.gettempdir()` returns legacy paths like these for
user temp dirs.
MRE:
python -c "import tempfile
import venv
venv.create(tempfile.mkdtemp())"
Actual environment location may have moved due to redirects, links or junctions.
Requested location: "C:\Users\RUNNER~1\AppData\Local\Temp\tmpfoobar\Scripts\python.exe"
Actual location: "C:\Users\runneradmin\AppData\Local\Temp\tmpfoobar\Scripts\python.exe" |
|
| Date |
User |
Action |
Args |
| 2021-12-24 09:29:51 | layday | set | recipients:
+ layday, paul.moore, tim.golden, zach.ware, steve.dower |
| 2021-12-24 09:29:51 | layday | set | messageid: <1640338191.84.0.15434906765.issue46171@roundup.psfhosted.org> |
| 2021-12-24 09:29:51 | layday | link | issue46171 messages |
| 2021-12-24 09:29:51 | layday | create | |
|