Skip to content

Commit 6f93bc7

Browse files
committed
Support Numpy Version 2
This adds support for Python 2 to the project. I also updated to remove the end of life 3.8 and added 3.12 and 3.13 while I was in the project.
1 parent bcfcb8e commit 6f93bc7

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build Windows and MacOS Package
88
strategy:
99
matrix:
10-
python: ['3.8', '3.9', '3.10', '3.11']
10+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1111
os: [windows-latest, macos-latest]
1212
runs-on: ${{ matrix.os }}
1313
steps:
@@ -40,7 +40,7 @@ jobs:
4040
name: Build Linux Package
4141
strategy:
4242
matrix:
43-
python: ['3.8', '3.9', '3.10', '3.11']
43+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Checkout Code

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pytest
2-
numpy
2+
numpy>=1.26.0
33
opencv-python-headless
44
wheel
5-
cython
5+
cython

setup.cfg

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ classifiers =
1515
Development Status :: 5 - Production/Stable
1616
Programming Language :: Python :: 3
1717
Programming Language :: Python :: 3 :: Only
18-
Programming Language :: Python :: 3.4
19-
Programming Language :: Python :: 3.5
20-
Programming Language :: Python :: 3.6
21-
Programming Language :: Python :: 3.7
18+
Programming Language :: Python :: 3.9
19+
Programming Language :: Python :: 3.10
20+
Programming Language :: Python :: 3.11
21+
Programming Language :: Python :: 3.12
22+
Programming Language :: Python :: 3.13
2223
Operating System :: POSIX :: Linux
2324
Operating System :: Unix
2425
Operating System :: MacOS
@@ -29,7 +30,7 @@ packages = find:
2930
include_package_data = True
3031
setup_requires =
3132
cython
32-
numpy
33+
numpy >= 1.26.0
3334

3435
[options.packages.find]
3536
exclude = tests

0 commit comments

Comments
 (0)