[Git][debian-gis-team/python-geotiepoints][upstream] New upstream version 1.7.1

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Thu Dec 28 09:56:31 GMT 2023



Antonio Valentino pushed to branch upstream at Debian GIS Project / python-geotiepoints


Commits:
77bb286d by Antonio Valentino at 2023-12-28T09:49:21+00:00
New upstream version 1.7.1
- - - - -


5 changed files:

- .github/workflows/ci.yaml
- .github/workflows/deploy.yaml
- CHANGELOG.md
- geotiepoints/version.py
- setup.py


Changes:

=====================================
.github/workflows/ci.yaml
=====================================
@@ -10,7 +10,7 @@ jobs:
       fail-fast: false
       matrix:
         os: ["windows-latest", "ubuntu-latest", "macos-latest"]
-        python-version: ["3.9", "3.11", "3.12"]
+        python-version: ["3.10", "3.11", "3.12"]
         experimental: [false]
         include:
           - python-version: "3.12"
@@ -96,4 +96,3 @@ jobs:
         uses: AndreMiras/coveralls-python-action at develop
         with:
           parallel-finished: true
-


=====================================
.github/workflows/deploy.yaml
=====================================
@@ -1,9 +1,9 @@
 name: Deploy sdist and wheels
 
+
 on:
   push:
-    tags:
-      - v*
+  pull_request:
   release:
     types:
       - published
@@ -18,7 +18,7 @@ jobs:
       - name: Create sdist
         shell: bash -l {0}
         run: |
-          pip install -q build
+          python -m pip install -q build
           python -m build -s
 
       - name: Upload sdist to build artifacts
@@ -27,68 +27,46 @@ jobs:
           name: sdist
           path: dist/*.tar.gz
 
-
   build_wheels:
+    name: "Build wheels on ${{ matrix.os }} ${{ matrix.cibw_archs }}"
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
       matrix:
-        os: [windows-latest, macos-latest]
-        python-version: ["3.7", "3.8", "3.9", "3.10"]
         include:
-          # Using pythons inside a docker image to provide all the Linux
-          # python-versions permutations.
-          - name: manylinux 64-bit
-            os: ubuntu-latest
-            python-version: 3.8
-            docker-image: manylinux2014_x86_64
+          - os: windows-2019
+            cibw_archs: "AMD64 ARM64"
+          - os: macos-11
+            cibw_archs: "x86_64 arm64"
+          - os: "ubuntu-20.04"
+            cibw_archs: "aarch64"
+          - os: "ubuntu-20.04"
+            cibw_archs: "x86_64"
 
     steps:
       - uses: actions/checkout at v4
       - run: |
           git fetch --prune --unshallow
 
-      - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python at v4
+      - name: Set up QEMU
+        if: runner.os == 'Linux'
+        uses: docker/setup-qemu-action at v3
         with:
-          python-version: "${{ matrix.python-version }}"
-
-      - name: Install dependencies
-        run: |
-          python -m pip install -U -q pip Cython wheel setuptools twine numpy build
+          platforms: all
 
-      - name: Build and install macOS/Windows wheel
-        if: matrix.os != 'ubuntu-latest'
-        # see https://setuptools.readthedocs.io/en/latest/build_meta.html
-        run: |
-          python -m build
-          pip install --find-links=./dist/ python-geotiepoints
-
-      - name: Build Linux wheels inside docker
-        if: matrix.os == 'ubuntu-latest'
-        run: |
-          docker run \
-            -e PLAT=${{ matrix.docker-image }} \
-            -e USE_OMP=1 \
-            -v `pwd`:/io \
-            quay.io/pypa/${{ matrix.docker-image }} \
-            /io/continuous_integration/build-manylinux-wheels.sh
+      - name: Build wheels
+        uses: pypa/cibuildwheel at v2.16.2
+        env:
+          CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *-manylinux_i686 *-musllinux_i686 *-musllinux_aarch64 *-win32"
+          CIBW_ARCHS: "${{ matrix.cibw_archs }}"
+          CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"
 
-      - name: Check version number from inside wheel
-        if:  matrix.docker-image != 'manylinux2014_i686'
-        run: |
-          mv geotiepoints unused_src_to_prevent_local_import
-          python -m pip install --find-links=./dist/ python-geotiepoints
-          python -c "import geotiepoints; print(geotiepoints.__file__, geotiepoints.__version__)"
-          python -c "import geotiepoints; assert 'unknown' not in geotiepoints.__version__, 'incorrect version found'"
-
-      - name: Upload wheel(s) as build artifacts
-        uses: actions/upload-artifact at v3
+      - uses: actions/upload-artifact at v3
         with:
           name: wheels
-          path: dist/*.whl
+          path: ./wheelhouse/*.whl
 
-  upload_test_pypi:
+  upload_to_pypi:
     needs: [build_sdist, build_wheels]
     runs-on: ubuntu-latest
     steps:
@@ -102,28 +80,13 @@ jobs:
         with:
           name: wheels
           path: dist
-      - name: Publish package to PyPI
-        if: github.event.action != 'published'
+      - name: Publish package to Test PyPI
+        if: github.event.action != 'published' && github.event_name == 'push'
         uses: pypa/gh-action-pypi-publish at v1.8.10
         with:
           user: __token__
           password: ${{ secrets.test_pypi_password }}
           repository_url: https://test.pypi.org/legacy/
-
-  upload_pypi:
-    needs: [build_sdist, build_wheels]
-    runs-on: ubuntu-latest
-    steps:
-      - name: Download sdist artifact
-        uses: actions/download-artifact at v3
-        with:
-          name: sdist
-          path: dist
-      - name: Download wheels artifact
-        uses: actions/download-artifact at v3
-        with:
-          name: wheels
-          path: dist
       - name: Publish package to PyPI
         if: github.event.action == 'published'
         uses: pypa/gh-action-pypi-publish at v1.8.10


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,15 @@
+## Version 1.7.1 (2023/11/28)
+
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 62](https://github.com/pytroll/python-geotiepoints/pull/62) - Fix python versions in deploy ci
+
+In this release 1 pull request was closed.
+
+
 ## Version 1.7.0 (2023/11/21)
 
 ### Issues Closed


=====================================
geotiepoints/version.py
=====================================
@@ -26,9 +26,9 @@ def get_keywords():
     # setup.py/versioneer.py will grep for the variable names, so they must
     # each be defined on a line of their own. _version.py will just call
     # get_keywords().
-    git_refnames = " (HEAD -> main, tag: v1.7.0)"
-    git_full = "2e8b790f6fc7679544b3a1c6b68fc01a122deb00"
-    git_date = "2023-11-21 10:02:32 +0100"
+    git_refnames = " (tag: v1.7.1)"
+    git_full = "f4710c1068e07e96b68afdcc6ab9ce7cfff83116"
+    git_date = "2023-11-28 08:10:42 +0100"
     keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
     return keywords
 


=====================================
setup.py
=====================================
@@ -105,7 +105,7 @@ if __name__ == "__main__":
                        "Topic :: Scientific/Engineering"],
           url="https://github.com/pytroll/python-geotiepoints",
           packages=find_packages(),
-          python_requires='>=3.9',
+          python_requires='>=3.10',
           cmdclass=cmdclass,
           install_requires=requirements,
           ext_modules=EXTENSIONS,



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geotiepoints/-/commit/77bb286da0266be5569d6c670fcf357705a4f2c7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geotiepoints/-/commit/77bb286da0266be5569d6c670fcf357705a4f2c7
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/20231228/1d5851ad/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list