Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

deps: declare support for Python 3.9#488

Merged
gcf-merge-on-green[bot] merged 6 commits into
googleapis:mastergoogleapis/python-bigquery:masterfrom
plamut:support-py-3.9plamut/python-bigquery:support-py-3.9Copy head branch name to clipboard
Jan 27, 2021
Merged

deps: declare support for Python 3.9#488
gcf-merge-on-green[bot] merged 6 commits into
googleapis:mastergoogleapis/python-bigquery:masterfrom
plamut:support-py-3.9plamut/python-bigquery:support-py-3.9Copy head branch name to clipboard

Conversation

@plamut

@plamut plamut commented Jan 27, 2021

Copy link
Copy Markdown
Contributor

Towards #462.

With wheels for pyarrow==3.0.0 released we can now officially support Python 3.9 - well, at least after when we add Python 3.9 checks to Kokoro.

PR checklist:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@plamut plamut added the type: process A process-related concern. May include testing, release, or the like. label Jan 27, 2021
@plamut plamut requested review from a team and shollyman and removed request for a team January 27, 2021 16:49
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Jan 27, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 27, 2021
@plamut plamut requested a review from tswast January 27, 2021 16:54
@plamut

plamut commented Jan 27, 2021

Copy link
Copy Markdown
Contributor Author

Oh, we need to bump the version in samples/, too.
Nah, only after we release BQ with Py3.9 support.

@plamut

plamut commented Jan 27, 2021

Copy link
Copy Markdown
Contributor Author

FWIW, I successfully ran unit and system test with Python 3.9 locally (Ubuntu).

Comment thread setup.py Outdated
"pandas>=0.23.0",
# pyarrow 1.0.0 is required for the use of timestamp_as_object keyword.
"pyarrow >= 1.0.0, < 3.0dev",
"pyarrow >= 3.0.0, < 4.0dev",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

Comment thread setup.py Outdated
# https://github.com/grpc/grpc/pull/15254
"grpcio >= 1.32.0, < 2.0dev",
"pyarrow >= 1.0.0, < 3.0dev",
"pyarrow >= 3.0.0, < 4.0dev",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this at 1.0 as a minimum? Or were there breaking changes we needed to account for?

Since pyarrow is a core library, the wider we can keep these dependencies, the fewer conflicts we'll get.

@tswast tswast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming Python 3.6 tests pass with pyarrow==1.0.0

@tswast

tswast commented Jan 27, 2021

Copy link
Copy Markdown
Contributor

I pushed a commit that adds some variables for python versions to the noxfile. This is to align more closely with the central "synthtool" template.

Also, I remembered that we'll probably need pyarrow>=3.0 for #447, but I'd still like to avoid that requirement if at all possible, since BIGNUMERIC is less commonly used than is pyarrow 1&2 right now.

@tswast tswast added the automerge Merge the pull request once unit tests and other checks pass. label Jan 27, 2021
@tswast tswast changed the title process: declare support for Python 3.9 deps: declare support for Python 3.9 Jan 27, 2021
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 55daa7d into googleapis:master Jan 27, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 27, 2021
@plamut plamut deleted the support-py-3.9 branch January 28, 2021 08:02
@tswast tswast mentioned this pull request Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement. type: process A process-related concern. May include testing, release, or the like.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.