-
Notifications
You must be signed in to change notification settings - Fork 40
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
Since version 0.10.0 pure wildcard does not work in some cases #62
Comments
@cpburnz Thank you!) |
Hi @cpburnz, looks like this has the potential to cause some serious usability problems for downstream users. Black just received a bug report (psf/black#3256) where Black is now reformatting virtual environments (!) named $ virtualenv env
created virtual environment CPython3.8.5.final.0-64 in 2959ms
creator CPython3Posix(dest=/home/ichard26/programming/oss/dir/env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/ichard26/.local/share/virtualenv)
added seed packages: pip==22.2.2, setuptools==63.4.3, wheel==0.37.1
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
$ cat env/.gitignore
# created by virtualenv automatically
* Black doesn't have Would you be open to yanking pathspec 0.10.0 on PyPI? It will prevent most users from getting the broken version, but won't break people who are already locked on 0.10.0. It's a bit like a "strongly discouraged for use" marker but for pip 🙂 This post explains it well (see the "The whole release is bad" header). Thanks in advance! |
@ichard26 I have no problem with pulling down v0.10.0 because it broke a very common pattern. |
Behavior of pattern "match everything" changed when upgrading from version 0.9.0 to 0.10.0:
Version 0.9.0
Result is as expected
Version 0.10.0
Result is wrong.
*
should match any file, but it doesn't matchanydir/file.txt
.Discovered when checking case "match everything except for one directory":
On version 0.9.0 it correctly matches file outside of
product_dir
and doesn't match file inside:On version 0.10.0 it doesn't match in either case:
The text was updated successfully, but these errors were encountered: