Starting in virtualenv 20.0.5 the path to the sysconfig directory changed to be relative to the virtualenv. Prior to 20.0.5 distutils.sysconfig.get_makefile_filename() returned the Makefile in the master Python install. Since 20.0.5 it returns venv/lib/python2.7/config/Makefile which does not exist.
This is an issue for programs which try to read/parse the non-existent Makefile. For example, numpy 1.16.x install fails see line at URL below
The following is a simple program to demonstrate the issue. In 20.0.4 a path to an existing Makefile is returned. From 20.0.5 the path returned does not exist.
$ virtualenv -vvv --with-traceback venv
332 setup logging to NOTSET [DEBUG report:43]
471 find interpreter for spec PythonSpec(path=/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python) [INFO builtin:44]
471 proposed PythonInfo({'base_exec_prefix': None, 'system_stdlib': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', 'has_venv': False, 'prefix': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', 'stdout_encoding': u'UTF-8', 'executable': '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'implementation': u'CPython', 'exec_prefix': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', 'platform': u'darwin', 'version': u'2.7.14 (default, Apr 21 2020, 10:24:39) \n[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.17)]', 'sysconfig_paths': {u'platstdlib': u'{platbase}/lib/python{py_version_short}', u'platlib': u'{platbase}/lib/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, 'base_prefix': None, 'system_stdlib_platform': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', 'file_system_encoding': u'utf-8', 'version_info': VersionInfo(major=2, minor=7, micro=14, releaselevel=u'final', serial=0), 'sysconfig_vars': {u'base': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', u'platbase': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', u'PYTHONFRAMEWORK': u'Python', u'py_version_short': u'2.7'}, 'path': [u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/bin', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python27.zip', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-tk', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-old', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', u'/Users/simonb/Library/Python/2.7/lib/python/site-packages', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages'], 'max_size': 9223372036854775807, 'real_prefix': None, 'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'platlib': u'lib/python2.7/site-packages', u'data': u'', u'scripts': u'bin'}, 'architecture': 64, 'original_executable': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'os': u'posix', 'system_executable': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'}) [INFO builtin:50]
472 accepted PythonInfo({'base_exec_prefix': None, 'system_stdlib': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', 'has_venv': False, 'prefix': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', 'stdout_encoding': u'UTF-8', 'executable': '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'implementation': u'CPython', 'exec_prefix': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', 'platform': u'darwin', 'version': u'2.7.14 (default, Apr 21 2020, 10:24:39) \n[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.17)]', 'sysconfig_paths': {u'platstdlib': u'{platbase}/lib/python{py_version_short}', u'platlib': u'{platbase}/lib/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, 'base_prefix': None, 'system_stdlib_platform': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', 'file_system_encoding': u'utf-8', 'version_info': VersionInfo(major=2, minor=7, micro=14, releaselevel=u'final', serial=0), 'sysconfig_vars': {u'base': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', u'platbase': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7', u'PYTHONFRAMEWORK': u'Python', u'py_version_short': u'2.7'}, 'path': [u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/bin', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python27.zip', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-tk', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-old', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', u'/Users/simonb/Library/Python/2.7/lib/python/site-packages', u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages'], 'max_size': 9223372036854775807, 'real_prefix': None, 'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'platlib': u'lib/python2.7/site-packages', u'data': u'', u'scripts': u'bin'}, 'architecture': 64, 'original_executable': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', 'os': u'posix', 'system_executable': u'/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'}) [DEBUG builtin:52]
479 filesystem is not case-sensitive [DEBUG info:28]
629 create virtual environment via CPython2macOsFramework(dest=/Users/simonb/Downloads/tmp/venv, clear=False, global=False) [INFO session:52]
630 create folder /Users/simonb/Downloads/tmp/venv/bin [DEBUG _sync:21]
630 create folder /Users/simonb/Downloads/tmp/venv/include [DEBUG _sync:21]
630 create folder /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages [DEBUG _sync:21]
631 write /Users/simonb/Downloads/tmp/venv/pyvenv.cfg [DEBUG pyenv_cfg:34]
631 home = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
631 implementation = CPython [DEBUG pyenv_cfg:38]
631 version_info = 2.7.14.final.0 [DEBUG pyenv_cfg:38]
631 virtualenv = 20.0.18 [DEBUG pyenv_cfg:38]
631 include-system-site-packages = false [DEBUG pyenv_cfg:38]
631 base-prefix = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
631 base-exec-prefix = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
631 base-executable = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python [DEBUG pyenv_cfg:38]
631 copy /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python to /Users/simonb/Downloads/tmp/venv/bin/python [DEBUG _sync:48]
673 symlink /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/os.py to /Users/simonb/Downloads/tmp/venv/lib/python2.7/os.py [DEBUG _sync:40]
674 symlink /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/os.pyc to /Users/simonb/Downloads/tmp/venv/lib/python2.7/os.pyc [DEBUG _sync:40]
674 symlink directory /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/include/python2.7 to /Users/simonb/Downloads/tmp/venv/include/python2.7 [DEBUG _sync:40]
674 symlink /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Python to /Users/simonb/Downloads/tmp/venv/.Python [DEBUG _sync:40]
674 symlink directory /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload to /Users/simonb/Downloads/tmp/venv/lib/python2.7/lib-dynload [DEBUG _sync:40]
677 create virtualenv import hook file /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/_virtualenv.pth [DEBUG api:78]
678 create /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/_virtualenv.py [DEBUG api:81]
765 change Mach-O for /Users/simonb/Downloads/tmp/venv/bin/python from /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Python to @executable_path/../.Python [DEBUG mac_os:158]
807 ============================== target debug ============================== [DEBUG session:54]
807 debug via /Users/simonb/Downloads/tmp/venv/bin/python /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv/create/debug.py [DEBUG creator:187]
807 {
"site": "<module 'site' from '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site.pyc'>",
"datetime": "<module 'datetime' from '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so'>",
"sys": {
"executable": "/Users/simonb/Downloads/tmp/venv/bin/python",
"real_prefix": "/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7",
"base_exec_prefix": "/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7",
"exec_prefix": "/Users/simonb/Downloads/tmp/venv/bin/..",
"io_encoding": null,
"meta_path": [
"<class '_virtualenv._VirtualenvImporter'>"
],
"fs_encoding": "utf-8",
"prefix": "/Users/simonb/Downloads/tmp/venv/bin/..",
"_base_executable": null,
"path": [
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python27.zip",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-darwin",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-tk",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-old",
"/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload",
"/Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages"
],
"base_prefix": "/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7"
},
"json": "<module 'json' from '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/json/__init__.pyc'>",
"version": "2.7.14 (default, Apr 21 2020, 10:24:39) \n[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.17)]",
"os": "<module 'os' from '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/os.pyc'>",
"math": "<module 'math' from '/Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so'>"
} [DEBUG session:55]
969 add seed packages via FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1) [INFO session:59]
969 Attempting to acquire lock 4551654288 on /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels.lock [DEBUG filelock:270]
970 Lock 4551654288 acquired on /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels.lock [INFO filelock:274]
974 get bundled wheel /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv/seed/embed/wheels/pip-20.0.2-py2.py3-none-any.whl [DEBUG acquire:51]
975 get bundled wheel /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv/seed/embed/wheels/wheel-0.34.2-py2.py3-none-any.whl [DEBUG acquire:51]
975 get bundled wheel /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/lib/python2.7/site-packages/virtualenv/seed/embed/wheels/setuptools-44.1.0-py2.py3-none-any.whl [DEBUG acquire:51]
1028 install wheel from wheel /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels/wheel-0.34.2-py2.py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:46]
1029 install pip from wheel /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels/pip-20.0.2-py2.py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:46]
1029 install setuptools from wheel /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels/setuptools-44.1.0-py2.py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:46]
1030 copy /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/setuptools-44.1.0-py2.py3-none-any/easy_install.py to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/easy_install.py [DEBUG _sync:48]
1030 copy /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/wheel-0.34.2-py2.py3-none-any/wheel-0.34.2.virtualenv to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/wheel-0.34.2.virtualenv [DEBUG _sync:48]
1031 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/wheel-0.34.2-py2.py3-none-any/wheel to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/wheel [DEBUG _sync:48]
1031 copy /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/pip-20.0.2-py2.py3-none-any/pip-20.0.2.virtualenv to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/pip-20.0.2.virtualenv [DEBUG _sync:48]
1032 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/pip-20.0.2-py2.py3-none-any/pip to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/pip [DEBUG _sync:48]
1087 copy /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/setuptools-44.1.0-py2.py3-none-any/setuptools-44.1.0.virtualenv to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/setuptools-44.1.0.virtualenv [DEBUG _sync:48]
1088 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/setuptools-44.1.0-py2.py3-none-any/setuptools-44.1.0.dist-info to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/setuptools-44.1.0.dist-info [DEBUG _sync:48]
1279 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/setuptools-44.1.0-py2.py3-none-any/setuptools to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/setuptools [DEBUG _sync:48]
1419 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/wheel-0.34.2-py2.py3-none-any/wheel-0.34.2.dist-info to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/wheel-0.34.2.dist-info [DEBUG _sync:48]
1454 changing mode of /Users/simonb/Downloads/tmp/venv/bin/wheel to 755 [INFO util:566]
1455 changing mode of /Users/simonb/Downloads/tmp/venv/bin/wheel-2.7 to 755 [INFO util:566]
1457 changing mode of /Users/simonb/Downloads/tmp/venv/bin/wheel2 to 755 [INFO util:566]
1457 generated console scripts wheel2 wheel-2.7 wheel [DEBUG base:53]
3140 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/setuptools-44.1.0-py2.py3-none-any/pkg_resources to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/pkg_resources [DEBUG _sync:48]
3808 changing mode of /Users/simonb/Downloads/tmp/venv/bin/easy_install to 755 [INFO util:566]
3835 changing mode of /Users/simonb/Downloads/tmp/venv/bin/easy_install2 to 755 [INFO util:566]
3862 changing mode of /Users/simonb/Downloads/tmp/venv/bin/easy_install-2.7 to 755 [INFO util:566]
3862 generated console scripts easy_install-2.7 easy_install easy_install2 [DEBUG base:53]
8245 copy directory /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/image/CopyPipInstall/pip-20.0.2-py2.py3-none-any/pip-20.0.2.dist-info to /Users/simonb/Downloads/tmp/venv/lib/python2.7/site-packages/pip-20.0.2.dist-info [DEBUG _sync:48]
8293 changing mode of /Users/simonb/Downloads/tmp/venv/bin/pip to 755 [INFO util:566]
8295 changing mode of /Users/simonb/Downloads/tmp/venv/bin/pip2.7 to 755 [INFO util:566]
8295 changing mode of /Users/simonb/Downloads/tmp/venv/bin/pip-2.7 to 755 [INFO util:566]
8296 changing mode of /Users/simonb/Downloads/tmp/venv/bin/pip2 to 755 [INFO util:566]
8296 generated console scripts pip2.7 pip2 pip-2.7 pip [DEBUG base:53]
8296 Attempting to release lock 4551654288 on /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels.lock [DEBUG filelock:315]
8296 Lock 4551654288 released on /Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1/2.7/wheels.lock [INFO filelock:318]
8297 add activators for Python, CShell, Fish, PowerShell, Bash [INFO session:65]
8420 write /Users/simonb/Downloads/tmp/venv/pyvenv.cfg [DEBUG pyenv_cfg:34]
8420 home = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
8420 implementation = CPython [DEBUG pyenv_cfg:38]
8420 version_info = 2.7.14.final.0 [DEBUG pyenv_cfg:38]
8420 virtualenv = 20.0.18 [DEBUG pyenv_cfg:38]
8421 include-system-site-packages = false [DEBUG pyenv_cfg:38]
8421 base-prefix = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
8421 base-exec-prefix = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7 [DEBUG pyenv_cfg:38]
8421 base-executable = /Users/simonb/.pyenv/versions/2.7.14/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python [DEBUG pyenv_cfg:38]
8421 created virtual environment CPython2.7.14.final.0-64 in 8090ms
creator CPython2macOsFramework(dest=/Users/simonb/Downloads/tmp/venv, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/Users/simonb/Library/Application Support/virtualenv/seed-app-data/v1.0.1)
activators PythonActivator,CShellActivator,FishActivator,PowerShellActivator,BashActivator [WARNING __main__:21]
Issue
Starting in virtualenv 20.0.5 the path to the sysconfig directory changed to be relative to the virtualenv. Prior to 20.0.5
distutils.sysconfig.get_makefile_filename()returned the Makefile in the master Python install. Since 20.0.5 it returnsvenv/lib/python2.7/config/Makefilewhich does not exist.This is an issue for programs which try to read/parse the non-existent Makefile. For example, numpy 1.16.x install fails see line at URL below
https://github.com/numpy/numpy/blob/12daed78eecbacdb35b49335f061b2437f019f0f/numpy/distutils/fcompiler/gnu.py#L142
The following is a simple program to demonstrate the issue. In 20.0.4 a path to an existing Makefile is returned. From 20.0.5 the path returned does not exist.
Environment Follows
Python
OS
pip list
Output of virtual environment creation