We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
$ ./pants tailor Created 3rdparty/BUILD: - Add macro python_requirements $ ./pants run src/pr:main 11:31:40.88 [ERROR] 1 Exception encountered: MappingError: Failed to parse ./3rdparty/BUILD: __call__() got an unexpected keyword argument 'name' $ tree . ├── 3rdparty │ ├── BUILD │ └── requirements.txt ├── README.md ├── pants ├── pants.toml └── src └── pr ├── BUILD └── main.py 3 directories, 9 files $ cat 3rdparty/BUILD python_requirements( name="requirements.txt", )
Pants version 2.9.0rc2
2.9.0rc2
OS Mac
Additional info
# pants.toml [GLOBAL] pants_version = "2.9.0rc2" backend_packages = [ "pants.backend.python", "pants.backend.experimental.python.lint.autoflake", "pants.backend.python.lint.black", "pants.backend.python.lint.docformatter", "pants.backend.python.lint.flake8", "pants.backend.python.lint.isort", "pants.backend.python.typecheck.mypy", ] [anonymous-telemetry] enabled = true repo_id = "xx"
The text was updated successfully, but these errors were encountered:
For the record. Changing name="requirements.txt" to source="requirements.txt" solves it.
name="requirements.txt"
source="requirements.txt"
Sorry, something went wrong.
name
python_requirements
Fix incorrectly setting name on python_requirements macro (#14065)
ee723d0
Closes #14061. Oopsies. Note that this code path will be removed soon once we finish #12915. [ci skip-rust]
Fix incorrectly setting name on python_requirements macro (pantsb…
29be5be
…uild#14065) Closes pantsbuild#14061. Oopsies. Note that this code path will be removed soon once we finish pantsbuild#12915. [ci skip-rust]
Fix incorrectly setting name on python_requirements macro (Cherry…
6249fe1
…-pick of #14065) (#14067) Closes #14061. Oopsies. Note that this code path will be removed soon once we finish #12915. [ci skip-rust]
Eric-Arellano
Successfully merging a pull request may close this issue.
Describe the bug
Pants version
2.9.0rc2
OS
Mac
Additional info
The text was updated successfully, but these errors were encountered: