-
Notifications
You must be signed in to change notification settings - Fork 85
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
FR(python): Add automated checks using lower-bound-checker from google-cloud-testutils #1901
Comments
There is already a tool to check and update the constraints files which was added in googleapis/python-test-utils#8. See the instructions in googleapis/python-test-utils#8 (comment) for information on running the tool.
This check could be automated in presubmits. |
Today I Learned about the uv package manager: https://github.com/astral-sh/uv?tab=readme-ov-file#resolution-strategy It has a very useful feature to install the minimum specified versions of dependencies which could replace our use of constraints files in most cases. Supposedly it's a lot faster than pip too. Might be worth a try updating our templates to do installs via uv. |
Steps to reproduce
For Library L and Dependency D, versions 1 and 2
In L, setup.py indicates D >= 1. A constraints file pins D=1 for Nox.
Results:
Tests on L will pass.
L is broken if clients pin or don't arrange to update D from version 1.
Suggestions:
The text was updated successfully, but these errors were encountered: