Skip to content

Commit d20e138

Browse files
committed
Drop end-of-life Python 3.7.
1 parent a7923ed commit d20e138

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ jobs:
105105
strategy:
106106
matrix:
107107
os: ["ubuntu-latest", "windows-latest"]
108-
python-version: ["3.7", "3.8", "3.9", "pypy-3.7"]
108+
python-version: ["3.8", "3.9", "pypy-3.8"]
109109
architecture: ["x64"]
110110
include:
111111
- os: "windows-latest"
112-
python-version: "3.7"
112+
python-version: "3.8"
113113
architecture: "x86"
114114
- os: "windows-latest"
115-
python-version: "pypy-3.7"
115+
python-version: "pypy-3.8"
116116
architecture: "x86"
117117
fail-fast: false
118118

@@ -224,7 +224,7 @@ jobs:
224224
strategy:
225225
matrix:
226226
arch: ["x86_64", "aarch64"]
227-
build: ["cp37-manylinux*", "pp37-manylinux*"]
227+
build: ["cp38-manylinux*", "pp38-manylinux*"]
228228
steps:
229229
- uses: actions/checkout@v3
230230
with:
@@ -273,7 +273,7 @@ jobs:
273273
strategy:
274274
fail-fast: true
275275
matrix:
276-
python: ["cp38-*_universal2", "cp38-*_x86_64", "cp38-*_arm64", "pp37-*"]
276+
python: ["cp38-*_universal2", "cp38-*_x86_64", "cp38-*_arm64", "pp38-*"]
277277
steps:
278278
- uses: actions/checkout@v3
279279
with:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](https://semver.org/) since version
77
### Changed
88
- Added an empty `__slots__` to `EventDispatch`.
99

10+
### Removed
11+
- Dropped support for Python 3.7.
12+
1013
## [16.1.0] - 2023-06-23
1114
### Added
1215
- Added the enums `tcod.event.MouseButton` and `tcod.event.MouseButtonMask`.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For the most part it's just::
4646
==============
4747
Requirements
4848
==============
49-
* Python 3.7+
49+
* Python 3.8+
5050
* Windows, Linux, or MacOS X 10.9+.
5151
* On Linux, requires libsdl2 (2.0.10+).
5252

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dynamic = ["version"]
1818
description = "The official Python port of libtcod."
1919
authors = [{ name = "Kyle Benesch", email = "4b796c65+tcod@gmail.com" }]
2020
readme = "README.rst"
21-
requires-python = ">=3.7"
21+
requires-python = ">=3.8"
2222
license = { text = "Simplified BSD License" }
2323
dependencies = [
2424
"cffi>=1.15",
@@ -45,7 +45,6 @@ classifiers = [
4545
"Operating System :: MacOS :: MacOS X",
4646
"Operating System :: Microsoft :: Windows",
4747
"Programming Language :: Python :: 3",
48-
"Programming Language :: Python :: 3.7",
4948
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
5150
"Programming Language :: Python :: 3.10",
@@ -70,18 +69,18 @@ Tracker = "https://github.com/libtcod/python-tcod/issues"
7069
Forum = "https://github.com/libtcod/python-tcod/discussions"
7170

7271
[tool.distutils.bdist_wheel]
73-
py-limited-api = "cp37"
72+
py-limited-api = "cp38"
7473

7574
[tool.setuptools_scm]
7675
write_to = "tcod/version.py"
7776

7877
[tool.black]
7978
line-length = 120
80-
target-version = ["py37"]
79+
target-version = ["py38"]
8180

8281
[tool.isort]
8382
profile = "black"
84-
py_version = "37"
83+
py_version = "38"
8584
skip_gitignore = true
8685
line_length = 120
8786

0 commit comments

Comments
 (0)