diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b050275..7c06644 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,6 @@ env: CIBW_MANYLINUX_I686_IMAGE: "manylinux2014" CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux2014" CIBW_MANYLINUX_PYPY_I686_IMAGE: "manylinux2014" - CIBW_SKIP: "cp36-*" MACOSX_DEPLOYMENT_TARGET: "10.9" jobs: @@ -39,7 +38,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.13' - name: Build wheels (manylinux) uses: pypa/cibuildwheel@v3.0.1 @@ -133,7 +132,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.13' - name: Install OS dependencies if: steps.cache-c-core.outputs.cache-hit != 'true' || steps.cache-c-deps.outputs.cache-hit != 'true' # Only needed when building the C core @@ -178,7 +177,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.13' - name: Cache installed C core id: cache-c-core @@ -199,7 +198,7 @@ jobs: pip install delvewheel" CIBW_BUILD: "*-${{ matrix.wheel_arch }}" CIBW_TEST_COMMAND: "cd /d {project} && python -m unittest -v" - CIBW_SKIP: "cp36-* pp*" + CIBW_SKIP: "pp*" CIBW_ENVIRONMENT: > LIB="D:/a/leidenalg/leidenalg/build-deps/install/lib;$LIB" INCLUDE="D:/a/leidenalg/leidenalg/build-deps/install/include/;$INCLUDE" @@ -223,7 +222,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.8' + python-version: '3.13' - name: Install pypa/build run: pip3 install build diff --git a/CHANGELOG b/CHANGELOG index 22ea6a8..9826edc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +0.11.0 +- Update to libleidenalg 0.12.0 +- Update to igraph 1.0 + 0.10.2 - Also allow python-igraph >= 0.11 - Upgrade C core to 0.10.8 for binary wheels diff --git a/scripts/build_igraph.bat b/scripts/build_igraph.bat index 72900f2..c195fd6 100755 --- a/scripts/build_igraph.bat +++ b/scripts/build_igraph.bat @@ -1,6 +1,6 @@ @echo off -set IGRAPH_VERSION=0.10.16 +set IGRAPH_VERSION=1.0.0 set ROOT_DIR=%cd% echo Using root dir %ROOT_DIR% diff --git a/scripts/build_igraph.sh b/scripts/build_igraph.sh index 94903c8..d5193cc 100755 --- a/scripts/build_igraph.sh +++ b/scripts/build_igraph.sh @@ -1,4 +1,4 @@ -IGRAPH_VERSION=0.10.16 +IGRAPH_VERSION=1.0.0 ROOT_DIR=`pwd` echo "Using root dir ${ROOT_DIR}" @@ -15,7 +15,7 @@ if [ ! -d "igraph" ]; then echo "" echo "Cloning igraph into ${ROOT_DIR}/build-deps/src/igraph" # Clone repository if it does not exist yet - git clone --branch ${IGRAPH_VERSION} https://github.com/igraph/igraph.git --single-branch + git clone --depth 1 --branch ${IGRAPH_VERSION} https://github.com/igraph/igraph.git --single-branch fi # Make sure the git repository points to the correct version @@ -50,12 +50,13 @@ cmake ${ROOT_DIR}/build-deps/src/igraph \ -DIGRAPH_USE_INTERNAL_GMP=ON \ -DIGRAPH_WARNINGS_AS_ERRORS=OFF \ -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ ${EXTRA_CMAKE_ARGS} echo "" echo "Build igraph" -cmake --build . +cmake --build . --config Release echo "" echo "Install igraph to ${ROOT_DIR}/build-deps/install/" -cmake --build . --target install +cmake --build . --target install --config Release diff --git a/scripts/build_libleidenalg.bat b/scripts/build_libleidenalg.bat index 2d25952..15b8e09 100755 --- a/scripts/build_libleidenalg.bat +++ b/scripts/build_libleidenalg.bat @@ -1,6 +1,6 @@ @echo off -set LIBLEIDENALG_VERSION="0.11.0" +set LIBLEIDENALG_VERSION="0.12.0" set ROOT_DIR=%cd% echo Using root dir %ROOT_DIR% @@ -14,7 +14,7 @@ if not exist "libleidenalg\" ( echo. echo Cloning libleidenalg into %ROOT_DIR%\build-deps\src\libleidenalg REM Clone repository if it does not exist yet - git clone --depth 1 --branch %libleidenalg_VERSION% https://github.com/vtraag/libleidenalg.git + git clone --branch %libleidenalg_VERSION% https://github.com/vtraag/libleidenalg.git ) REM Make sure the git repository points to the correct version diff --git a/scripts/build_libleidenalg.sh b/scripts/build_libleidenalg.sh index f8220d4..dca847e 100755 --- a/scripts/build_libleidenalg.sh +++ b/scripts/build_libleidenalg.sh @@ -1,4 +1,4 @@ -LIBLEIDENALG_VERSION=0.11.0 +LIBLEIDENALG_VERSION=0.12.0 ROOT_DIR=`pwd` echo "Using root dir ${ROOT_DIR}" @@ -45,8 +45,8 @@ cmake ${ROOT_DIR}/build-deps/src/libleidenalg \ echo "" echo "Build libleidenalg" -cmake --build . +cmake --build . --config Release echo "" echo "Install libleidenalg to ${ROOT_DIR}/build-deps/install/" -cmake --build . --target install +cmake --build . --target install --config Release