[Git][debian-gis-team/python-rtree][upstream] New upstream version 1.0.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Oct 12 05:31:21 BST 2022
Bas Couwenberg pushed to branch upstream at Debian GIS Project / python-rtree
Commits:
6726b5e3 by Bas Couwenberg at 2022-10-12T06:18:23+02:00
New upstream version 1.0.1
- - - - -
5 changed files:
- .github/workflows/build.yml
- README.md
- rtree/__init__.py
- + rtree/py.typed
- setup.cfg
Changes:
=====================================
.github/workflows/build.yml
=====================================
@@ -6,13 +6,17 @@ on:
release:
types:
- published
+ workflow_dispatch:
+ schedule:
+ - cron: '0 6 * * 1'
+
jobs:
black:
name: black
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
with:
python-version: '3.10'
- name: Setup
@@ -24,8 +28,8 @@ jobs:
name: flake8
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
with:
python-version: '3.10'
- name: Setup
@@ -37,8 +41,8 @@ jobs:
name: isort
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
with:
python-version: '3.10'
- name: Setup
@@ -50,8 +54,8 @@ jobs:
name: mypy
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
with:
python-version: '3.10'
- name: Setup
@@ -71,7 +75,7 @@ jobs:
sidx-version: ['1.8.5','1.9.3']
steps:
- - uses: actions/checkout at v2
+ - uses: actions/checkout at v3
- uses: conda-incubator/setup-miniconda at v2
with:
channels: conda-forge
@@ -81,7 +85,6 @@ jobs:
shell: bash -l {0}
run: |
conda install -c conda-forge numpy libspatialindex=${{ matrix.sidx-version }} -y
-
- name: Install
shell: bash -l {0}
run: |
@@ -91,26 +94,24 @@ jobs:
run: |
pip install pytest
python -m pytest --doctest-modules rtree tests
-
ubuntu:
- name: Ubuntu ${{ matrix.os }}
-
- runs-on: ubuntu-18.04
+ name: Ubuntu Python ${{ matrix.python-version }}
+ runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
- os: ['ubuntu-18.04', 'ubuntu-20.04']
+ python-version: ['3.8', '3.9', '3.10']
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
name: Install Python
with:
python-version: '3.10'
- name: Setup
shell: bash -l {0}
run: |
- sudo apt install libspatialindex-c4v5 python3-pip
+ sudo apt install libspatialindex-c6 python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install setuptools numpy pytest
@@ -142,14 +143,14 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- - uses: actions/checkout at v1
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
name: Install Python
with:
python-version: '3.10'
- name: Install cibuildwheel
run: |
- python -m pip install cibuildwheel==2.3.1
+ python -m pip install cibuildwheel==2.10.2
- name: Run MacOS Preinstall Build
if: startsWith(matrix.os, 'macos')
run: |
@@ -177,7 +178,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python_tag: [ "cp37-*", "cp38-*", "cp39-*", "cp310-*"]
+ python_tag: [ "cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
env:
CIBW_ARCHS_LINUX: aarch64
CIBW_BUILD: ${{matrix.python_tag}}
@@ -186,20 +187,20 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
steps:
- - uses: actions/checkout at v1
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
name: Install Python
with:
python-version: '3.10'
- name: Install cibuildwheel
run: |
- python -m pip install cibuildwheel==2.3.1
- - uses: docker/setup-qemu-action at v1
+ python -m pip install cibuildwheel==2.10.2
+ - uses: docker/setup-qemu-action at v2
name: Set up QEMU
- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
- - uses: actions/upload-artifact at v2
+ - uses: actions/upload-artifact at v3
with:
name: aarch64-whl
path: wheelhouse/*.whl
@@ -215,21 +216,21 @@ jobs:
fail-fast: true
steps:
- - uses: actions/checkout at v2
- - uses: actions/setup-python at v2
+ - uses: actions/checkout at v3
+ - uses: actions/setup-python at v4
name: Install Python
with:
python-version: '3.10'
- name: Source
shell: bash -l {0}
run: |
- sudo apt install libspatialindex-c4v5 python3-pip
+ sudo apt install libspatialindex-c6 python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install setuptools numpy pytest wheel
export PATH=$PATH:/home/runner/.local/bin
python3 setup.py sdist
- - uses: actions/download-artifact at v2
+ - uses: actions/download-artifact at v3
with:
path: dist
name: Download artifacts
@@ -251,7 +252,7 @@ jobs:
rm -rf *\-whl
ls -al
- - uses: pypa/gh-action-pypi-publish at master
+ - uses: pypa/gh-action-pypi-publish at release/v1
name: Publish package
if: github.event_name == 'release' && github.event.action == 'published'
with:
=====================================
README.md
=====================================
@@ -4,7 +4,7 @@
[](https://badge.fury.io/py/Rtree)
-Rtree`_ is a [ctypes](http://docs.python.org/library/ctypes.html) Python wrapper of [libspatialindex](https://libspatialindex.org/) that provides a
+Rtree is a [ctypes](http://docs.python.org/library/ctypes.html) Python wrapper of [libspatialindex](https://libspatialindex.org/) that provides a
number of advanced spatial indexing features for the spatially curious Python
user. These features include:
@@ -26,6 +26,11 @@ pip install rtree
# Changes
+## 1.0.1
+
+* Fix up type hints #243 (thanks @oderby)
+* Python 3.11 wheels #250 (thanks @ewouth)
+
## 1.0.0
=====================================
rtree/__init__.py
=====================================
@@ -4,6 +4,6 @@
Rtree provides Python bindings to libspatialindex for quick
hyperrectangular intersection queries.
"""
-__version__ = "1.0.0"
+__version__ = "1.0.1"
from .index import Index, Rtree # noqa
=====================================
rtree/py.typed
=====================================
=====================================
setup.cfg
=====================================
@@ -36,7 +36,7 @@ include_package_date = True
packages = rtree
[options.package_data]
-rtree = lib
+rtree = lib, py.typed
[flake8]
max-line-length = 88
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/6726b5e39635b3de051cedd9957005dbf15e0c75
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-rtree/-/commit/6726b5e39635b3de051cedd9957005dbf15e0c75
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/20221012/8e05300c/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list