Description
In verify.py:48, extract_sdist uses tar.extractall(dest, filter="data"). The filter parameter for tarfile.extractall was backported to Python 3.10.12+ and 3.11.4+ (originally added in 3.12 via PEP 706).
The project declares requires-python = ">=3.10" in pyproject.toml, but extract_sdist will crash with TypeError on Python 3.10.0 through 3.10.11.
Impact
Most users on 3.10 will have a recent patch version, but the stated compatibility is not fully accurate.
Suggested fix
Either:
- Bump the minimum to
>=3.10.12 in pyproject.toml
- Add a runtime check / fallback for older patch versions
Description
In
verify.py:48,extract_sdistusestar.extractall(dest, filter="data"). Thefilterparameter fortarfile.extractallwas backported to Python 3.10.12+ and 3.11.4+ (originally added in 3.12 via PEP 706).The project declares
requires-python = ">=3.10"inpyproject.toml, butextract_sdistwill crash withTypeErroron Python 3.10.0 through 3.10.11.Impact
Most users on 3.10 will have a recent patch version, but the stated compatibility is not fully accurate.
Suggested fix
Either:
>=3.10.12inpyproject.toml