Skip to content

Commit 87cd129

Browse files
authored
Merge pull request #87 from astrofrog/bump-minimum-python-39
Bump minimum required Python to 3.9
2 parents 1cb7287 + 2a9220e commit 87cd129

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: |
1717
linux: ubuntu-22.04
1818
envs: |
19-
- linux: py38-test-numpy118
2019
- linux: py39-test-numpy119
2120
- linux: py39-test-numpy120
2221
- linux: py39-test-numpy121
@@ -28,7 +27,6 @@ jobs:
2827
- linux: py311-test-numpy20
2928
- linux: py312-test-numpydev
3029
31-
- macos: py38-test-numpy118
3230
- macos: py39-test-numpy119
3331
- macos: py39-test-numpy120
3432
- macos: py39-test-numpy121
@@ -39,7 +37,6 @@ jobs:
3937
- macos: py311-test-numpy126
4038
- macos: py311-test-numpy20
4139
42-
- windows: py38-test-numpy118
4340
- windows: py39-test-numpy119
4441
- windows: py39-test-numpy120
4542
- windows: py39-test-numpy121

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
rev: v3.15.2
2222
hooks:
2323
- id: pyupgrade
24-
args: ["--py38-plus"]
24+
args: ["--py39-plus"]
2525

2626
- repo: https://github.com/psf/black
2727
rev: 24.4.0

fast_histogram/_histogram_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
2-
#define Py_LIMITED_API 0x030800f0
2+
#define Py_LIMITED_API 0x030900f0
33

44
#include <Python.h>
55
#include <numpy/arrayobject.h>

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[build-system]
22
requires = ["setuptools",
33
"setuptools_scm",
4-
"oldest-supported-numpy;python_version<'3.9'",
5-
"numpy>=2.0.0rc1;python_version>='3.9'"]
4+
"numpy>=2.0.0rc1"]
65
build-backend = 'setuptools.build_meta'
76

87
[tool.cibuildwheel.linux]

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ zip_safe = False
1212
packages = find:
1313
install_requires =
1414
numpy
15-
python_requires = >=3.8
15+
python_requires = >=3.9
1616

1717
[options.extras_require]
1818
test =
1919
pytest
2020
hypothesis[numpy]
2121

2222
[bdist_wheel]
23-
py_limited_api = cp38
23+
py_limited_api = cp39

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312}-test{-numpy118,-numpy119,-numpy120,-numpy121,-numpy122,-numpy123,-numpy124,-numpy125,-numpy126,-numpy20,-numpydev}
3+
py{39,310,311,312}-test{-numpy118,-numpy119,-numpy120,-numpy121,-numpy122,-numpy123,-numpy124,-numpy125,-numpy126,-numpy20,-numpydev}
44
requires =
55
setuptools >= 30.3.0
66
pip >= 19.3.1

0 commit comments

Comments
 (0)