Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ branchProtectionRules:
- 'Samples - Python 3.11'
- 'Samples - Python 3.12'
- 'Samples - Python 3.13'
- 'Samples - Python 3.14'
- pattern: v2
requiresLinearHistory: true
requiresCodeOwnerReviews: true
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
name: unittest
jobs:
unit:
# Use `ubuntu-latest` runner.
# Use `ubuntu-22.04` runner.
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.9', '3.11', '3.12', '3.13']
python: ['3.9', '3.11', '3.12', '3.13', '3.14']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -22,6 +22,12 @@ jobs:
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run unit tests

# TODO 3.14 is not yet supported by pyarrow. See

Choose a reason for hiding this comment

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

Could you file an issue to track this, and mention it in the TODO. Something like:
TODO(http://....): Re-enable tests on Python 3.14 once....

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Github issues automatically become buganizer issues for this repo. There is no need for me to file an issue.
I will add the buganizer number, per request.

# https://github.com/googleapis/google-cloud-python/issues/14686
# https://github.com/apache/arrow/issues/47438
# Reinstate running tests with 3.14 once this bug is fixed
if: matrix.python != '3.14'
env:
COVERAGE_FILE: .coverage-${{ matrix.python }}
run: |
Expand All @@ -38,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.9', '3.13']
python: ['3.9', '3.14']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In order to add a feature:
documentation.

- The feature must work fully on the following CPython versions:
3.9, 3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows.
3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.

- The feature must not add unnecessary dependencies (where
"unnecessary" is of course subjective, but new dependencies should
Expand Down Expand Up @@ -226,12 +226,14 @@ We support:
- `Python 3.11`_
- `Python 3.12`_
- `Python 3.13`_
- `Python 3.14`_

.. _Python 3.9: https://docs.python.org/3.9/
.. _Python 3.10: https://docs.python.org/3.10/
.. _Python 3.11: https://docs.python.org/3.11/
.. _Python 3.12: https://docs.python.org/3.12/
.. _Python 3.13: https://docs.python.org/3.13/
.. _Python 3.14: https://docs.python.org/3.14/


Supported versions can be found in our ``noxfile.py`` `config`_.
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

DEFAULT_PYTHON_VERSION = "3.9"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.11", "3.12", "3.13"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.11", "3.12", "3.13"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.11", "3.12", "3.13", "3.14"]

Choose a reason for hiding this comment

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

Why is 3.10 missing (even before this PR)? Either we test on all supported versions, or we sample fewer (like the lowest and highest), don't you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated.

CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()


Expand Down
2 changes: 1 addition & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"pandas": "https://pandas.pydata.org/pandas-docs/stable/",
},
system_test_python_versions=["3.9", "3.13"],
unit_test_python_versions=["3.9", "3.10", "3.11", "3.12", "3.13"],
unit_test_python_versions=["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
default_python_version="3.9",
)

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Internet",
]
Expand Down Expand Up @@ -69,13 +70,15 @@ bqstorage = [
# https://github.com/grpc/grpc/pull/15254
"grpcio >= 1.47.0, < 2.0.0",
"grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"pyarrow >= 4.0.0",
]
pandas = [
"pandas >= 1.3.0",
"pandas-gbq >= 0.26.1",
"grpcio >= 1.47.0, < 2.0.0",
"grpcio >= 1.49.1, < 2.0.0; python_version >= '3.11'",
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
"pyarrow >= 3.0.0",
"db-dtypes >= 1.0.4, < 2.0.0",
]
Expand Down
2 changes: 2 additions & 0 deletions testing/constraints-3.14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Constraints for Python 3.14
grpcio >= 1.75.1
Loading