Skip to content

Commit 7a69a13

Browse files
committed
enable py314; minor build sys fixes
1 parent 9afdb5a commit 7a69a13

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
- { py: "3.11", np: "==1.23.2", sp: "==1.9.2" }
9090
- { py: "3.12", np: "==1.26.2", sp: "==1.11.2" }
9191
- { py: "3.13", np: "==2.1.0", sp: "==1.14.1" }
92-
# - { py: "3.14", np: "==2.3.2", sp: "==1.16.1" }
93-
# - { py: "3.14", np: ">=2.3.2", sp: ">=1.16.1" }
92+
- { py: "3.14", np: "==2.3.2", sp: "==1.16.1" }
93+
- { py: "3.14", np: ">=2.3.2", sp: ">=1.16.1" }
9494
exclude:
9595
- os: ubuntu-24.04-arm
9696
ver: { py: "3.8", np: "==1.20.0", sp: "==1.5.4" }

pyproject.toml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools>=64",
3+
"setuptools>=77",
44
"wheel",
55
"Cython>=3",
66
"numpy>=2",
@@ -15,7 +15,8 @@ requires-python = ">=3.9"
1515
name = "anaflow"
1616
authors = [{name = "Sebastian Mueller", email = "[email protected]"}]
1717
readme = "README.md"
18-
license = { text = "MIT License" }
18+
license = "MIT"
19+
license-files = ["LICENSE"]
1920
dynamic = ["version"]
2021
description = "AnaFlow - analytical solutions for the groundwater-flow equation."
2122
classifiers = [
@@ -38,6 +39,7 @@ classifiers = [
3839
"Programming Language :: Python :: 3.11",
3940
"Programming Language :: Python :: 3.12",
4041
"Programming Language :: Python :: 3.13",
42+
"Programming Language :: Python :: 3.14",
4143
"Topic :: Scientific/Engineering",
4244
"Topic :: Software Development",
4345
"Topic :: Utilities",
@@ -73,26 +75,18 @@ Tracker = "https://github.com/GeoStat-Framework/anaflow/issues"
7375
Changelog = "https://github.com/GeoStat-Framework/anaflow/blob/main/CHANGELOG.md"
7476
Conda-Forge = "https://anaconda.org/conda-forge/anaflow"
7577

76-
[tool.setuptools]
77-
package-dir = {"" = "src"}
78-
79-
[tool.setuptools.packages.find]
80-
where = ["src"]
81-
82-
[tool.setuptools.package-data]
83-
"anaflow.flow" = ["*.pyx", "*.pxd"]
84-
8578
[tool.setuptools_scm]
8679
write_to = "src/anaflow/_version.py"
8780
write_to_template = "__version__ = '{version}'"
81+
local_scheme = "no-local-version"
82+
fallback_version = "0.0.0.dev0"
8883

8984
[tool.isort]
9085
profile = "black"
9186
multi_line_output = 3
9287

9388
[tool.black]
9489
target-version = [
95-
"py38",
9690
"py39",
9791
"py310",
9892
"py311",
@@ -134,7 +128,7 @@ select = [
134128
# Switch to using build
135129
build-frontend = "build"
136130
# Disable building py3.6/7/8, pp3.8, 32bit linux
137-
skip = ["cp314*", "*-win32", "*_i686", "*-musllinux_*", "cp31?t-*"]
131+
skip = ["*-win32", "*_i686", "*-musllinux_*", "cp31?t-*"]
138132
# Run the package tests using `pytest`
139133
test-extras = "test"
140134
test-command = "pytest -v {package}/tests"

0 commit comments

Comments
 (0)