Skip to content

Commit 267efa6

Browse files
authored
Merge pull request #272 from GeoStat-Framework/add_py311
Add Python 3.11 and git-archive support
2 parents 7938ba6 + 8b8973b commit 267efa6

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

.git_archival.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node: $Format:%H$
2+
node-date: $Format:%cI$
3+
describe-name: $Format:%(describe:tags=true)$
4+
ref-names: $Format:%D$

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git_archival.txt export-subst

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
fetch-depth: '0'
2626

27-
- name: Set up Python 3.8
27+
- name: Set up Python 3.9
2828
uses: actions/setup-python@v2
2929
with:
30-
python-version: 3.8
30+
python-version: 3.9
3131

3232
- name: Install dependencies
3333
run: |
@@ -68,7 +68,7 @@ jobs:
6868
fetch-depth: '0'
6969

7070
- name: Build wheels
71-
uses: pypa/cibuildwheel@v2.8.1
71+
uses: pypa/cibuildwheel@v2.11.2
7272
env:
7373
CIBW_ARCHS: ${{ matrix.cfg.arch }}
7474
with:
@@ -85,7 +85,7 @@ jobs:
8585
fail-fast: false
8686
matrix:
8787
os: [ubuntu-latest, windows-latest, macos-latest]
88-
python-version: ['3.7', '3.8', '3.9', '3.10']
88+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
8989

9090
steps:
9191
- uses: actions/checkout@v2

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sphinx:
66
formats: all
77

88
python:
9-
version: 3.7
9+
version: 3.8
1010
install:
1111
- method: pip
1212
path: .

pyproject.toml

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[build-system]
22
requires = [
3-
"setuptools>=62",
4-
"wheel",
5-
"setuptools_scm[toml]>=6.4",
3+
"setuptools>=64",
4+
"setuptools_scm>=7",
65
"oldest-supported-numpy",
7-
"Cython>=0.28.3,<3.0",
8-
"extension-helpers",
6+
"Cython>=0.29.32,<3.0",
7+
"extension-helpers>=1",
98
]
109
build-backend = "setuptools.build_meta"
1110

@@ -16,9 +15,6 @@ description = "GSTools: A geostatistical toolbox."
1615
authors = [
1716
{name = "Sebastian Müller, Lennart Schüler", email = "[email protected]"},
1817
]
19-
maintainers = [
20-
{name = "Sebastian Müller, Lennart Schüler", email = "[email protected]"},
21-
]
2218
readme = "README.md"
2319
license = {text = "LGPL-3.0"}
2420
dynamic = ["version"]
@@ -40,6 +36,7 @@ classifiers = [
4036
"Programming Language :: Python :: 3.8",
4137
"Programming Language :: Python :: 3.9",
4238
"Programming Language :: Python :: 3.10",
39+
"Programming Language :: Python :: 3.11",
4340
"Topic :: Scientific/Engineering",
4441
"Topic :: Scientific/Engineering :: GIS",
4542
"Topic :: Scientific/Engineering :: Hydrology",
@@ -101,9 +98,11 @@ line_length = 79
10198
[tool.black]
10299
line-length = 79
103100
target-version = [
104-
"py36",
105101
"py37",
106102
"py38",
103+
"py39",
104+
"py310",
105+
"py311",
107106
]
108107

109108
[tool.coverage]
@@ -155,8 +154,8 @@ target-version = [
155154
[tool.cibuildwheel]
156155
# Switch to using build
157156
build-frontend = "build"
158-
# Disable building PyPy wheels on all platforms, 32bit for py3.10 and musllinux builds, py3.6
159-
skip = ["cp36-*", "pp*", "cp310-win32", "cp310-manylinux_i686", "*-musllinux_*"]
157+
# Disable building PyPy wheels on all platforms, 32bit for py3.10/11 and musllinux builds, py3.6
158+
skip = ["cp36-*", "pp*", "cp31*-win32", "cp31*-manylinux_i686", "*-musllinux_*"]
160159
# Run the package tests using `pytest`
161160
test-extras = "test"
162161
test-command = "pytest -v {package}/tests"

0 commit comments

Comments
 (0)