[Git][debian-gis-team/pykdtree][upstream] New upstream version 1.3.10+ds

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Tue Dec 26 08:20:49 GMT 2023



Antonio Valentino pushed to branch upstream at Debian GIS Project / pykdtree


Commits:
e81ec6fe by Antonio Valentino at 2023-12-02T15:11:19+00:00
New upstream version 1.3.10+ds
- - - - -


6 changed files:

- .github/workflows/deploy-wheels.yml
- CHANGELOG.md
- RELEASING.md
- pykdtree/kdtree.pyx
- pyproject.toml
- setup.py


Changes:

=====================================
.github/workflows/deploy-wheels.yml
=====================================
@@ -54,7 +54,7 @@ jobs:
           platforms: all
 
       - name: Build wheels
-        uses: pypa/cibuildwheel at v2.16.0
+        uses: pypa/cibuildwheel at v2.16.2
         env:
           CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *i686 *-musllinux_aarch64"
           CIBW_ARCHS: "${{ matrix.cibw_archs }}"


=====================================
CHANGELOG.md
=====================================
@@ -1,5 +1,15 @@
-## Version 1.3.9 (2023/09/22)
+## Version 1.3.10 (2023/11/29)
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 102](https://github.com/storpipfugl/pykdtree/pull/102) - Switch to Cython 3 in build process
 
+In this release 1 pull request was closed.
+
+
+## Version 1.3.9 (2023/09/22)
 
 ### Pull Requests Merged
 


=====================================
RELEASING.md
=====================================
@@ -2,7 +2,22 @@
 
 1. Add release information to README.rst
 2. Update version number in setup.py
-3. Commit changes
+3. run `loghub` and update the `CHANGELOG.md` file and commit the changes:
+
+   ```
+   loghub storpipfugl/pykdtree --token $LOGHUB_GITHUB_TOKEN  -st $(git tag --sort=-version:refname --list 'v*' | head -n 1) -plg bug "Bugs fixed" -plg enhancement "Features added" -plg documentation "Documentation changes"
+   ```
+
+   This uses a `LOGHUB_GITHUB_TOKEN` environment variable. This must be created
+   on GitHub and it is recommended that you add it to your `.bashrc` or
+   `.bash_profile` or equivalent.
+
+   This command will create a CHANGELOG.temp file which need to be added
+   to the top of the CHANGLOG.md file.  The same content is also printed
+   to terminal, so that can be copy-pasted, too.  Remember to update also
+   the version number to the same given in step 5. Don't forget to commit
+   CHANGELOG.md!
+
 4. Create a git annotated tag by running:
 
    ```


=====================================
pykdtree/kdtree.pyx
=====================================
@@ -20,6 +20,7 @@ cimport numpy as np
 from libc.stdint cimport uint32_t, int8_t, uint8_t
 cimport cython
 
+np.import_array()
 
 # Node structure
 cdef struct node_float:


=====================================
pyproject.toml
=====================================
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel", "numpy", "Cython"]
+requires = ["setuptools", "numpy", "Cython>=3"]
 build-backend = "setuptools.build_meta"


=====================================
setup.py
=====================================
@@ -188,12 +188,14 @@ with open('README.rst', 'r') as readme_file:
 extensions = [
     Extension('pykdtree.kdtree', sources=['pykdtree/kdtree.pyx', 'pykdtree/_kdtree_core.c'],
               include_dirs=[np.get_include()],
+              define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")],
+              compiler_directions={"language_level": "3"},
               ),
 ]
 
 setup(
     name='pykdtree',
-    version='1.3.9',
+    version='1.3.10',
     url="https://github.com/storpipfugl/pykdtree",
     description='Fast kd-tree implementation with OpenMP-enabled queries',
     long_description=readme,



View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/-/commit/e81ec6fef49674cb28bfe4e524bfa2db5cbb6556

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/-/commit/e81ec6fef49674cb28bfe4e524bfa2db5cbb6556
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/20231226/a3d16439/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list