[Git][debian-gis-team/python-cartopy][upstream] New upstream version 0.24.1+dfsg

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Oct 9 04:30:18 BST 2024



Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-cartopy


Commits:
6c1aa053 by Bas Couwenberg at 2024-10-09T05:20:42+02:00
New upstream version 0.24.1+dfsg
- - - - -


1 changed file:

- .github/workflows/release.yml


Changes:

=====================================
.github/workflows/release.yml
=====================================
@@ -1,3 +1,4 @@
+---
 name: Build and upload to PyPI
 
 concurrency:
@@ -18,9 +19,12 @@ on:
       - reopened
       - labeled
 
+permissions:
+  contents: read
+
 jobs:
   build_sdist:
-    if: |
+    if: >-
       github.event_name == 'release' ||
       (github.event_name == 'pull_request' && (
         (
@@ -67,62 +71,47 @@ jobs:
           path: dist/*.tar.gz
           if-no-files-found: error
 
-  generate-wheels-matrix:
-    name: Generate wheels matrix
-    needs: [build_sdist]
-    runs-on: ubuntu-latest
-    outputs:
-      include: ${{ steps.set-matrix.outputs.include }}
-    steps:
-      - uses: actions/checkout at v4
-      - name: Install cibuildwheel
-        run: pipx install cibuildwheel==2.16.2
-      - id: set-matrix
-        run: |
-          MATRIX=$(
-            {
-              cibuildwheel --print-build-identifiers --platform linux \
-              | jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
-              && cibuildwheel --print-build-identifiers --platform macos \
-              | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
-              && cibuildwheel --print-build-identifiers --platform windows \
-              | jq -nRc '{"only": inputs, "os": "windows-2019"}'
-            } | jq -sc
-          )
-          echo "include=$MATRIX" >> $GITHUB_OUTPUT
-        env:
-          CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
-          # Skip 32 bit builds and musllinux due to lack of numpy wheels
-          CIBW_SKIP: "*-win32 *_i686 *-musllinux*"
-          CIBW_ARCHS_MACOS: x86_64 arm64
-
   build_wheels:
-    name: Build ${{ matrix.os }} ${{ matrix.only }}
-    needs: [generate-wheels-matrix, build_sdist]
+    needs: build_sdist
+    name: Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
+    runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        include: ${{ fromJson(needs.generate-wheels-matrix.outputs.include) }}
-    runs-on: ${{ matrix.os }}
+        include:
+          - os: ubuntu-latest
+            cibw_archs: "x86_64"
+          - os: windows-2019
+            cibw_archs: "auto64"
+          - os: macos-latest
+            cibw_archs: "x86_64"
+          - os: macos-latest
+            cibw_archs: "arm64"
     defaults:
       run:
         shell: bash
-    steps:
 
+    steps:
       - name: Download sdist
         uses: actions/download-artifact at v4
         with:
           name: cibw-sdist
           path: dist
 
-      - uses: pypa/cibuildwheel at f1859528322d7b29d4493ee241a167807661dfb4 # v2.21.2
+      - name: Build wheels for CPython
+        uses: pypa/cibuildwheel at f1859528322d7b29d4493ee241a167807661dfb4 # v2.21.2
         with:
-          only: ${{ matrix.only }}
           package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
+        env:
+          CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
+          # Skip 32 bit builds and musllinux due to lack of numpy wheels
+          CIBW_SKIP: "*-win32 *_i686 *-musllinux*"
+          CIBW_ARCHS: ${{ matrix.cibw_archs }}
 
       - uses: actions/upload-artifact at v4
         with:
-          name: cibw-wheels-${{ matrix.os }}-${{ matrix.only }}
+          name: cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
           path: ./wheelhouse/*.whl
+          if-no-files-found: error
 
   publish:
     name: Publish to PyPI



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/commit/6c1aa053307c38ae55aeacb9fa829ba2a47c7de0

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/commit/6c1aa053307c38ae55aeacb9fa829ba2a47c7de0
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/pkg-grass-devel/attachments/20241009/f90e54dd/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list