[med-svn] [Git][med-team/python-leidenalg][master] 5 commits: New upstream version 0.10.2

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



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


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

- - - - -
6be3653d by Étienne Mollier at 2024-02-18T12:46:54+01:00
Update upstream source from tag 'upstream/0.10.2'

Update to upstream version '0.10.2'
with Debian dir 432e7b10bd44e88d9586e07e63dcffae773125f5
- - - - -
d848ae70 by Étienne Mollier at 2024-02-18T12:46:57+01:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/

- - - - -
04d0138e by Étienne Mollier at 2024-02-18T12:48:08+01:00
routine-update: Ready to upload to unstable

- - - - -


7 changed files:

- .github/workflows/build.yml
- CHANGELOG
- debian/changelog
- debian/control
- debian/rules
- 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


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-leidenalg (0.10.2-1) unstable; urgency=medium
+
+  * New upstream version
+  * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 18 Feb 2024 12:47:03 +0100
+
 python-leidenalg (0.10.1-1) unstable; urgency=medium
 
   * New upstream version 0.10.1


=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Uploaders: Andreas Tille <tille at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                pybuild-plugin-pyproject,
                python3-all-dev,
                python3-setuptools,


=====================================
debian/rules
=====================================
@@ -9,4 +9,4 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 export CPATH=/usr/include/igraph:/usr/include/$(DEB_HOST_MULTIARCH)/igraph
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild


=====================================
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/-/compare/3d8968a38e58ac4a5a04728079fbe364d1b4fab0...04d0138ebc0533290726d74d2d537c4893dc77f0

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-leidenalg/-/compare/3d8968a38e58ac4a5a04728079fbe364d1b4fab0...04d0138ebc0533290726d74d2d537c4893dc77f0
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/2acd916e/attachment-0001.htm>


More information about the debian-med-commit mailing list