Describe the bug, including details regarding any error messages, version, and platform.
Some of our nightly jobs have started failing with:
File "/arrow-dev/lib/python3.10/site-packages/setuptools/dist.py", line 506, in _find_pattern
raise InvalidConfigError(f"Pattern {pattern!r} cannot contain '..'")
setuptools.errors.InvalidConfigError: Pattern '../LICENSE.txt' cannot contain '..'
error: subprocess-exited-with-error
This is a new check introduced on setuptools 77.0.2 (released some hours ago):
pypa/setuptools@732ec1a
Component(s)
Continuous Integration, Python