Skip to content

Commit 0b2e1c1

Browse files
committed
update setup
1 parent 02752be commit 0b2e1c1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.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.7, 3.8, 3.9, '3.10' ]
25+
python-version: [ 3.8, 3.9, '3.10', '3.11' ]
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v2
@@ -60,22 +60,22 @@ jobs:
6060
with:
6161
submodules: true
6262

63-
- name: Setup Python 3.9
63+
- name: Setup Python 3.10
6464
uses: actions/setup-python@v2
6565
with:
66-
python-version: 3.9
66+
python-version: '3.10'
6767

6868
- name: Build wheels
6969
env:
7070
# only build CPython-3.6 and later and skip 32-bit builds and skip windows
71-
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
71+
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-*
7272
CIBW_SKIP: "*-win* *-manylinux_i686 *-musllinux*"
7373
# use latest build
7474
CIBW_MANYLINUX_X86_64_IMAGE: danielbok/nlopt_manylinux2014_x86_64:latest
7575
CIBW_BEFORE_ALL_MACOS: brew install swig
7676
CIBW_BEFORE_BUILD: pip install numpy
7777
run: |
78-
pip install -U pip cibuildwheel
78+
python -m pip install -U pip cibuildwheel
7979
python -m cibuildwheel --output-dir dist
8080
ls -R dist
8181
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
matrix:
9393
os: [ windows-latest, ubuntu-latest, macos-latest ]
94-
python-version: [ 3.7, 3.8, 3.9, '3.10' ]
94+
python-version: [ 3.8, 3.9, '3.10', '3.11' ]
9595

9696
steps:
9797
- name: Checkout repository

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
version=version,
21-
install_requires=["numpy >=1.14"],
21+
install_requires=["numpy >=1.18.5"],
2222
ext_modules=[NLOptBuildExtension("nlopt._nlopt", version)],
2323
cmdclass={"build_ext": NLOptBuild},
2424
zip_safe=False,

0 commit comments

Comments
 (0)