cool-easter-32542
03/17/2023, 12:44 AM[pytest].version
, violating DRY.
Instead, this proposal would update PythonToolBase
to allow either using a raw requirement string or a target address for a python_requirement_library
, so you could do this:
# requirements.txt
pytest==5.6.1
[pytest]
version = "//:pytest"
pantsbuild/pantscool-easter-32542
03/17/2023, 12:44 AM