Skip to content

Commit

Permalink
Copybara import of the project:
Browse files Browse the repository at this point in the history
--
b2e2204 by nayaknishant <[email protected]>:

feat: adding Python 3.11 support

--
f7a5c45 by nayaknishant <[email protected]>:

feat: adding Python 3.11 support

--
0bc685d by nayaknishant <[email protected]>:

fix: removing Python 3.7 due to EOL

--
a59b5b3 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>:

🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

--
cc0fff9 by nayaknishant <[email protected]>:

revert Owlbot changes

--
2e67e69 by nayaknishant <[email protected]>:

adding spaces back docs/conf.py

--
35422c6 by nayaknishant <[email protected]>:

adding spaces back docs/conf.py

--
774bcb6 by nayaknishant <[email protected]>:

adding spaces back docs/conf.py

--
858a759 by nayaknishant <[email protected]>:

adding spaces back docs/conf.py

--
361e67c by nayaknishant <[email protected]>:

adding spaces back docs/conf.py

--
c1510f8 by nayaknishant <[email protected]>:

Removed a modified file from pull request

--
389f499 by nayaknishant <[email protected]>:

reverting --diff deletion

--
cf63416 by nayaknishant <[email protected]>:

system tests with Python 3.11

COPYBARA_INTEGRATE_REVIEW=#2537 from nayaknishant:nn-remove-37 cf63416
PiperOrigin-RevId: 561980044
  • Loading branch information
nayaknishant authored and copybara-github committed Sep 1, 2023
1 parent 0fb50c7 commit 2bd494b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions 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.7, 3.8, 3.9, 3.10 and 3.11 on both UNIX and Windows.
3.8, 3.9, 3.10 and 3.11 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 @@ -221,13 +221,11 @@ Supported Python Versions

We support:

- `Python 3.7`_
- `Python 3.8`_
- `Python 3.9`_
- `Python 3.10`_
- `Python 3.11`_

.. _Python 3.7: https://docs.python.org/3.7/
.. _Python 3.8: https://docs.python.org/3.8/
.. _Python 3.9: https://docs.python.org/3.9/
.. _Python 3.10: https://docs.python.org/3.10/
Expand All @@ -239,7 +237,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
.. _config: https://github.com/googleapis/python-aiplatform/blob/main/noxfile.py


We also explicitly decided to support Python 3 beginning with version 3.7.
We also explicitly decided to support Python 3 beginning with version 3.8.
Reasons for this include:

- Encouraging use of newest versions of Python 3
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

DEFAULT_PYTHON_VERSION = "3.8"

UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"]
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11"]
UNIT_TEST_STANDARD_DEPENDENCIES = [
"mock",
"asyncmock",
Expand Down
3 changes: 1 addition & 2 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
templated_files = common.py_library(
cov_level=98,
system_test_python_versions=["3.8"],
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11"],
unit_test_python_versions=["3.8", "3.9", "3.10", "3.11"],
unit_test_extras=["testing"],
system_test_extras=["testing"],
microgenerator=True,
Expand All @@ -110,7 +110,6 @@
".kokoro/presubmit/prerelease-deps.cfg",
# exclude sample configs so periodic samples are tested against main
# instead of pypi
".kokoro/samples/python3.7/periodic.cfg",
".kokoro/samples/python3.8/periodic.cfg",
".kokoro/samples/python3.9/periodic.cfg",
".kokoro/samples/python3.10/periodic.cfg",
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit 2bd494b

Please sign in to comment.