[Git][debian-gis-team/python-rtree][upstream] New upstream version 0.9.6

Bas Couwenberg gitlab at salsa.debian.org
Tue Dec 22 18:14:38 GMT 2020



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


Commits:
27212222 by Bas Couwenberg at 2020-12-22T19:08:17+01:00
New upstream version 0.9.6
- - - - -


3 changed files:

- .github/workflows/build.yml
- − .github/workflows/wheels.yml
- rtree/__init__.py


Changes:

=====================================
.github/workflows/build.yml
=====================================
@@ -112,12 +112,54 @@ jobs:
         make latexpdf
       working-directory: ./docs
 
+  wheels:
+    name: Build wheel on ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
+    env:
+      CIBW_SKIP: pp* *-win32
+      CIBW_TEST_REQUIRES: pytest numpy
+      CIBW_TEST_COMMAND: "pytest -v {project}/tests"
+      # we are copying the shared libraries ourselves so skip magical copy
+      CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
+      CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
+      CIBW_BEFORE_BUILD_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
+    strategy:
+      matrix:
+        os: [windows-latest, ubuntu-latest, macos-latest]
+    steps:
+    - uses: actions/checkout at v1
+    - uses: actions/setup-python at v1
+      name: Install Python
+      with:
+        python-version: '3.7'
+    - name: Install cibuildwheel
+      run: |
+        python -m pip install cibuildwheel==1.6.4
+    - name: Run MacOS Preinstall Build
+      if: startsWith(matrix.os, 'macos')
+      run: |
+        # provides sha256sum
+        brew install coreutils
+        pip install cmake
+        bash ci/install_libspatialindex.bash
+    - name: Run Windows Preinstall Build
+      if: startsWith(matrix.os, 'windows')
+      run: |
+        choco install vcpython27 -f -y
+        ci\install_libspatialindex.bat
+    - name: Build wheels
+      run: |
+        python -m cibuildwheel --output-dir wheelhouse
+    - uses: actions/upload-artifact at v2
+      with:
+        name: ${{ matrix.os }}-whl
+        path: wheelhouse/*.whl
 
   collect-artifacts:
     name: Package and push release
 
     #needs: [windows-wheel, linux-wheel, osx-wheel, conda, ubuntu]
-    needs: [conda, ubuntu]
+    needs: [conda, ubuntu, wheels]
 
     runs-on: 'ubuntu-latest'
     strategy:
@@ -134,6 +176,28 @@ jobs:
             export PATH=$PATH:/home/runner/.local/bin
             python3 setup.py sdist
 
+      - uses: actions/download-artifact at v2
+        with:
+          path: dist
+        name: Download artifacts
+
+      - name: Display structure of downloaded files
+        run: ls -R
+        working-directory: dist
+
+      - name: Unpack
+        shell: bash -l {0}
+        working-directory: dist
+        run: |
+          for f in *whl
+          do
+            cd "$f"
+            cp *.whl ..
+            cd ..
+          done;
+          rm -rf *\-whl
+          ls -al
+
       - uses: pypa/gh-action-pypi-publish at master
         name: Publish package
         if: github.event_name == 'release' && github.event.action == 'published'


=====================================
.github/workflows/wheels.yml deleted
=====================================
@@ -1,56 +0,0 @@
-name: Build Wheels
-
-on: [push, pull_request]
-
-jobs:
-  build_wheels:
-    name: Build wheel on ${{ matrix.os }}
-    runs-on: ${{ matrix.os }}
-    env:
-      CIBW_SKIP: pp* *-win32
-      CIBW_TEST_REQUIRES: pytest numpy
-      CIBW_TEST_COMMAND: "pytest -v {project}/tests"
-      # we are copying the shared libraries ourselves so skip magical copy
-      CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
-      CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
-      CIBW_BEFORE_BUILD_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
-    strategy:
-      matrix:
-        os: [windows-latest, ubuntu-latest, macos-latest]
-    steps:
-    - uses: actions/checkout at v1
-    - uses: actions/setup-python at v1
-      name: Install Python
-      with:
-        python-version: '3.7'
-    - name: Install cibuildwheel
-      run: |
-        python -m pip install cibuildwheel==1.6.4
-    - name: Run MacOS Preinstall Build
-      if: startsWith(matrix.os, 'macos')
-      run: |
-        # provides sha256sum
-        brew install coreutils
-        pip install cmake
-        bash ci/install_libspatialindex.bash
-    - name: Run Windows Preinstall Build
-      if: startsWith(matrix.os, 'windows')
-      run: |
-        choco install vcpython27 -f -y
-        ci\install_libspatialindex.bat
-    - name: Build wheels
-      run: |
-        python -m cibuildwheel --output-dir wheelhouse
-    - uses: actions/upload-artifact at v1
-      with:
-        name: wheels
-        path: ./wheelhouse
-    - name: Upload To PyPi
-      env:
-        TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
-        TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
-      # TODO : remove `if false` statement after secrets are set in Github UI
-      if: false
-      run: |
-        pip install twine
-        twine upload ./wheelhouse/*


=====================================
rtree/__init__.py
=====================================
@@ -4,6 +4,6 @@
 Rtree provides Python bindings to libspatialindex for quick
 hyperrectangular intersection queries.
 """
-__version__ = '0.9.5'
+__version__ = '0.9.6'
 
 from .index import Rtree, Index  # noqa



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/272122229b263a01a9f15bc3d9c66f789915c1c9

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/272122229b263a01a9f15bc3d9c66f789915c1c9
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/20201222/76b478a7/attachment-0001.html>


More information about the Pkg-grass-devel mailing list