[Git][debian-gis-team/pykdtree][master] 5 commits: New upstream version 1.3.11+ds
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Sat Feb 17 07:38:58 GMT 2024
Antonio Valentino pushed to branch master at Debian GIS Project / pykdtree
Commits:
f723cac3 by Antonio Valentino at 2024-02-17T07:25:36+00:00
New upstream version 1.3.11+ds
- - - - -
3d3a56e2 by Antonio Valentino at 2024-02-17T07:25:37+00:00
Update upstream source from tag 'upstream/1.3.11+ds'
Update to upstream version '1.3.11+ds'
with Debian dir 62beff9eb81d94b540ba059050d9365c7668c421
- - - - -
51ccb268 by Antonio Valentino at 2024-02-17T07:26:07+00:00
New upstream release
- - - - -
3c93292f by Antonio Valentino at 2024-02-17T07:36:23+00:00
Update dates in d/copyright
- - - - -
4af7a914 by Antonio Valentino at 2024-02-17T07:36:45+00:00
Set diatribution to unstable
- - - - -
7 changed files:
- .github/dependabot.yml
- .github/workflows/deploy-wheels.yml
- CHANGELOG.md
- debian/changelog
- debian/copyright
- pykdtree/__init__.py
- setup.py
Changes:
=====================================
.github/dependabot.yml
=====================================
@@ -8,4 +8,4 @@ updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
- interval: "weekly"
+ interval: "monthly"
=====================================
.github/workflows/deploy-wheels.yml
=====================================
@@ -21,7 +21,7 @@ jobs:
python -m build -s
- name: Upload sdist to build artifacts
- uses: actions/upload-artifact at v3
+ uses: actions/upload-artifact at v4
with:
name: sdist
path: dist/*.tar.gz
@@ -35,12 +35,16 @@ jobs:
include:
- os: windows-2019
cibw_archs: "AMD64 ARM64"
+ artifact_name: "win"
- os: macos-11
cibw_archs: "x86_64 arm64"
+ artifact_name: "mac"
- os: "ubuntu-20.04"
cibw_archs: "aarch64"
+ artifact_name: "ubuntu-aarch"
- os: "ubuntu-20.04"
cibw_archs: "x86_64"
+ artifact_name: "ubuntu-x86_64"
steps:
- uses: actions/checkout at v4
@@ -54,18 +58,21 @@ jobs:
platforms: all
- name: Build wheels
- uses: pypa/cibuildwheel at v2.16.2
+ uses: pypa/cibuildwheel at v2.16.5
env:
CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *i686 *-musllinux_aarch64"
CIBW_ARCHS: "${{ matrix.cibw_archs }}"
CIBW_TEST_COMMAND: "pytest -v --pyargs pykdtree"
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64"
+ # below only for building against unstable numpy
+ CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation"
+ CIBW_BEFORE_BUILD: "pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython setuptools versioneer"
- name: Upload wheel(s) as build artifacts
- uses: actions/upload-artifact at v3
+ uses: actions/upload-artifact at v4
with:
- name: wheels
+ name: wheels-${{ matrix.artifact_name }}
path: ./wheelhouse/*.whl
upload_pypi:
@@ -73,20 +80,35 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download sdist artifact
- uses: actions/download-artifact at v3
+ uses: actions/download-artifact at v4
with:
name: sdist
path: dist
- - name: Download wheels artifact
- uses: actions/download-artifact at v3
+ - name: Download wheels artifact - win
+ uses: actions/download-artifact at v4
with:
- name: wheels
+ name: wheels-win
+ path: dist
+ - name: Download wheels artifact - mac
+ uses: actions/download-artifact at v4
+ with:
+ name: wheels-mac
+ path: dist
+ - name: Download wheels artifact - ubuntu aarch
+ uses: actions/download-artifact at v4
+ with:
+ name: wheels-ubuntu-aarch
+ path: dist
+ - name: Download wheels artifact - ubuntu x86_64
+ uses: actions/download-artifact at v4
+ with:
+ name: wheels-ubuntu-x86_64
path: dist
- name: Publish package to PyPI
if: github.event.action == 'published'
- uses: pypa/gh-action-pypi-publish at v1.8.10
+ uses: pypa/gh-action-pypi-publish at v1.8.11
with:
user: ${{ secrets.pypi_username }}
password: ${{ secrets.pypi_password }}
- skip_existing: true
+ skip-existing: true
=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,21 @@
+## Version 1.3.11 (2024/02/15)
+
+### Issues Closed
+
+* [Issue 106](https://github.com/storpipfugl/pykdtree/issues/106) - Gotchas when installing on MacOS ([PR 107](https://github.com/storpipfugl/pykdtree/pull/107) by [@djhoese](https://github.com/djhoese))
+
+In this release 1 issue was closed.
+
+### Pull Requests Merged
+
+#### Features added
+
+* [PR 109](https://github.com/storpipfugl/pykdtree/pull/109) - Build wheels with numpy 2
+* [PR 107](https://github.com/storpipfugl/pykdtree/pull/107) - Add OpenMP warning when extension fails to import ([106](https://github.com/storpipfugl/pykdtree/issues/106))
+
+In this release 2 pull requests were closed.
+
+
## Version 1.3.10 (2023/11/29)
### Pull Requests Merged
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pykdtree (1.3.11+ds-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Update dates in d/copyright.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Sat, 17 Feb 2024 07:36:29 +0000
+
pykdtree (1.3.10+ds-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/copyright
=====================================
@@ -25,7 +25,7 @@ License: LGPL-3+
Public License can be found in "/usr/share/common-licenses/LGPL-3".
Files: debian/*
-Copyright: 2013-2023, Antonio Valentino <antonio.valentino at tiscali.it>
+Copyright: 2013-2024, Antonio Valentino <antonio.valentino at tiscali.it>
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
=====================================
pykdtree/__init__.py
=====================================
@@ -0,0 +1,13 @@
+"""Simple wrapper around importing pykdtree for OpenMP use or not."""
+
+try:
+ from . import kdtree
+except ImportError as err:
+ raise ImportError(
+ "Pykdtree failed to import its C extension. This usually means it "
+ "was built with OpenMP (C-level parallelization library) support but "
+ "could not find it on your system. To enable better performance "
+ "OpenMP must be installed (ex. ``brew install omp`` on Mac with "
+ "HomeBrew). Otherwise, try installing Pykdtree from source (ex. "
+ "``pip install --no-binary pykdtree --force-install pykdtree``)."
+ ) from err
=====================================
setup.py
=====================================
@@ -20,8 +20,9 @@ import sys
import re
import numpy as np
-from Cython.Build import cythonize
-from setuptools import setup, Extension
+from Cython.Build import build_ext
+from Cython.Distutils import Extension
+from setuptools import setup
from setuptools.command.build_ext import build_ext
@@ -189,16 +190,18 @@ 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"},
+ cython_directives={"language_level": "3"},
),
]
+
setup(
name='pykdtree',
- version='1.3.10',
+ version='1.3.11',
url="https://github.com/storpipfugl/pykdtree",
description='Fast kd-tree implementation with OpenMP-enabled queries',
long_description=readme,
+ long_description_content_type="text/x-rst",
author='Esben S. Nielsen',
author_email='storpipfugl at gmail.com',
packages=['pykdtree'],
@@ -206,7 +209,7 @@ setup(
install_requires=['numpy'],
tests_require=['pytest'],
zip_safe=False,
- ext_modules=cythonize(extensions),
+ ext_modules=extensions,
cmdclass={'build_ext': build_ext_subclass},
classifiers=[
'Development Status :: 5 - Production/Stable',
View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/-/compare/82f526bdb77a46a88c657930e554d727cc5b0150...4af7a91457c8db4cad2f123f8fdeae7861a36978
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pykdtree/-/compare/82f526bdb77a46a88c657930e554d727cc5b0150...4af7a91457c8db4cad2f123f8fdeae7861a36978
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/20240217/76ba45a1/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list