Skip to content

Python: noxfile support for constraints #839

Closed

Description

@tswast

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.py are correct.

In google-cloud-bigquery we do this by adding testing/constraints-X.Y.txt files, where X.Y==session.python in nox.

It'd be nice if the template had support for this feature so that we could use constraints.txt files in the other BigQuery libraries without too much manual regex.

Activity

  1. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    triage meI really want to be triaged.
    on Nov 5, 2020
  2. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on Dec 4, 2020
  3. busunkim96 commented on Dec 4, 2020

    @busunkim96
    Contributor

    In progress in #869

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions