-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: dropped Python 3.8 support, added Python 3.12
- Loading branch information
Showing
6 changed files
with
29 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: [push, pull_request] | |
env: | ||
CIBW_ENVIRONMENT_PASS_LINUX: PYTEST_TIMEOUT | ||
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test]' && python -m pytest -v tests" | ||
CIBW_SKIP: "cp36-*" | ||
CIBW_SKIP: "cp36-* cp37-*" | ||
PYTEST_TIMEOUT: 60 | ||
MACOSX_DEPLOYMENT_TARGET: "10.9" | ||
|
||
|
@@ -34,9 +34,8 @@ jobs: | |
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip wheel && python setup.py build_c_core" | ||
CIBW_BUILD: "*-manylinux_${{ matrix.wheel_arch }}" | ||
# Skip tests for Python 3.10 onwards because SciPy does not have | ||
# 32-bit wheels for Linux. Also skip tests for Python 3.12 until | ||
# NumPy 1.26 is out (with Python 3.12 wheels) | ||
CIBW_TEST_SKIP: "cp310-manylinux_i686 cp311-manylinux_i686 cp312-manylinux_i686 cp312-*" | ||
# 32-bit wheels for Linux | ||
CIBW_TEST_SKIP: "cp310-manylinux_i686 cp311-manylinux_i686 cp312-manylinux_i686" | ||
|
||
- name: Build wheels (musllinux) | ||
uses: pypa/[email protected] | ||
|
@@ -69,9 +68,6 @@ jobs: | |
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip wheel && python setup.py build_c_core" | ||
CIBW_ARCHS_LINUX: aarch64 | ||
CIBW_BUILD: "*-manylinux_aarch64" | ||
# Skip tests for Python 3.12 until NumPy 1.26 is out (with Python | ||
# 3.12 wheels) | ||
CIBW_TEST_SKIP: "cp312-*" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -98,9 +94,6 @@ jobs: | |
CIBW_ARCHS_LINUX: aarch64 | ||
CIBW_BUILD: "*-musllinux_aarch64" | ||
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests" | ||
# Skip tests for Python 3.12 until NumPy 1.26 is out (with Python | ||
# 3.12 wheels) | ||
CIBW_TEST_SKIP: "cp312-*" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -168,9 +161,6 @@ jobs: | |
CIBW_BEFORE_BUILD: "python setup.py build_c_core" | ||
CIBW_ENVIRONMENT: "LDFLAGS=-L$HOME/local/lib" | ||
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }} ${{ matrix.cmake_extra_args }} -DCMAKE_PREFIX_PATH=$HOME/local | ||
# Skip tests for Python 3.12 until NumPy 1.26 is out (with Python | ||
# 3.12 wheels) | ||
CIBW_TEST_SKIP: "cp312-*" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -189,7 +179,7 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
name: Install Python | ||
with: | ||
python-version: '3.11.2' | ||
python-version: '3.12.0' | ||
|
||
- uses: mymindstorm/setup-emsdk@v12 | ||
with: | ||
|
@@ -259,9 +249,8 @@ jobs: | |
CIBW_BUILD: "*-${{ matrix.wheel_arch }}" | ||
CIBW_TEST_COMMAND: "cd /d {project} && pip install --prefer-binary \".[test]\" && python -m pytest tests" | ||
# Skip tests for Python 3.10 onwards because SciPy does not have | ||
# 32-bit wheels for Windows. Also skip tests for Python 3.12 until | ||
# NumPy 1.26 is out (with Python 3.12 wheels) | ||
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp312-*" | ||
# 32-bit wheels for Windows | ||
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32" | ||
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_arch }}-windows-static-md -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -A ${{ matrix.cmake_arch }} | ||
IGRAPH_EXTRA_LIBRARY_PATH: C:/vcpkg/installed/${{ matrix.vcpkg_arch }}-windows-static-md/lib/ | ||
IGRAPH_STATIC_EXTENSION: True | ||
|
@@ -344,7 +333,7 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
name: Install Python | ||
with: | ||
python-version: '3.11' | ||
python-version: '3.12' | ||
|
||
- name: Build C core | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters