Skip to content

Commit 3fc822b

Browse files
committed
chore: specify python support in pyproject.toml, update ci
* ci test with python 3.8-3.12 * drop 3.7 since it's EOL
1 parent ee0cf1b commit 3fc822b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest]
42-
python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
42+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4343

4444
steps:
4545
- name: Checkout code

pyproject.toml

+14
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ requires = [
77
]
88
build-backend = "setuptools.build_meta"
99

10+
[project]
11+
name = "fprettify"
12+
description = "auto-formatter for modern fortran source code"
13+
license = {file = "LICENSE"}
14+
classifiers = [
15+
"Programming Language :: Python :: 3 :: Only",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
]
22+
requires-python = ">=3.8"
23+
1024
[tool.setuptools_scm]
1125
write_to = "fprettify/_version.py"
1226

0 commit comments

Comments
 (0)