Skip to content

Commit 56dd9df

Browse files
committed
Drop Python 3.8, depend on scipy>=1.6.0, test with Python 3.13
1 parent e02baad commit 56dd9df

File tree

2 files changed

+15
-20
lines changed

2 files changed

+15
-20
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ jobs:
7676
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
7777
# https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
7878
ver:
79-
- {py: '3.8', np: '==1.20.0', sp: '==1.5.4'}
80-
- {py: '3.9', np: '==1.20.0', sp: '==1.5.4'}
79+
- {py: '3.9', np: '==1.20.0', sp: '==1.6.3'}
8180
- {py: '3.10', np: '==1.21.6', sp: '==1.7.2'}
8281
- {py: '3.11', np: '==1.23.2', sp: '==1.9.2'}
8382
- {py: '3.12', np: '==1.26.2', sp: '==1.11.2'}
84-
- {py: '3.12', np: '>=2.0.0rc1', sp: '>=1.13.0'}
83+
- {py: '3.12', np: '>=2.0.0', sp: '>=1.13.0'}
84+
- {py: '3.13', np: '>=2.1.0', sp: '>=1.14.1'}
8585
exclude:
8686
- os: macos-14
87-
ver: {py: '3.8', np: '==1.20.0', sp: '==1.5.4'}
88-
- os: macos-14
89-
ver: {py: '3.9', np: '==1.20.0', sp: '==1.5.4'}
87+
ver: {py: '3.9', np: '==1.20.0', sp: '==1.6.3'}
9088
- os: macos-14
9189
ver: {py: '3.10', np: '==1.21.6', sp: '==1.7.2'}
9290
steps:

pyproject.toml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
requires = [
33
"setuptools>=64",
44
"setuptools_scm>=7",
5-
"numpy>=2.0.0rc1,<2.3; python_version >= '3.9'",
6-
"scipy>=1.13.0,<2; python_version >= '3.9'",
7-
"oldest-supported-numpy; python_version < '3.9'",
8-
"scipy>=1.3.2,<2; python_version < '3.9'",
5+
"numpy>=2.0.0,<2.3",
6+
"scipy>=1.13.0,<2",
97
"Cython>=3.0.10,<3.1.0",
108
]
119
build-backend = "setuptools.build_meta"
1210

1311
[project]
14-
requires-python = ">=3.8"
12+
requires-python = ">=3.9"
1513
name = "PyKrige"
1614
description = "Kriging Toolkit for Python."
1715
authors = [
@@ -36,11 +34,11 @@ classifiers = [
3634
"Programming Language :: Python",
3735
"Programming Language :: Python :: 3",
3836
"Programming Language :: Python :: 3 :: Only",
39-
"Programming Language :: Python :: 3.8",
4037
"Programming Language :: Python :: 3.9",
4138
"Programming Language :: Python :: 3.10",
4239
"Programming Language :: Python :: 3.11",
4340
"Programming Language :: Python :: 3.12",
41+
"Programming Language :: Python :: 3.13",
4442
"Topic :: Scientific/Engineering",
4543
"Topic :: Scientific/Engineering :: GIS",
4644
"Topic :: Scientific/Engineering :: Mathematics",
@@ -49,22 +47,22 @@ classifiers = [
4947
]
5048
dependencies = [
5149
"numpy>=1.20.0",
52-
"scipy>=1.1.0,<2",
50+
"scipy>=1.6.0,<2",
5351
]
5452

5553
[project.optional-dependencies]
5654
doc = [
5755
"gstools>=1.4,<2",
5856
"pillow",
59-
"scikit-learn>=0.19",
57+
"scikit-learn>=0.24",
6058
"m2r2>=0.2.8",
61-
"matplotlib>=3",
62-
"numpydoc>=1.1",
59+
"matplotlib>=3.4.0",
60+
"numpydoc>=1.2",
6361
"sphinx>=7",
6462
"sphinx-gallery>=0.8",
6563
"sphinx-rtd-theme>=2",
6664
]
67-
plot = ["matplotlib>=3,<4"]
65+
plot = ["matplotlib>=3.4.0,<4"]
6866
sklearn = ["scikit-learn>=0.19"]
6967
test = [
7068
"pytest-cov>=3",
@@ -101,7 +99,6 @@ multi_line_output = 3
10199

102100
[tool.black]
103101
target-version = [
104-
"py38",
105102
"py39",
106103
"py310",
107104
"py311",
@@ -155,8 +152,8 @@ max-line-length = 100
155152
[tool.cibuildwheel]
156153
# Switch to using build
157154
build-frontend = "build"
158-
# Disable building PyPy wheels on all platforms, 32bit and musllinux builds, py3.6/7
159-
skip = ["cp36-*", "cp37-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
155+
# Disable building PyPy wheels on all platforms, 32bit and musllinux builds, py3.6/7/8
156+
skip = ["cp36-*", "cp37-*", "cp38-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
160157
# Run the package tests using `pytest`
161158
test-extras = "test"
162159
test-command = "pytest -v {package}/tests"

0 commit comments

Comments
 (0)