great_expectations
great_expectations copied to clipboard
[MAINTENANCE] Pin setuptools
setuptools
higher than 71.0.0 causes an exception when importing pkg_resources
:
tests/integration/test_script_runner.py:15: in <module>
import pkg_resources
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/pkg_resources/__init__.py:93: in <module>
from jaraco.text import (
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/_vendor/jaraco/text/__init__.py:12: in <module>
from jaraco.context import ExceptionTrap
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/setuptools/_vendor/jaraco/context.py:17: in <module>
from backports import tarfile
E ImportError: cannot import name 'tarfile' from 'backports' (/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/backports/__init__.py)
long term solution is to migrate off of pkg_resources
, which is legacy code.