[med-svn] [Git][med-team/python-leidenalg][upstream] New upstream version 0.10.2

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Feb 18 11:57:11 GMT 2024



Étienne Mollier pushed to branch upstream at Debian Med / python-leidenalg


Commits:
de8c2705 by Étienne Mollier at 2024-02-18T12:46:53+01:00
New upstream version 0.10.2
- - - - -


4 changed files:

- .github/workflows/build.yml
- CHANGELOG
- pyproject.toml
- scripts/build_igraph.bat


Changes:

=====================================
.github/workflows/build.yml
=====================================
@@ -31,18 +31,18 @@ jobs:
         wheel_arch: [x86_64, i686]
 
     steps:
-      - uses: actions/checkout at v3
+      - uses: actions/checkout at v4
         with:
           submodules: true
           fetch-depth: 0
 
-      - uses: actions/setup-python at v4
+      - uses: actions/setup-python at v5
         name: Install Python
         with:
           python-version: '3.8'
 
       - name: Build wheels (manylinux)
-        uses: pypa/cibuildwheel at v2.14.1
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_BEFORE_BUILD: "yum install -y flex bison &&
                               pip install cmake wheel &&
@@ -55,7 +55,7 @@ jobs:
             LD_LIBRARY_PATH='/project/build-deps/install/lib64/:/project/build-deps/install/lib/'
 
       - name: Build wheels (musllinux)
-        uses: pypa/cibuildwheel at v2.14.1
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_BEFORE_BUILD: "apk add flex bison zlib-dev &&
                               pip install cmake wheel &&
@@ -67,25 +67,26 @@ jobs:
             CFLAGS='-I/project/build-deps/install/include/ -L/project/build-deps/install/lib64/ -L/project/build-deps/install/lib/'
             LD_LIBRARY_PATH='/project/build-deps/install/lib64/:/project/build-deps/install/lib/'
 
-      - uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v4
         with:
