jolly-midnight-72759
11/10/2020, 11:30 PM1 -> 2
documentation. Our existing python_requirement_library
entries look like this:
python_requirement_library(
name = "numpy15",
requirements = [
python_requirement("numpy==1.15.4"),
],
)
The docs [ https://www.pantsbuild.org/docs/python-third-party-dependencies#defining-inline-requirements ] say that requirements = ["numpy==1.15.4"]
is the correct format. I'm also getting the following error: Name 'python_requirement' is not defined
.hundreds-father-404
11/10/2020, 11:31 PMpython_requirement
was deprecated in 2.0, but should still work. Removed in 2.1python_requirement()
wrapper and use the raw stringjolly-midnight-72759
11/10/2020, 11:32 PMhundreds-father-404
11/10/2020, 11:32 PMignore_pants_warnings
till you’re ready to deal with