Skip to content

Commit 25f367c

Browse files
committed
Dropped support for Python 3.8
1 parent 14a330f commit 25f367c

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1414
sqlalchemy-version: ["1.4", "2.0"]
1515
runs-on: ubuntu-latest
1616
steps:

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Version history
22
===============
33

4+
**UNRELEASED**
5+
6+
- Dropped support for Python 3.7
7+
48
**3.0.0rc3**
59

610
- Added support for SQLAlchemy 2 (PR by rbuffat with help from mhauru)

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ classifiers = [
2121
"Topic :: Software Development :: Code Generators",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.7",
2524
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
2928
"Programming Language :: Python :: 3.12",
3029
]
31-
requires-python = ">=3.7"
30+
requires-python = ">=3.8"
3231
dependencies = [
3332
"SQLAlchemy >= 1.4.36",
3433
"inflect >= 4.0.0",
@@ -95,7 +94,7 @@ show_missing = true
9594
[tool.tox]
9695
legacy_tox_ini = """
9796
[tox]
98-
envlist = py37, py38, py39, py310, py311, py312
97+
envlist = py38, py39, py310, py311, py312
9998
skip_missing_interpreters = true
10099
isolated_build = true
101100

tests/test_cli.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import sqlite3
44
import subprocess
55
import sys
6+
from importlib.metadata import version
67
from pathlib import Path
78

89
import pytest
@@ -11,11 +12,6 @@
1112

1213
from .conftest import requires_sqlalchemy_1_4
1314

14-
if sys.version_info < (3, 8):
15-
from importlib_metadata import version
16-
else:
17-
from importlib.metadata import version
18-
1915
future_imports = "from __future__ import annotations\n\n"
2016

2117
if _sqla_version < (1, 4):

0 commit comments

Comments
 (0)