diff --git a/packages/google-cloud-runtimeconfig/CONTRIBUTING.rst b/packages/google-cloud-runtimeconfig/CONTRIBUTING.rst index 47f8f62f6999..a971f5b5ffb4 100644 --- a/packages/google-cloud-runtimeconfig/CONTRIBUTING.rst +++ b/packages/google-cloud-runtimeconfig/CONTRIBUTING.rst @@ -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, 3.13 and 3.14 on both UNIX and Windows. + 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 @@ -197,14 +197,12 @@ Supported Python Versions We support: -- `Python 3.9`_ - `Python 3.10`_ - `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/ diff --git a/packages/google-cloud-runtimeconfig/README.rst b/packages/google-cloud-runtimeconfig/README.rst index 46a224c8fab0..121a199cb014 100644 --- a/packages/google-cloud-runtimeconfig/README.rst +++ b/packages/google-cloud-runtimeconfig/README.rst @@ -53,14 +53,14 @@ Supported Python Versions Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of Python. -Python >= 3.9 +Python >= 3.10 .. _active: https://devguide.python.org/devcycle/#in-development-main-branch .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Python <= 3.8 +Python <= 3.9 If you are using an `end-of-life`_ version of Python, we recommend that you update as soon as possible to an actively supported version. diff --git a/packages/google-cloud-runtimeconfig/noxfile.py b/packages/google-cloud-runtimeconfig/noxfile.py index 9ae3a68fedc3..903565283d7d 100644 --- a/packages/google-cloud-runtimeconfig/noxfile.py +++ b/packages/google-cloud-runtimeconfig/noxfile.py @@ -35,7 +35,6 @@ DEFAULT_PYTHON_VERSION = "3.14" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ - "3.9", "3.10", "3.11", "3.12", diff --git a/packages/google-cloud-runtimeconfig/pytest.ini b/packages/google-cloud-runtimeconfig/pytest.ini index e08b59e085a6..4fa3b0a75604 100644 --- a/packages/google-cloud-runtimeconfig/pytest.ini +++ b/packages/google-cloud-runtimeconfig/pytest.ini @@ -6,8 +6,4 @@ filterwarnings = ignore:.*pkg_resources.declare_namespace:DeprecationWarning ignore:.*pkg_resources is deprecated as an API:DeprecationWarning # Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed - ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning - # Remove after support for Python 3.7 is dropped - ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning - ignore:.*Please upgrade to the latest Python version.*:FutureWarning - ignore:(?s).*using a Python version.*past its end of life.*:FutureWarning \ No newline at end of file + ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning \ No newline at end of file diff --git a/packages/google-cloud-runtimeconfig/setup.py b/packages/google-cloud-runtimeconfig/setup.py index 988bf437ec7e..de08b9bf5178 100644 --- a/packages/google-cloud-runtimeconfig/setup.py +++ b/packages/google-cloud-runtimeconfig/setup.py @@ -74,7 +74,6 @@ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -87,7 +86,7 @@ packages=packages, install_requires=dependencies, extras_require=extras, - python_requires=">=3.9", + python_requires=">=3.10", include_package_data=True, zip_safe=False, ) diff --git a/packages/google-cloud-runtimeconfig/testing/constraints-3.10.txt b/packages/google-cloud-runtimeconfig/testing/constraints-3.10.txt index e69de29bb2d1..327aaf29bca7 100644 --- a/packages/google-cloud-runtimeconfig/testing/constraints-3.10.txt +++ b/packages/google-cloud-runtimeconfig/testing/constraints-3.10.txt @@ -0,0 +1,8 @@ +# This constraints file is used to check that lower bounds +# are correct in setup.py +# List *all* library dependencies and extras in this file. +# Pin the version to the lower bound. +# +# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", +# Then this file should have foo==1.14.0 +google-cloud-core==1.4.4 diff --git a/packages/google-cloud-runtimeconfig/testing/constraints-3.9.txt b/packages/google-cloud-runtimeconfig/testing/constraints-3.9.txt deleted file mode 100644 index 327aaf29bca7..000000000000 --- a/packages/google-cloud-runtimeconfig/testing/constraints-3.9.txt +++ /dev/null @@ -1,8 +0,0 @@ -# This constraints file is used to check that lower bounds -# are correct in setup.py -# List *all* library dependencies and extras in this file. -# Pin the version to the lower bound. -# -# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", -# Then this file should have foo==1.14.0 -google-cloud-core==1.4.4