[Git][debian-gis-team/antimeridian][master] 4 commits: New upstream version 0.3.7
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Sun Jun 23 15:23:48 BST 2024
Antonio Valentino pushed to branch master at Debian GIS Project / antimeridian
Commits:
ff8407e4 by Antonio Valentino at 2024-06-23T14:06:17+00:00
New upstream version 0.3.7
- - - - -
bd8f6404 by Antonio Valentino at 2024-06-23T14:06:55+00:00
Update upstream source from tag 'upstream/0.3.7'
Update to upstream version '0.3.7'
with Debian dir fec1cd0ac328d74a26820c0d8b652a427d52c5f2
- - - - -
319103e1 by Antonio Valentino at 2024-06-23T14:07:51+00:00
New upstream release
- - - - -
9a1f3c37 by Antonio Valentino at 2024-06-23T14:08:52+00:00
Set distribution to unstable
- - - - -
8 changed files:
- .github/dependabot.yml
- .github/workflows/ci.yaml
- .pre-commit-config.yaml
- CHANGELOG.md
- debian/changelog
- pyproject.toml
- − scripts/install-min-dependencies
- src/antimeridian/_implementation.py
Changes:
=====================================
.github/dependabot.yml
=====================================
@@ -8,3 +8,4 @@ updates:
directory: "/"
schedule:
interval: "weekly"
+ versioning-strategy: increase-if-necessary
=====================================
.github/workflows/ci.yaml
=====================================
@@ -1,4 +1,4 @@
-name: Continuous Integration
+name: Continuous integration
concurrency:
group: ${{ github.ref }}
@@ -16,9 +16,10 @@ jobs:
strategy:
fail-fast: true
matrix:
- # We can't just install without the cli extra, because black depends on click
- with-click: [true, false]
- python-version: ["3.8", "3.9", "3.10", "3.11"]
+ extras:
+ - "dev"
+ - "cli,dev"
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout at v4
@@ -28,10 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install with development dependencies
- run: pip install .[cli,dev]
- - name: Uninstall click
- if: ${{ !matrix.with-click }}
- run: pip uninstall -y click
+ run: pip install .[${{ matrix.extras }}]
- name: Check with pre-commit
run: pre-commit run --all-files
- name: Test
@@ -45,15 +43,10 @@ jobs:
uses: actions/setup-python at v5
with:
python-version: "3.8"
- cache: "pip"
- - name: Install geos
- run: sudo apt-get install libgeos-dev
+ - name: Insall uv
+ run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install with development dependencies
- run: pip install .[cli,dev]
- - name: Install minimum versions of dependencies
- run: scripts/install-min-dependencies
- - name: Check with pre-commit
- run: pre-commit run --all-files
+ run: uv pip install .[cli,dev] --resolution lowest-direct --system
- name: Test
run: pytest
docs:
=====================================
.pre-commit-config.yaml
=====================================
@@ -14,7 +14,7 @@ repos:
- click~=8.1.6
- pytest~=8.0
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.4.4
+ rev: v0.4.9
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
=====================================
CHANGELOG.md
=====================================
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
+## [0.3.7] - 2024-06-20
+
+### Fixed
+
+- `__geo_interface` is a property ([#121](https://github.com/gadomski/antimeridian/pull/121))
+
## [0.3.6] - 2024-05-16
### Fixed
@@ -134,7 +140,8 @@ This v0.1.0 release is to indicate that we think that this package is ready to u
Initial release.
-[unreleased]: https://github.com/gadomski/antimeridian/compare/v0.3.6...HEAD
+[unreleased]: https://github.com/gadomski/antimeridian/compare/v0.3.7...HEAD
+[0.3.7]: https://github.com/gadomsk/antimeridian/compare/v0.3.6...v0.3.7
[0.3.6]: https://github.com/gadomsk/antimeridian/compare/v0.3.5...v0.3.6
[0.3.5]: https://github.com/gadomsk/antimeridian/compare/v0.3.4...v0.3.5
[0.3.4]: https://github.com/gadomsk/antimeridian/compare/v0.3.3...v0.3.4
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+antimeridian (0.3.7-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Sun, 23 Jun 2024 14:08:34 +0000
+
antimeridian (0.3.6-1) unstable; urgency=medium
* New upstream release.
=====================================
pyproject.toml
=====================================
@@ -1,6 +1,6 @@
[project]
name = "antimeridian"
-version = "0.3.6"
+version = "0.3.7"
authors = [{ name = "Pete Gadomski", email = "pete.gadomski at gmail.com" }]
description = "Fix GeoJSON geometries that cross the antimeridian"
readme = "README.md"
@@ -9,6 +9,11 @@ keywords = ["geojson", "antimeridian", "shapely"]
license = { text = "Apache-2.0" }
classifiers = [
"Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta",
]
dependencies = ["numpy>=1.17.4", "shapely>=2.0"]
@@ -25,7 +30,7 @@ dev = [
"packaging~=24.0",
"pre-commit~=3.2",
"pytest~=8.0",
- "pytest-console-scripts~=1.3",
+ "pytest-console-scripts~=1.4",
"ruff~=0.4.2",
"tomli~=2.0; python_version<'3.11'",
"typing_extensions; python_version<'3.10'",
@@ -38,7 +43,7 @@ docs = [
"pydata-sphinx-theme~=0.13",
"scipy~=1.12",
"sphinx~=7.0",
- "sphinx-click~=5.0",
+ "sphinx-click~=6.0",
]
[project.scripts]
=====================================
scripts/install-min-dependencies deleted
=====================================
@@ -1,38 +0,0 @@
-#!/usr/bin/env python3
-
-"""Installs the minimum version of all dependencies, with pip.
-
-Assumptions:
-- You've installed the development dependencies: `pip install '.[dev]'`
-- All of the dependencies in pyproject.toml are specified with `>=`
-"""
-
-import subprocess
-import sys
-from pathlib import Path
-
-from packaging.requirements import Requirement
-
-assert sys.version_info[0] == 3
-if sys.version_info[1] < 11:
- import tomli as toml
-else:
- import tomllib as toml
-
-
-root = Path(__file__).parents[1]
-with open(root / "pyproject.toml", "rb") as f:
- pyproject_toml = toml.load(f)
-requirements = []
-for install_requires in filter(
- bool,
- (i.strip() for i in pyproject_toml["project"]["dependencies"]),
-):
- requirement = Requirement(install_requires)
- assert len(requirement.specifier) == 1
- specifier = next(iter(requirement.specifier))
- assert specifier.operator == ">="
- install_requires = install_requires.replace(">=", "==")
- requirements.append(install_requires)
-
-subprocess.run(["pip", "install", *requirements], check=True)
=====================================
src/antimeridian/_implementation.py
=====================================
@@ -61,6 +61,7 @@ class GeoInterface(Protocol):
extract geometries from objects.
"""
+ @property
def __geo_interface__(self) -> Dict[str, Any]: ...
View it on GitLab: https://salsa.debian.org/debian-gis-team/antimeridian/-/compare/75344eb13c2ad77eec2699bd7a222b0cfe5a36ea...9a1f3c37271ec86329cb0d13fafe6e8255e6344c
--
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/antimeridian/-/compare/75344eb13c2ad77eec2699bd7a222b0cfe5a36ea...9a1f3c37271ec86329cb0d13fafe6e8255e6344c
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/20240623/089e8fb8/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list