GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Client libraries need out-of-band tests against prereleases of third party dependencies · Issue #10578 · googleapis/google-cloud-python

Client libraries need out-of-band tests against prereleases of third party dependencies #10578

New issue
Copy link
New issue
Copy link
Closed
Closed
Client libraries need out-of-band tests against prereleases of third party dependencies#10578
Copy link
Labels
type: processA process-related concern. May include testing, release, or the like.

Description

@tseaver
tseaver
opened on Aug 17, 2021
Issue body actions

/cc @busunkim96, @tswast, @crwilcox

I had originally worked to add --pre to the testing/constraints-3.9.txt files of the "manual" libraries:

  • tests: silence a warning from 'charset_normalizer' python-api-core#247
  • tests: allow prerelease dependency versions under Python 3.9 python-cloud-core#129
  • tests: test against 2.x versions of google-auth google-resumable-media-python#250
  • tests: allow prerelease deps on Python 3.9 python-firestore#415
  • tests: allow prerelease deps on Python 3.9 python-bigtable#402
  • tests: allow prerelease deps on Python 3.9 python-datastore#207
  • chore: drop use of 'pytz' in tests / examples python-storage#534
  • tests: allow prerelease dependency versions under Python 3.9 python-spanner#479

However, in today's meeting the consensus was that such testing needs to happend out-of-band from the normal PR presubmit testing. I have therefore reverted the already-merged PRs which had only that change:

  • tests: revert testing against prerelease deps on Python 3.9 python-firestore#426
  • tests: revert testing against prerelease deps on Python 3.9 python-bigtable#406
  • tests: revert testing against prerelease deps on Python 3.9 python-datastore#213

For the already-merged PRs which contained more changes, I have created PRs which back out only the constraint change:

  • tests: revert testing against prerelease deps on Python 3.9 python-cloud-core#132
  • tests: revert testing against prerelease deps on Python 3.9 python-spanner#527

For the not-yet-merged PRs, I have backed out the constraint change, and re-titled them to signal the remaining changes:

  • tests: silence a warning from 'charset_normalizer' python-api-core#247
  • tests: test against 2.x versions of google-auth google-resumable-media-python#250
  • chore: drop use of 'pytz' in tests / examples python-storage#534

Going forward, we need to work out how to do this testing out-of-band.

  • test: add session to test with nightly dependencies python-bigquery#449 added a prerelease_deps session to noxfile.py (not run by default, because noxfile.py lists explicit default sessions That PR sets up a separate presubmit job to run that specific nox session.
  • Should we instead run such tests in nightly (continuous) builds?
Reacted by Tim Sweña (Swast)

Activity

  1. tswast commented on Aug 17, 2021

    @tswast
    tswast
    on Aug 17, 2021
    Contributor
    More actions

    I've filed googleapis/python-bigquery#882 to add a continuous build for BigQuery.

  2. busunkim96
    added
    type: processA process-related concern. May include testing, release, or the like.
    on Aug 18, 2021
  3. tswast commented on Nov 29, 2021

    @tswast
    tswast
    on Nov 29, 2021
    Contributor
    More actions

    Does --pre in the constraints file do what we want? I'd be more comfortable with that approach if we also had a line to log the version like we have in bigquery. e.g. session.run("python", "-c", "import grpc; print(grpc.__version__)")

    Also:

    • There are some packages like pandas and pyarrow which publish their pre-releases to a separate index. These need to be installed separately.
    • We usually specify a top bound to our dependencies, but pre-release versions might be outside those bounds. pip will happily install a non-prerelease version rather than the latest pre-release version to be within those bounds. (We worked around this by using --no-deps in the bigquery session.
  4. parthea commented on Jun 10, 2022

    @parthea
    parthea
    on Jun 10, 2022
    Contributor
    More actions

    Closing as duplicate of googleapis/synthtool#1290

  5. parthea
    closed this as completedon Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: processA process-related concern. May include testing, release, or the like.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.