-
-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Labels
bug:normalaffects many people or has quite an impactaffects many people or has quite an impact
Description
Issue
Seeing this internal error across multiple packages that use tox
:
py39-xdist: install_deps> python -I -m pip install pytest-xdist>=2.1.0 -e .
.pkg_external: freeze> python -m pip freeze --all
.pkg_external: pip==25.1.1,setuptools==80.9.0
py39-xdist: internal error
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\session\cmd\run\single.py", line 47, in _evaluate
tox_env.setup()
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\api.py", line 283, in setup
self._setup_with_env()
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\runner.py", line 146, in _setup_with_env
self._setup_pkg()
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\runner.py", line 169, in _setup_pkg
self._packages = self._build_packages()
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\python\runner.py", line 122, in _build_packages
packages = package_env.perform_packaging(self.conf)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\package.py", line 46, in _func
return meth(*args, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\python\virtual_env\package\cmd_builder.py", line 96, in perform_packaging
return self.extract_install_info(for_env, path)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\package.py", line 46, in _func
return meth(*args, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\tox\tox_env\python\virtual_env\package\cmd_builder.py", line [11](https://github.com/pytest-dev/pytest/actions/runs/16427355653/job/46421357851?pr=13611#step:6:12)0, in extract_install_info
tar.extractall(path=str(work_dir), filter=tarfile.data_filter) # noqa: S202
AttributeError: module 'tarfile' has no attribute 'data_filter'
py39-xdist: FAIL code 2 ([15](https://github.com/pytest-dev/pytest/actions/runs/16427355653/job/46421357851?pr=13611#step:6:16).98 seconds)
evaluation failed :( ([16](https://github.com/pytest-dev/pytest/actions/runs/16427355653/job/46421357851?pr=13611#step:6:17).19 seconds)
- https://github.com/pytest-dev/pytest/actions/runs/16427355653/job/46421357851?pr=13611
- https://github.com/pytest-dev/pytest-qt/actions/runs/16427359890/job/46421909852?pr=613
Environment
The issue happens in Python 3.9 and Python 3.10, Windows and MacOS, but not on Linux.
Metadata
Metadata
Assignees
Labels
bug:normalaffects many people or has quite an impactaffects many people or has quite an impact