Skip to content
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

Use looser version constraints in pyproject.toml #845

Open
nbraud opened this issue Jul 5, 2024 · 0 comments
Open

Use looser version constraints in pyproject.toml #845

nbraud opened this issue Jul 5, 2024 · 0 comments

Comments

@nbraud
Copy link

nbraud commented Jul 5, 2024

pyproject.toml currently specifies exact version constraints, like your *-requirements.txt files.

This is a problem for software distributions which package schema-salad, as then any update of any dependency breaks the build.
I encountered this when updating mypy in nixpkgs and had to patch the released version of schema-salad (applying the change from the update bot)

Many projects have a documented version policy; in the case of mypy, for instance, accepting 1.10.* (rather than 1.10.0 only) would make sense, as those would only match bugfix versions in mypy's 1.10 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant