New issue
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
./pants --changed-since=<ref> filter
crashes when a target points at a file with @
in its name
#15217
Comments
Oof: sorry for the trouble. We'll get a fix cherry-picked for this. |
This was referenced Apr 21, 2022
Merged
stuhood
added a commit
that referenced
this issue
Apr 22, 2022
Fix use of `@` in path names as long as they are not followed by parameter syntax. Fixes #15217.
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Apr 22, 2022
Fix use of `@` in path names as long as they are not followed by parameter syntax. Fixes pantsbuild#15217. # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
stuhood
added a commit
to stuhood/pants
that referenced
this issue
Apr 22, 2022
Fix use of `@` in path names as long as they are not followed by parameter syntax. Fixes pantsbuild#15217. [ci skip-build-wheels]
stuhood
added a commit
that referenced
this issue
Apr 22, 2022
Fix use of `@` in path names as long as they are not followed by parameter syntax. Fixes #15217. [ci skip-build-wheels]
stuhood
added a commit
that referenced
this issue
Apr 22, 2022
Fix use of `@` in path names as long as they are not followed by parameter syntax. Fixes #15217. [ci skip-build-wheels]
@danxmoran : The fix for this one is released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Background
(Minimized/generalized)
Our Django apps typically contain a
static/
folder containing images etc for use in templates. The folder is structured like:Since there are many sub-folders under
static/
and none of them are code, we've been lazy and putting:In
static/BUILD.pants
. Our templates / views can then depend on./static
and pull in everything.Problem
In this setup, if I run
./pants --changed-since=master filter
, the process crashes with:Pants version
v2.10.0
OS
Both MacOS and Linux
Additional info
./pants filter ::
doesn't crash in the same way./pants filter --target-type=resource ::
doesn't crash, and it successfully includesstatic/images/img1_80x80@2x.png
in the output. So the@
symbol doesn't always make things crash.The text was updated successfully, but these errors were encountered: