https://pantsbuild.org/ logo
h

hundreds-father-404

01/14/2021, 3:42 PM
Hello! One of the most common gotchas with new users is confusion with
python_library
, e.g. thinking it's more meaningful than it really is like that it corresponds to a Python distribution (setup.py). Proposal to fix this by renaming some targets https://docs.google.com/document/d/1afm8NhCuE19YyNZHJCrig9EnaV0eJrSsIVWXL7eDflA/edit#. tl;dr: -
python_library
->
python_sources
-
protobuf_library
->
protobuf_sources
-
python_requirement_library
->
python_requirement
Ack that this is disruptive; we'd provide a snippet to fix this automatically, like when we renamed
python_binary
->
pex_binary
. Feedback appreciated!
🙌 2
🤔 3
3 Views