Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--upgrade-embed-wheels broken in virtualenv 20.4.0 #2058

Closed
J-M0 opened this issue Jan 20, 2021 · 1 comment · Fixed by #2062
Closed

--upgrade-embed-wheels broken in virtualenv 20.4.0 #2058

J-M0 opened this issue Jan 20, 2021 · 1 comment · Fixed by #2062
Labels

Comments

@J-M0
Copy link

J-M0 commented Jan 20, 2021

Issue

Running virtualenv --upgrade-embed-wheels crashes and results in tracebacks printed to the terminal

Environment

  • OS: macOS Mojave and Red Hat Linux 7
  • pip list of the host python where virtualenv is installed:
Package             Version
------------------- -------
appdirs             1.4.4
distlib             0.3.1
filelock            3.0.12
importlib-metadata  3.4.0
importlib-resources 5.1.0
pip                 20.3.3
setuptools          51.3.3
six                 1.15.0
typing-extensions   3.7.4.3
virtualenv          20.4.0
wheel               0.36.2
zipp                3.4.0

Output of failure:

virtualenv --upgrade-embed-wheels
upgrade pip for python 3.10 with current pip-20.3.3-py2.py3-none-any.whl
upgrade setuptools for python 3.10 with current setuptools-51.3.3-py3-none-any.whl
upgrade wheel for python 3.10 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.9 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 3.9 with current setuptools-51.3.3-py3-none-any.whl
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.9 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.8 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-7:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 3.8 with current setuptools-51.3.3-py3-none-any.whl
Exception in thread Thread-8:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.8 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-9:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.7 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-10:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 3.7 with current setuptools-51.3.3-py3-none-any.whl
Exception in thread Thread-11:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.7 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-12:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.6 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 3.6 with current setuptools-51.3.3-py3-none-any.whl
Exception in thread Thread-14:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.6 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-15:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.5 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-16:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 3.5 with current setuptools-50.3.2-py3-none-any.whl
Exception in thread Thread-17:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.5 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-18:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 3.4 with current pip-19.1.1-py2.py3-none-any.whl
upgrade setuptools for python 3.4 with current setuptools-43.0.0-py2.py3-none-any.whl
Exception in thread Thread-20:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 3.4 with current wheel-0.33.6-py2.py3-none-any.whl
Exception in thread Thread-21:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade pip for python 2.7 with current pip-20.3.3-py2.py3-none-any.whl
Exception in thread Thread-22:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade setuptools for python 2.7 with current setuptools-44.1.1-py2.py3-none-any.whl
Exception in thread Thread-23:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

Exception in thread Thread-19:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

upgrade wheel for python 2.7 with current wheel-0.36.2-py2.py3-none-any.whl
Exception in thread Thread-24:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 342, in _run_manual_upgrade
    periodic=False,
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 207, in do_update
    versions = _run_do_update(app_data, distribution, embed_filename, for_py_version, periodic, search_dirs)
  File "/home/kususer/.local/pipx/venvs/virtualenv/lib64/python3.6/site-packages/virtualenv/seed/wheels/periodic_update.py", line 237, in _run_do_update
    to_folder=wheelhouse,
TypeError: download_wheel() missing 1 required positional argument: 'env'

SystemExit: None
@J-M0 J-M0 added the bug label Jan 20, 2021
@gaborbernat
Copy link
Contributor

A PR fixing this by passing on the env here https://github.com/pypa/virtualenv/blob/main/src/virtualenv/seed/wheels/periodic_update.py#L231 would be welcomed, and a test that validates this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants