-
Notifications
You must be signed in to change notification settings - Fork 28
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
Make default cache-dependency-path paths fit most use cases #261
Comments
I didn't know about people using I am not sold on pyproject.toml. There are changes to e.g. tool configs like ruff, mypy and other stuff that doesn't need to invalidate the |
Usecases like running multiple jobs with different resolution strategies. It makes no sense to commit a lock file. |
I will add this as a new default. I contemplating whether to release it as part of a new major release. This isn't really breaking anything but might be unexpectively busting caching and increasing sizes. |
Thanks for this issue and consideration! Re:
Also, people building testing general libraries that shouldn't include a lockfile |
The current default value for
cache-dependency-glob
is not flexible enough to be used by most people.A more generic value like below should cover over 99.5% of use cases:
Reasoning:
test-requirements.txt
vsrequirements-test.txt
, so supporting only one will affect ~50% usersconstraints.txt
is very popular against those using constraint files.in
instead of.txt
extension because this is friendly with tools like dependabot, which can cause problems when mixing lock files with unlocked ones..in
is a way of saying that the file is clearly not a lock file.pyproject.toml
should not need any explanationThe text was updated successfully, but these errors were encountered: