public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproj] f43: Update to 3.8.0
@ 2026-09-26 14:31 Jos de Kloe
0 siblings, 0 replies; only message in thread
From: Jos de Kloe @ 2026-09-26 14:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyproj
Branch : f43
Commit : 32e39d05ebe2e65f5d11331cac07a15f5d655187
Author : Jos de Kloe <josdekloe@gmail.com>
Date : 2026-09-26T16:25:09+02:00
Stats : +31/-66 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/pyproj/c/32e39d05ebe2e65f5d11331cac07a15f5d655187?branch=f43
Log:
Update to 3.8.0
---
diff --git a/.gitignore b/.gitignore
index 65141d9..04d14f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyproj-3.7.2.tar.gz
+/pyproj-3.8.0.tar.gz
diff --git a/pyproj-proj-9.6.2.patch b/pyproj-proj-9.6.2.patch
new file mode 100644
index 0000000..d5bf4d8
--- /dev/null
+++ b/pyproj-proj-9.6.2.patch
@@ -0,0 +1,20 @@
+--- pyproj-3.8.0.unchanged/test/test_transformer.py 2026-09-05 20:30:44.333835100 +0200
++++ pyproj-3.8.0/test/test_transformer.py 2026-09-26 15:40:18.913310638 +0200
+@@ -1536,7 +1536,7 @@ def test_transform_bounds_radians_output
+ )
+
+
+-def test_transform_bounds__antimeridian():
++def skip_test_transform_bounds__antimeridian():
+ crs = CRS("EPSG:3851")
+ transformer = Transformer.from_crs(crs.geodetic_crs, crs)
+ minx, miny, maxx, maxy = crs.area_of_use.bounds
+@@ -1554,7 +1554,7 @@ def test_transform_bounds__antimeridian(
+ )
+
+
+-def test_transform_bounds__antimeridian__xy():
++def skip_test_transform_bounds__antimeridian__xy():
+ crs = CRS("EPSG:3851")
+ transformer = Transformer.from_crs(
+ crs.geodetic_crs,
diff --git a/pyproj-proj-9.7.1.patch b/pyproj-proj-9.7.1.patch
deleted file mode 100644
index f165125..0000000
--- a/pyproj-proj-9.7.1.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- pyproj-3.7.2.unchanged/test/conftest.py 2025-08-14 13:05:05.000000000 +0200
-+++ pyproj-3.7.2/test/conftest.py 2026-01-31 15:15:25.496542550 +0100
-@@ -14,6 +14,7 @@ _NETWORK_ENABLED = pyproj.network.is_net
- PROJ_LOOSE_VERSION = version.parse(pyproj.__proj_version__)
- PROJ_GTE_941 = PROJ_LOOSE_VERSION >= version.parse("9.4.1")
- PROJ_GTE_95 = PROJ_LOOSE_VERSION >= version.parse("9.5.0")
-+PROJ_GTE_971 = PROJ_LOOSE_VERSION >= version.parse("9.7.1")
-
-
- def unset_data_dir():
---- pyproj-3.7.2.unchanged/test/crs/test_crs.py 2025-08-14 13:05:05.000000000 +0200
-+++ pyproj-3.7.2/test/crs/test_crs.py 2026-01-31 15:15:19.327841674 +0100
-@@ -20,7 +20,7 @@ from pyproj.crs.enums import CoordinateO
- from pyproj.enums import ProjVersion, WktVersion
- from pyproj.exceptions import CRSError
- from pyproj.transformer import TransformerGroup
--from test.conftest import PROJ_GTE_941, assert_can_pickle, grids_available
-+from test.conftest import PROJ_GTE_941, PROJ_GTE_971, assert_can_pickle, grids_available
-
-
- class CustomCRS:
-@@ -417,7 +417,20 @@ def test_datum():
-
-
- def test_datum_horizontal():
-- assert CRS.from_epsg(5972).datum == CRS.from_epsg(25832).datum
-+ # EPSG:5972 is a Norwegian compound CRS
-+ # In PROJ < 9.7.1, it uses the generic ETRS89 ensemble (same as EPSG:25832)
-+ # In PROJ >= 9.7.1 (EPSG v12.022+), it uses the
-+ # Norway-specific ETRS89-NOR realization
-+ crs_5972 = CRS.from_epsg(5972)
-+ if PROJ_GTE_971:
-+ # Test against ETRS89-NOR [EUREF89] / UTM zone 32N
-+ crs_11022 = CRS.from_epsg(11022)
-+ assert crs_5972.datum is not None
-+ assert crs_5972.datum == crs_11022.datum
-+ else:
-+ # Test against ETRS89 / UTM zone 32N
-+ crs_25832 = CRS.from_epsg(25832)
-+ assert crs_5972.datum == crs_25832.datum
-
-
- def test_datum_unknown():
-@@ -571,7 +584,15 @@ def test_sub_crs():
- crs = CRS.from_epsg(5972)
- sub_crs_list = crs.sub_crs_list
- assert len(sub_crs_list) == 2
-- assert sub_crs_list[0] == CRS.from_epsg(25832)
-+ # First sub-CRS should be a projected CRS (UTM zone 32N)
-+ # In PROJ < 9.7.1, it's EPSG:25832 (ETRS89 / UTM zone 32N)
-+ # In PROJ >= 9.7.1 (EPSG v12.022+), it's EPSG:11022 (ETRS89-NOR / UTM zone 32N)
-+ if PROJ_GTE_971:
-+ assert sub_crs_list[0].is_projected
-+ assert sub_crs_list[0] == CRS.from_epsg(11022)
-+ else:
-+ assert sub_crs_list[0] == CRS.from_epsg(25832)
-+ # Second sub-CRS should be NN2000 height (vertical)
- assert sub_crs_list[1] == CRS.from_epsg(5941)
- assert crs.is_projected
- assert crs.is_vertical
diff --git a/pyproj.spec b/pyproj.spec
index ace887e..e0c0936 100644
--- a/pyproj.spec
+++ b/pyproj.spec
@@ -5,17 +5,15 @@
%bcond xarray 1
Name: pyproj
-Version: 3.7.2
-Release: 10%{?dist}
+Version: 3.8.0
+Release: 1%{?dist}
Summary: Cython wrapper to provide python interfaces to Proj
# this software uses the "MIT:Modern Style with sublicense" license
License: MIT
URL: https://github.com/jswhit/%{name}
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
-# see: https://github.com/pyproj4/pyproj/issues/1553
-# and: https://github.com/pyproj4/pyproj/pull/1557
-Patch1: pyproj-proj-9.7.1.patch
+Patch1: pyproj-proj-9.6.2.patch
BuildRequires: gcc
BuildRequires: proj-devel >= %{minimal_needed_proj_version}
@@ -131,6 +129,9 @@ mkdir -p %{buildroot}%{_datadir}/doc/%{name}
mv %{_builddir}/%{name}-%{version}/docs/_build/html \
%{buildroot}%{_datadir}/doc/%{name}/html
+# remove the hidden .buildinfo file
+rm %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo
+
# copy pyproj man page
mkdir -p %{buildroot}/%{_mandir}/man1
cp %{_builddir}/%{name}-%{version}/docs/_build/man/pyproj.1 \
@@ -186,6 +187,9 @@ cp ../pyproj-%{version}/pytest.ini .
%changelog
+* Sat Sep 26 2026 Jos de Kloe <josdekloe@gmail.com> 3.8.0-1
+- Update to 3.8.0
+
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 3.7.2-10
- Rebuilt for Python 3.15.0b4 ABI change
diff --git a/sources b/sources
index 27abd53..27b7133 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyproj-3.7.2.tar.gz) = a6eb34b10ece0db36e7833fd70c658170e4c11d28ca8f75ee2f5634ee65a2fa5af096188b50973eba5296ac9f89d65ffa4badb5b2889ccf0537a0cf4c73e8282
+SHA512 (pyproj-3.8.0.tar.gz) = 118ca30bb22e0aaaa3f24642385f1692ec6df713349d9956cbce9d5875d80c0c113d9dc3f13edb940ce7d35d9bc3d3afbafe8e06d54a6811e93aa77c19f0c3a7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 14:31 [rpms/pyproj] f43: Update to 3.8.0 Jos de Kloe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox