-
Notifications
You must be signed in to change notification settings - Fork 96
Python: noxfile support for constraints #839
Copy link
Copy link
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
In the BigQuery libraries, we have more dependencies in the library than some other libraries (mostly optional, via "extras"). I'd like to be able to have some tests the depend on specific versions so that we can ensure the version ranges in
setup.pyare correct.In
google-cloud-bigquerywe do this by addingtesting/constraints-X.Y.txtfiles, whereX.Y==session.pythonin nox.It'd be nice if the template had support for this feature so that we could use
constraints.txtfiles in the other BigQuery libraries without too much manual regex.