Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_igraph.bat
Original file line number Diff line number Diff line change
@@ -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%
Expand Down
9 changes: 5 additions & 4 deletions scripts/build_igraph.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IGRAPH_VERSION=0.10.16
IGRAPH_VERSION=1.0.0

ROOT_DIR=`pwd`
echo "Using root dir ${ROOT_DIR}"
Expand All @@ -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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions scripts/build_libleidenalg.bat
Original file line number Diff line number Diff line change
@@ -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%
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions scripts/build_libleidenalg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LIBLEIDENALG_VERSION=0.11.0
LIBLEIDENALG_VERSION=0.12.0

ROOT_DIR=`pwd`
echo "Using root dir ${ROOT_DIR}"
Expand Down Expand Up @@ -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
Loading