Skip to content

Commit 8e82b3c

Browse files
committed
python: drop py37 and add 312
1 parent 7d8d681 commit 8e82b3c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
fetch-depth: '0'
7272

7373
- name: Build wheels
74-
uses: pypa/cibuildwheel@v2.11.2
74+
uses: pypa/cibuildwheel@v2.16.2
7575
env:
7676
CIBW_ARCHS: ${{ matrix.cfg.arch }}
7777
with:
@@ -88,7 +88,7 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
os: [ubuntu-latest, windows-latest, macos-latest]
91-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
91+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
9292

9393
steps:
9494
- uses: actions/checkout@v2

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requires = [
99
build-backend = "setuptools.build_meta"
1010

1111
[project]
12-
requires-python = ">=3.7"
12+
requires-python = ">=3.8"
1313
name = "gstools"
1414
description = "GSTools: A geostatistical toolbox."
1515
authors = [
@@ -32,11 +32,11 @@ classifiers = [
3232
"Programming Language :: Python",
3333
"Programming Language :: Python :: 3",
3434
"Programming Language :: Python :: 3 :: Only",
35-
"Programming Language :: Python :: 3.7",
3635
"Programming Language :: Python :: 3.8",
3736
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
4040
"Topic :: Scientific/Engineering",
4141
"Topic :: Scientific/Engineering :: GIS",
4242
"Topic :: Scientific/Engineering :: Hydrology",
@@ -104,11 +104,11 @@ line_length = 79
104104
[tool.black]
105105
line-length = 79
106106
target-version = [
107-
"py37",
108107
"py38",
109108
"py39",
110109
"py310",
111110
"py311",
111+
"py312",
112112
]
113113

114114
[tool.coverage]
@@ -160,8 +160,8 @@ target-version = [
160160
[tool.cibuildwheel]
161161
# Switch to using build
162162
build-frontend = "build"
163-
# Disable building PyPy wheels on all platforms, 32bit for py3.10/11 and musllinux builds, py3.6
164-
skip = ["cp36-*", "pp*", "cp31*-win32", "cp31*-manylinux_i686", "*-musllinux_*"]
163+
# Disable building PyPy wheels on all platforms, 32bit for py3.10/11/12, musllinux builds, py3.6/7
164+
skip = ["cp36-*", "cp37-*", "pp*", "cp31*-win32", "cp31*-manylinux_i686", "*-musllinux_*"]
165165
# Run the package tests using `pytest`
166166
test-extras = "test"
167167
test-command = "pytest -v {package}/tests"

0 commit comments

Comments
 (0)