Skip to content

Commit

Permalink
feat: drop support for Python 3.8
Browse files Browse the repository at this point in the history
Python 3.8 EOL was October 7, 2024: https://endoflife.date/python
  • Loading branch information
rhatgadkar-goog committed Oct 30, 2024
1 parent b620c87 commit c9f3343
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.8", "3.12"]
python-version: ["3.9", "3.12"]
fail-fast: false
steps:
- name: Checkout code
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
(github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
strategy:
matrix:
python-version: ["3.8", "3.12"]
python-version: ["3.9", "3.12"]
fail-fast: false
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.9
warn_unused_configs = True
namespace_packages = True

Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
ISORT_VERSION = "isort==5.13.2"
LINT_PATHS = ["google", "tests", "noxfile.py", "setup.py"]

SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"]
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12"]
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]


@nox.session
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -79,7 +78,7 @@
"pg8000": ["pg8000>=1.31.1"],
"asyncpg": ["asyncpg>=0.29.0"],
},
python_requires=">=3.8",
python_requires=">=3.9",
include_package_data=True,
zip_safe=False,
package_data={"google.cloud.alloydb.connector": ["py.typed"]},
Expand Down

0 comments on commit c9f3343

Please sign in to comment.