Skip to content

Commit 0444f5e

Browse files
committed
Add 3.13 build, remove 3.8 and update numpy to v2
1 parent 425553d commit 0444f5e

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: False
2424
matrix:
25-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
25+
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
fail-fast: False
5454
matrix:
55-
os: [ ubuntu-latest, macos-latest ]
55+
os: [ ubuntu-latest, macos-latest, macos-14 ]
5656
steps:
5757
- name: Checkout repository
5858
uses: actions/checkout@v4
@@ -66,8 +66,8 @@ jobs:
6666

6767
- name: Build wheels
6868
env:
69-
# only build CPython-3.8+ and skip 32-bit builds
70-
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
69+
# only build CPython-3.9+ and skip 32-bit builds
70+
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-*
7171
CIBW_SKIP: "*-manylinux_i686 *-musllinux*"
7272
# use latest build
7373
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2014_x86_64
@@ -90,8 +90,8 @@ jobs:
9090
runs-on: ${{ matrix.os }}
9191
strategy:
9292
matrix:
93-
os: [ windows-latest, ubuntu-latest, macos-latest ]
94-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
93+
os: [ windows-latest, ubuntu-latest, macos-latest, macos-14 ]
94+
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
9595

9696
steps:
9797
- name: Checkout repository

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ classifiers =
2626
Operating System :: Microsoft :: Windows
2727
Operating System :: Unix
2828
Programming Language :: C++
29-
Programming Language :: Python :: 3.6
30-
Programming Language :: Python :: 3.7
31-
Programming Language :: Python :: 3.8
3229
Programming Language :: Python :: 3.9
3330
Programming Language :: Python :: 3.10
31+
Programming Language :: Python :: 3.11
32+
Programming Language :: Python :: 3.12
33+
Programming Language :: Python :: 3.13
3434
Topic :: Scientific/Engineering
3535

3636
[options]

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
setup(
2121
version=version,
22-
install_requires=["numpy >=1.18.5"],
22+
python_requires=">=3.9",
23+
install_requires=["numpy >=2,<3"],
24+
setup_requires=["numpy >=2,<3"],
2325
ext_modules=[NLOptBuildExtension("nlopt._nlopt", version)],
2426
cmdclass={"build_ext": NLOptBuild},
2527
zip_safe=False,

0 commit comments

Comments
 (0)