pants icon indicating copy to clipboard operation
pants copied to clipboard

The Pants Build System

Results 780 pants issues
Sort by recently updated
recently updated
newest added

I accidentally made my macro recursive: pants-plugins/macros.py ```python def my_library(**kwargs): kwargs["tags"] = kwargs.get("tags", []) + ["sometag"] my_library(**kwargs) # instead of python_library ``` pants.toml ``` ... build_file_prelude_globs = ["pants-plugins/macros.py"] ... ```...

stale

It's hard to use pytest snapshots using pants because tests are executed in a temporary context. We can think of using a "file" target along with the "python_tests" target for...

backend: Python
stale

We have several options that are optional, like `str | None`. If the option is set via a config file, the only way to unset it is to modify the...

enhancement
stale

I may be a bit dense (but probably not more so than the average user) and struggled for a while to figure out why I suddenly got `NoOwnerError: No python_distribution...

backend: Python
stale

Right now, it implements all of bash in a single cohesive plugin, with the original goal of publishing it to PyPI for end-user consumption. Thus, the repo was serving both...

documentation
stale

My company uses SSL inspection as part of its security envelope. This system requires the equivalent of a self-signed intermediate certificate to be added to the system certificate store as...

stale

I encountered an error while upgrading the [`example-python` repository](https://github.com/pantsbuild/example-python/) to a recent Pants version (which I've since resolved by fixing the `setuptools` constraint in `requirements.txt`). [The error was](https://github.com/pantsbuild/example-python/runs/2503582566?check_suite_focus=true#step:8:13): ``` 19:30:00.16...

backend: Python
stale

The side-effects of builds are currently applied-in and limited to `@goal_rule`s via access to the `Workspace` type. But there is a common case of side-effects which (rather than being the...

stale

We have some remote-related options that are computed dynamically: https://github.com/pantsbuild/pants/blob/d08381a85bec17be66aef66d2fe109f05243e92f/src/python/pants/option/global_options.py#L122-L131 These are used to set up the `Core`, which is used to set up things like the `Store` and `CommandRunner`:...

stale

As explained in https://github.com/pantsbuild/pants/issues/11109, we run `./pants run` and `./pants repl` in the build root. However, we use a tmpdir so that files like `requirements.pex` and codegen files don't get...

onboarding
stale