forked from pool/python-pyproj
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 76d86bd04e | |||
| 8faa5926e2 | |||
| 081eda64b8 | |||
| cc834b26b1 | |||
| 4f57cc9a4c | |||
|
|
6e88ffbc4f |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf
|
||||
size 225131
|
||||
3
pyproj-3.7.2.tar.gz
Normal file
3
pyproj-3.7.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39a0cf1ecc7e282d1d30f36594ebd55c9fae1fda8a2622cee5d100430628f88c
|
||||
size 226279
|
||||
@@ -1,3 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 17:06:58 UTC 2025 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
- Update to 3.7.2
|
||||
* Bump pypa/cibuildwheel from 2.22 to 2.23 by @dependabot[bot]
|
||||
in #1479
|
||||
* TST: Only import time.perf_counter by @snowman2 in #1480
|
||||
* DEP: Minimum PROJ version 9.4 by @snowman2 in #1481
|
||||
* DEP: Python 3.11+ by @snowman2 in #1483
|
||||
* Bump scientific-python/upload-nightly-action from 0.6.1 to
|
||||
0.6.2 by @dependabot[bot] in #1488
|
||||
* DOC: update doc geometry_area_perimeter by @myl-dvl in #1489
|
||||
* DOC: Remove 'noqa: E501' from docstrings by @adamjstewart
|
||||
in #1492
|
||||
* pyproj.crs: add imports to all by @adamjstewart in #1494
|
||||
* MNT: replace black and isort with ruff format and lint by
|
||||
@mwtoews in #1496
|
||||
* BUILD/CI: Add win_arm64 wheel build by @khmyznikov in #1503
|
||||
* Bump pypa/cibuildwheel from 2.23 to 3.0 by @dependabot[bot]
|
||||
in #1502
|
||||
* Bump pypa/cibuildwheel from 3.0.0 to 3.0.1 by
|
||||
@dependabot[bot] in #1505
|
||||
* BLD: Enable free-threading compatibility by @djhoese in #1512
|
||||
* CI: Add 3.13 free-threading wheels by @djhoese in #1514
|
||||
* Bump actions/download-artifact from 4 to 5 by
|
||||
@dependabot[bot] in #1520
|
||||
* TST: Remove irrelevant test with modern PROJ versions by
|
||||
@djhoese in #1519
|
||||
* Bump actions/checkout from 4 to 5 by @dependabot[bot]
|
||||
in #1521
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 16 11:21:59 UTC 2025 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
- Update to 3.7.1
|
||||
* WHL: Wheels contain PROJ 9.5.1 by @snowman2 in #1477
|
||||
* WHL: MacOS minimum deployment target moved to 13 by @snowman2
|
||||
in #1475
|
||||
* WHL: Add wheels for musllinux by @necabo in #1461
|
||||
* MNT: Remove use of utcnow() and change to naive datetimes
|
||||
instead. by @greglucas in #1450
|
||||
* MNT: Cython 3.1+ fixes by @greglucas in #1452
|
||||
* TST: remove checking is python >= 3.4 by @kloczek in #1446
|
||||
* TST: Add assert statements at the end of tests by @tqa236
|
||||
in #1453
|
||||
* LNT: Setup ruff by @tqa236 in #1455
|
||||
* LNT: Disallow type error without code by @tqa236 in #1456
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 23 09:18:51 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 3.7.0
|
||||
## Dependencies:
|
||||
* DEP: Minimum PROJ version 9.2 by @snowman2 in #1394
|
||||
## Enhancements:
|
||||
* PERF: drop GIL during long-running proj database calls by
|
||||
@tpwrules in #1354
|
||||
* PERF: thread local context by @snowman2 in #1419
|
||||
* ENH: Add is_deprecated and get_non_deprecated() to CRS by
|
||||
@jjimenezshaw in #1383
|
||||
* ENH: Add runtime & compiled PROJ versions by @snowman2 in #1427
|
||||
## Bug fixes:
|
||||
* BUG: Handle changes to HotineObliqueMercatorBConversion by
|
||||
@snowman2 in #1430
|
||||
* BUG: Support azimuthal_equidistant coordinate operation to CF
|
||||
by @snowman2 in #1380
|
||||
- Drop v3.6.1-BUG-Support-azimuthal_equidistant-coordinate-operati.patch
|
||||
- Drop v3.6.1-test-datum-ensemble-allowing-new-members.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 20 12:36:38 UTC 2024 - Libor Pechacek <lpechacek@gmx.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyproj
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyproj
|
||||
Version: 3.6.1
|
||||
Version: 3.7.2
|
||||
Release: 0
|
||||
Summary: Python interface to PROJ library
|
||||
License: SUSE-Public-Domain AND X11
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pyproj4/pyproj
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyproj/pyproj-%{version}.tar.gz
|
||||
Patch0: v3.6.1-BUG-Support-azimuthal_equidistant-coordinate-operati.patch
|
||||
Patch1: v3.6.1-test-datum-ensemble-allowing-new-members.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -34,7 +32,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: proj
|
||||
BuildRequires: proj-devel >= 8
|
||||
BuildRequires: proj-devel >= 9.2
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-certifi
|
||||
Requires(post): update-alternatives
|
||||
@@ -43,9 +41,10 @@ Requires(postun): update-alternatives
|
||||
BuildRequires: %{python_module Shapely}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module xarray if %python-base >= 3.10}
|
||||
BuildRequires: %{python_module xarray}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -91,7 +90,7 @@ $python -c "import pyproj; pyproj.Proj(init='epsg:4269')"
|
||||
}
|
||||
# Reset to remove wrong flavor path from loop above
|
||||
export PYTHONPATH=""
|
||||
%pytest_arch -rs -k "not (network or test_transformer_group__get_transform_crs)"
|
||||
%pytest_arch -rs -k "not (network)"
|
||||
mv pyproj_temp pyproj
|
||||
|
||||
%post
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 1e8f5dd57b6022fb2a3600a8a6efc94d34c70f43 Mon Sep 17 00:00:00 2001
|
||||
From: "Alan D. Snow" <alansnow21@gmail.com>
|
||||
Date: Thu, 15 Feb 2024 22:51:24 -0600
|
||||
Subject: [PATCH] BUG: Support azimuthal_equidistant coordinate operation to CF
|
||||
(#1380)
|
||||
|
||||
---
|
||||
pyproj/crs/_cf1x8.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pyproj/crs/_cf1x8.py b/pyproj/crs/_cf1x8.py
|
||||
index 207a7b2e9b91..51929c601fb6 100644
|
||||
--- a/pyproj/crs/_cf1x8.py
|
||||
+++ b/pyproj/crs/_cf1x8.py
|
||||
@@ -659,6 +659,7 @@ def _pole_rotation_netcdf__to_cf(conversion):
|
||||
_INVERSE_GRID_MAPPING_NAME_MAP = {
|
||||
"albers_equal_area": _albers_conical_equal_area__to_cf,
|
||||
"modified_azimuthal_equidistant": _azimuthal_equidistant__to_cf,
|
||||
+ "azimuthal_equidistant": _azimuthal_equidistant__to_cf,
|
||||
"geostationary_satellite_(sweep_x)": _geostationary__to_cf,
|
||||
"geostationary_satellite_(sweep_y)": _geostationary__to_cf,
|
||||
"lambert_azimuthal_equal_area": _lambert_azimuthal_equal_area__to_cf,
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
From ec9509f0561dbc243ad6df01613f38bd83a0e7cc Mon Sep 17 00:00:00 2001
|
||||
From: Javier Jimenez Shaw <j1@jimenezshaw.com>
|
||||
Date: Sun, 2 Jun 2024 03:38:30 +0200
|
||||
Subject: [PATCH] test datum ensemble allowing new members. fixes #1403 (#1407)
|
||||
|
||||
---
|
||||
test/crs/test_crs.py | 8 ++++++--
|
||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/crs/test_crs.py b/test/crs/test_crs.py
|
||||
index 794e1c3f0834..d3f4fcb57bc9 100644
|
||||
--- a/test/crs/test_crs.py
|
||||
+++ b/test/crs/test_crs.py
|
||||
@@ -728,7 +728,7 @@ def test_coordinate_operation__from_authority__empty():
|
||||
|
||||
|
||||
def test_datum__from_epsg():
|
||||
- datum_wkt = (
|
||||
+ datum_wkt_prefix = (
|
||||
'ENSEMBLE["World Geodetic System 1984 ensemble",'
|
||||
'MEMBER["World Geodetic System 1984 (Transit)",ID["EPSG",1166]],'
|
||||
'MEMBER["World Geodetic System 1984 (G730)",ID["EPSG",1152]],'
|
||||
@@ -737,10 +737,14 @@ def test_datum__from_epsg():
|
||||
'MEMBER["World Geodetic System 1984 (G1674)",ID["EPSG",1155]],'
|
||||
'MEMBER["World Geodetic System 1984 (G1762)",ID["EPSG",1156]],'
|
||||
'MEMBER["World Geodetic System 1984 (G2139)",ID["EPSG",1309]],'
|
||||
+ )
|
||||
+ datum_wkt_suffix = (
|
||||
'ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1],'
|
||||
'ID["EPSG",7030]],ENSEMBLEACCURACY[2.0],ID["EPSG",6326]]'
|
||||
)
|
||||
- assert Datum.from_epsg("6326").to_wkt() == datum_wkt
|
||||
+ # Testing this way avoids problems when new members are added to the datum ensemble
|
||||
+ assert Datum.from_epsg("6326").to_wkt().startswith(datum_wkt_prefix)
|
||||
+ assert Datum.from_epsg("6326").to_wkt().endswith(datum_wkt_suffix)
|
||||
|
||||
|
||||
def test_datum__from_authority():
|
||||
--
|
||||
2.45.2
|
||||
|
||||
Reference in New Issue
Block a user