pypy3.6-7.3.0 venv fails with --copies on Linux

Create issue
Issue #3159 new
Bernat Gabor created an issue
pypy3 -m venv --without-pip --copies env2
Error: [Errno 21] Is a directory: '/home/parallels/.pyenv/versions/pypy3.6-7.3.0/bin/../lib/tk'

parallels@parallels-Parallels-Virtual-Platform:~/git/virtualenv$ pypy3 --version
Python 3.6.9 (1608da62bfc7, Dec 23 2019, 10:50:04)
[PyPy 7.3.0 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]

Confirmed does not fail with pypy3.6 < 7.3.0

Comments (2)

  1. mattip

    This would be easier to debug if venv did not swallow its exceptions. The problem is that venv only copies files, not directories in lib-python/3/venv/__init__.py", line 199, in symlink_or_copy. This seems like a bug in venv. Fixed in 39898aeb2799, thanks for the report. If you can, please verify that this is fixed in tomorrow’s nightly build

  2. mattip

    Note: it did not occur before we started shipping the tk lib as part of the portable builds in 7.3.0

  3. Log in to comment