https://pantsbuild.org/ logo
#development
Title
# development
p

polite-garden-50641

08/30/2022, 10:15 PM
is this a bug/broken window?
Copy code
File "/Users/asher/.cache/pants/setup/bootstrap-Darwin-arm64/2.15.0.dev0_py39/lib/python3.9/site-packages/pants/engine/target.py", line 173, in __repr__
    f"default={repr(self.default)})"
AttributeError: 'PythonRequirementsField' object has no attribute 'default'
(I am playing around with some plugin APIs and stumbled across this when calling str on that on
resolve_to_requirements_fields
implemented here: https://github.com/pantsbuild/pants/blob/7251de9bb8aef692b4ffcfc62c36943983a51145/src/python/pants/backend/python/goals/lockfile.py#L252
h

hundreds-father-404

08/30/2022, 10:17 PM
bug 🙂
well, sort of bug. because
required = True
,
default
should be irrelevant
p

polite-garden-50641

08/30/2022, 10:28 PM