Skip to content

Commit

Permalink
Drop support for Python 3.7
Browse files Browse the repository at this point in the history
Python 3.7 has reached end of life.
See https://devguide.python.org/versions/.
  • Loading branch information
lpsinger committed Jul 18, 2024
1 parent b78d991 commit 8cda2f3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ jobs:
with:
coverage: 'codecov'
envs: |
- linux: py37
- linux: py38
- linux: py39
- linux: py310
- linux: py311
- linux: py312
- macos: py37
- macos: py38
- macos: py39
- macos: py310
- macos: py311
- macos: py312
- windows: py37
- windows: py38
- windows: py39
- windows: py310
Expand Down
7 changes: 1 addition & 6 deletions gcn_kafka/core.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# SPDX-License-Identifier: CC0-1.0

from typing import Any, Mapping, Optional, Union
try:
from typing import Literal
except ImportError:
# FIXME: Remove once we drop support for Python 3.7.
from typing_extensions import Literal
from typing import Any, Literal, Mapping, Optional, Union
from uuid import uuid4

import certifi
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ dependencies = [
"certifi",
"confluent-kafka >= 2.2.0",
"requests",
"typing-extensions; python_version<='3.7'"
]
requires-python = ">=3.7"
requires-python = ">=3.8"
dynamic = [ "version" ]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311}
envlist = py{38,39,310,311}
isolated_build = True

[testenv]
Expand Down

0 comments on commit 8cda2f3

Please sign in to comment.