Skip to content

Commit f0a0c16

Browse files
authored
Bump minimum numpy and Python versions (#622)
* Bump minimum numpy and Python versions * Fix issue numbere * Bump build system numpy requirement * Pin pcodec * Fix pcodec install
1 parent b891104 commit f0a0c16

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12", "3.13"]
15+
python-version: ["3.11", "3.12", "3.13"]
1616
# macos-12 is an intel runner, macos-14 is a arm64 runner
1717
platform: [ubuntu-latest, windows-latest, macos-12, macos-14]
1818

@@ -68,12 +68,12 @@ jobs:
6868
shell: "bash -l {0}"
6969
run: |
7070
conda activate env
71-
python -m pip install -v pcodec
71+
python -m pip install -v ".[pcodec]"
7272
7373
7474
# This is used to test with zfpy, which does not yet support numpy 2.0
7575
- name: Install older numpy and zfpy
76-
if: matrix.python-version == '3.10'
76+
if: matrix.python-version == '3.11'
7777
shell: "bash -l {0}"
7878
run: |
7979
conda activate env

.github/workflows/wheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
os: [ubuntu-latest, windows-latest, macos-12, macos-14]
1818
env:
1919
CIBW_TEST_COMMAND: python -c "import numcodecs"
20-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
20+
CIBW_BUILD: "cp311-* cp312-* cp313-*"
2121
CIBW_SKIP: "pp* *-musllinux_* *win32 *_i686 *_s390x"
2222
# note: CIBW_ENVIRONMENT is now set in pyproject.toml
2323

@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/setup-python@v5
4545
name: Install Python
4646
with:
47-
python-version: "3.10"
47+
python-version: "3.11"
4848

4949
- name: Build sdist
5050
run: pipx run build --sdist

docs/release.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ Enhancements
2525
* Add Crc32c checksum codec
2626
By :user:`Norman Rzepka <normanrz>`, :issue:`613`.
2727

28+
Maintenance
29+
~~~~~~~~~~~
30+
* The minimum supported Python version is now Python 3.11.
31+
By :user:`David Stansby <dstansby>`, :issue:`622`
32+
* The minimum supported numpy version is now 1.24.
33+
By :user:`David Stansby <dstansby>`, :issue:`622`
34+
2835
.. _release_0.13.1:
2936

3037
0.13.1

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = [
44
"setuptools-scm[toml]>=6.2",
55
"Cython",
66
"py-cpuinfo",
7-
"numpy",
7+
"numpy>2",
88
]
99
build-backend = "setuptools.build_meta"
1010

@@ -15,9 +15,9 @@ A Python package providing buffer compression and transformation codecs \
1515
for use in data storage and communication applications."""
1616
readme = "README.rst"
1717
dependencies = [
18-
"numpy>=1.7",
18+
"numpy>=1.23",
1919
]
20-
requires-python = ">=3.10"
20+
requires-python = ">=3.11"
2121
dynamic = [
2222
"version",
2323
]
@@ -68,7 +68,7 @@ zfpy = [
6868
"numpy<2.0.0",
6969
]
7070
pcodec = [
71-
"pcodec>=0.2.0",
71+
"pcodec>=0.2,<0.3",
7272
]
7373
crc32c = [
7474
"crc32c>=2.7",

0 commit comments

Comments
 (0)