Skip to content

Commit 93893c9

Browse files
behdadclaude
andcommitted
Drop Python 3.7 support
Update minimum Python version to 3.8: - pyproject.toml: requires-python >= 3.8 - GitHub Actions: test on 3.8-3.12 - Black target-version updated - MyPy python_version updated Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d8b7a30 commit 93893c9

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
1919
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "packtab"
77
version = "0.4.0"
88
description = "Unicode (and other integer) table packer"
99
readme = "README.md"
10-
requires-python = ">=3.7"
10+
requires-python = ">=3.8"
1111
license = {text = "Apache Software License 2.0"}
1212
authors = [
1313
{name = "Behdad Esfahbod", email = "behdad@behdad.org"}
@@ -17,7 +17,6 @@ classifiers = [
1717
"Intended Audience :: Developers",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.7",
2120
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
@@ -48,7 +47,7 @@ include = ["packTab*"]
4847

4948
[tool.black]
5049
line-length = 88
51-
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
50+
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
5251
include = '\.pyi?$'
5352
extend-exclude = '''
5453
/(
@@ -65,7 +64,7 @@ extend-exclude = '''
6564
'''
6665

6766
[tool.mypy]
68-
python_version = "3.7"
67+
python_version = "3.8"
6968
warn_return_any = true
7069
warn_unused_configs = true
7170
disallow_untyped_defs = false

0 commit comments

Comments
 (0)