https://pantsbuild.org/ logo
s

shy-advantage-49800

11/06/2022, 12:49 PM
When I remove the
name
field on
python_artifact
, this message appears:
Copy code
❯ ./pants package src/python/uvicorn-trailers:dist
13:47:51.81 [ERROR] 1 Exception encountered:

  MappingError: Failed to parse ./src/python/uvicorn-trailers/BUILD:
`setup_py()` requires `name` to be specified.
I guess the correct would actually be "`python_artifact()` requires
name
to be specified."
h

happy-kitchen-89482

11/06/2022, 3:14 PM
Yes, that is a stale error message, good catch