+          name: wheels-linux-${{ matrix.wheel_arch }}
           path: ./wheelhouse/*.whl
 
   build_wheel_linux_aarch64:
     name: Build wheels on Linux (aarch64)
     runs-on: ubuntu-20.04
     steps:
-      - uses: actions/checkout at v3
+      - uses: actions/checkout at v4
         with:
           submodules: true
           fetch-depth: 0
 
       - name: Set up QEMU
         id: qemu
-        uses: docker/setup-qemu-action at v2
+        uses: docker/setup-qemu-action at v3
 
       - name: Build wheels (manylinux)
-        uses: pypa/cibuildwheel at v2.14.1
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_BEFORE_BUILD: "yum install -y flex bison zlib-devel &&
                               pip install cmake wheel &&
@@ -97,8 +98,9 @@ jobs:
             CFLAGS='-I/project/build-deps/install/include/ -L/project/build-deps/install/lib64/ -L/project/build-deps/install/lib/'
             LD_LIBRARY_PATH='/project/build-deps/install/lib64/:/project/build-deps/install/lib/'
 
-      - uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v4
         with:
+          name: wheels-linux-aarch64
           path: ./wheelhouse/*.whl
 
   build_wheel_macos:
@@ -116,7 +118,7 @@ jobs:
             wheel_arch: arm64
 
     steps:
-      - uses: actions/checkout at v3
+      - uses: actions/checkout at v4
         with:
           submodules: true
           fetch-depth: 0
@@ -128,7 +130,7 @@ jobs:
           path: build-deps
           key: C-core-cache-${{ runner.os }}-${{ matrix.cmake_arch }}-llvm${{ env.LLVM_VERSION }}-${{ hashFiles('scripts/build_igraph.sh') }}-${{ hashFiles('scripts/build_libleidenalg.sh') }}
 
-      - uses: actions/setup-python at v4
+      - uses: actions/setup-python at v5
         name: Install Python
         with:
           python-version: '3.8'
@@ -139,7 +141,7 @@ jobs:
           brew install ninja cmake
 
       - name: Build wheels
-        uses: pypa/cibuildwheel at v2.14.1
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_ARCHS_MACOS: "${{ matrix.wheel_arch }}"
           CIBW_BEFORE_BUILD: "{package}/scripts/build_igraph.sh &&
@@ -150,8 +152,9 @@ jobs:
             EXTRA_CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }} ${{ matrix.extra_cmake_args }}"
           CIBW_REPAIR_WHEEL_COMMAND: >
             DYLD_LIBRARY_PATH=$REPAIR_LIBRARY_PATH delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
-      - uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v4
         with:
+          name: wheels-macos-${{ matrix.wheel_arch }}
           path: ./wheelhouse/*.whl
 
   build_wheel_win:
@@ -167,12 +170,12 @@ jobs:
             wheel_arch: win_amd64
 
     steps:
-      - uses: actions/checkout at v3
+      - uses: actions/checkout at v4
         with:
           submodules: true
           fetch-depth: 0
 
-      - uses: actions/setup-python at v4
+      - uses: actions/setup-python at v5
         name: Install Python
         with:
           python-version: '3.8'
@@ -189,7 +192,7 @@ jobs:
         run: choco install winflexbison3 cmake ninja
 
       - name: Build wheels
-        uses: pypa/cibuildwheel at v2.14.1
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_BEFORE_BUILD: "{package}/scripts/build_igraph.bat &&
                               {package}/scripts/build_libleidenalg.bat &&
@@ -203,31 +206,35 @@ jobs:
             PATH="D:/a/leidenalg/leidenalg/build-deps/install/bin;$PATH"
             EXTRA_CMAKE_ARGS="-A ${{ matrix.cmake_arch }}"
           CIBW_REPAIR_WHEEL_COMMAND: "delvewheel repair -w {dest_dir} {wheel}"
-      - uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v4
         with:
+          name: wheels-win-${{ matrix.wheel_arch }}
           path: ./wheelhouse/*.whl
 
   build_sdist:
     name: Build sdist
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout at v3
+      - uses: actions/checkout at v4
         with:
           submodules: true
           fetch-depth: 0
 
-      - uses: actions/setup-python at v4
+      - uses: actions/setup-python at v5
         name: Install Python
         with:
           python-version: '3.8'
 
+      - name: Install pypa/build
+        run: pip3 install build
+
       - name: Build sdist
         run: |
-          pip install setuptools_scm
-          python setup.py sdist
+          python3 -m build --sdist
 
-      - uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v4
         with:
+          name: wheels-sdist
           path: dist/*.tar.gz
 
   upload_pypi:
@@ -237,9 +244,10 @@ jobs:
     if: github.event_name == 'push' &&
         startsWith(github.ref, 'refs/tags')
     steps:
-      - uses: actions/download-artifact at v3
+      - uses: actions/download-artifact at v4
         with:
-          name: artifact
+          pattern: wheels-*
+          merge-multiple: true
           path: dist
 
       # Upload tagged versions to production PyPI


=====================================
CHANGELOG
=====================================
@@ -1,3 +1,7 @@
+0.10.2
+- Also allow python-igraph >= 0.11
+- Upgrade C core to 0.10.8 for binary wheels
+
 0.10.1
 - Switched to pyproject.toml based build
 - Making use of Limited API


=====================================
pyproject.toml
=====================================
@@ -34,7 +34,7 @@ classifiers = [
     "Topic :: Sociology"
 ]
 dependencies = [
-    "igraph >= 0.10.0,< 0.11",
+    "igraph >= 0.10.0,< 0.12",
 ]
 dynamic = ["version"]
 


=====================================
scripts/build_igraph.bat
=====================================
@@ -1,6 +1,6 @@
 @echo off
 
-set IGRAPH_VERSION=0.10.4
+set IGRAPH_VERSION=0.10.8
 
 set ROOT_DIR=%cd%
 echo Using root dir %ROOT_DIR%



View it on GitLab: https://salsa.debian.org/med-team/python-leidenalg/-/commit/de8c27059e8e0f66ee3a07c8a012c2e4ab5ca795

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-leidenalg/-/commit/de8c27059e8e0f66ee3a07c8a012c2e4ab5ca795
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240218/9873d152/attachment-0001.htm>


More information about the debian-med-commit mailing list