Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyproj for openSUSE:Factory checked in at 2026-04-22 17:01:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyproj (Old) and /work/SRC/openSUSE:Factory/.python-pyproj.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyproj" Wed Apr 22 17:01:27 2026 rev:37 rq:1348714 version:3.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyproj/python-pyproj.changes 2026-02-25 21:11:14.679837908 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyproj.new.11940/python-pyproj.changes 2026-04-22 17:02:20.458802777 +0200 @@ -1,0 +2,18 @@ +Wed Apr 15 07:12:36 UTC 2026 - Bruno Friedmann <[email protected]> + +- Remove broken LicenseRef- typos +- Fix history changelog + +------------------------------------------------------------------- +Sun Apr 12 13:34:10 UTC 2026 - Libor Pechacek <[email protected]> + +- Fix tests for PROJ 9.8.0 and 9.8.1 +- Add upstream patches: + * v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch + * v3.7.2-Fix-tests-and-workflows-5.patch + * v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch + * v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch +- Add proposed upstream patch (#1588): + * v3.7.2-TST-Fix-tests-after-PROJ-9.8.1-EPSG-database-revert.patch + +------------------------------------------------------------------- New: ---- v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch v3.7.2-Fix-tests-and-workflows-5.patch v3.7.2-TST-Fix-tests-after-PROJ-9.8.1-EPSG-database-revert.patch v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch ----------(New B)---------- New:- Add upstream patches: * v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch * v3.7.2-Fix-tests-and-workflows-5.patch New: * v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch * v3.7.2-Fix-tests-and-workflows-5.patch * v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch New:- Add proposed upstream patch (#1588): * v3.7.2-TST-Fix-tests-after-PROJ-9.8.1-EPSG-database-revert.patch New: * v3.7.2-Fix-tests-and-workflows-5.patch * v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch * v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch New: * v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch * v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch - Add proposed upstream patch (#1588): ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyproj.spec ++++++ --- /var/tmp/diff_new_pack.OSF7Ul/_old 2026-04-22 17:02:21.366840374 +0200 +++ /var/tmp/diff_new_pack.OSF7Ul/_new 2026-04-22 17:02:21.366840374 +0200 @@ -21,12 +21,22 @@ Version: 3.7.2 Release: 0 Summary: Python interface to PROJ library -License: SUSE-Public-Domain AND X11 +License: LicenseRef-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 # PATCH-FIX-UPSTREAM v3.7.2-Fix-tests-for-PROJ-9.7.0-and-newer-1557.patch -- based on commit 055cab9 Patch0: https://github.com/pyproj4/pyproj/commit/055cab9.patch#/v3.7.2-Fix-tests-for-PROJ-9.7.0-and-newer-1557.patch +# PATCH-FIX-UPSTREAM v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch -- based on commit 563346b +Patch1: v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch +# PATCH-FIX-UPSTREAM v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch -- based on commit f92e153 +Patch2: v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch +# PATCH-FIX-UPSTREAM v3.7.2-Fix-tests-and-workflows-5.patch -- based on commit 3da9188 +Patch3: v3.7.2-Fix-tests-and-workflows-5.patch +# PATCH-FIX-UPSTREAM v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch -- based on commit 47f6dd4 +Patch4: v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch +# PATCH-FIX-UPSTREAM v3.7.2-Adjust-transformer-tests-for-PROJ-9.8.1-revert.patch -- gh#pyproj/issues#1588 +Patch5: v3.7.2-TST-Fix-tests-after-PROJ-9.8.1-EPSG-database-revert.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} ++++++ v3.7.2-Adjust-transformer-tests-for-PROJ-9.8-behavior-chang.patch ++++++ >From 47f6dd4cbc87b5e60893f3bc8c9c68e6ceb5342b Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis <[email protected]> Date: Mon, 9 Mar 2026 14:26:25 +0100 Subject: [PATCH] Adjust transformer tests for PROJ 9.8 behavior changes (#1581) Update transformer and TransformerGroup tests to account for behavioral changes introduced in PROJ 9.8.0 (e.g., deferred descriptions and non-ballpark filtering). Preserve existing expectations for older PROJ. --- test/test_transformer.py | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -1131,15 +1131,30 @@ def test_transformer_accuracy_filter(): def test_transformer_allow_ballpark_filter(): - with pytest.raises(ProjError): - Transformer.from_crs( + if PROJ_GTE_980: + transformer = Transformer.from_crs( "EPSG:4326", "EPSG:4258", authority="PROJ", allow_ballpark=False ) + assert "Ballpark" not in transformer.description + else: + with pytest.raises(ProjError): + Transformer.from_crs( + "EPSG:4326", "EPSG:4258", authority="PROJ", allow_ballpark=False + ) def test_transformer_authority_filter(): transformer = Transformer.from_crs("EPSG:4326", "EPSG:4258", authority="PROJ") - assert transformer.description == "Ballpark geographic offset from WGS 84 to ETRS89" + if PROJ_GTE_980: + assert transformer.description in { + "unavailable until proj_trans is called", + "Ballpark geographic offset from WGS 84 to ETRS89", + } + else: + assert ( + transformer.description + == "Ballpark geographic offset from WGS 84 to ETRS89" + ) @pytest.mark.parametrize( @@ -1597,7 +1612,14 @@ def test_transformer_group_allow_ballpar group = TransformerGroup( "EPSG:4326", "EPSG:4258", authority="PROJ", allow_ballpark=False ) - assert not group.transformers + if PROJ_GTE_980: + assert len(group.transformers) == 1 + assert all( + "Ballpark" not in transformer.description + for transformer in group.transformers + ) + else: + assert not group.transformers assert not group.unavailable_operations @@ -1609,11 +1631,14 @@ def test_transformer_group_allow_superse def test_transformer_group_authority_filter(): group = TransformerGroup("EPSG:4326", "EPSG:4258", authority="PROJ") - assert len(group.transformers) == 1 + if PROJ_GTE_980: + assert len(group.transformers) == 2 + else: + assert len(group.transformers) == 1 assert not group.unavailable_operations - assert ( - group.transformers[0].description - == "Ballpark geographic offset from WGS 84 to ETRS89" + assert any( + transformer.description == "Ballpark geographic offset from WGS 84 to ETRS89" + for transformer in group.transformers ) ++++++ v3.7.2-Fix-tests-and-workflows-5.patch ++++++ >From 3da9188595355f7292c6a8b8ad870cfd172ab346 Mon Sep 17 00:00:00 2001 From: Per Helge Aarnes <[email protected]> Date: Mon, 12 Jan 2026 21:37:04 +0100 Subject: [PATCH] Fix tests and workflows (#5) update test (related to PROJ upgrade) and fix workflow --- test/test_transformer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -732,7 +732,11 @@ def test_transformer_group__get_transfor if grids_available( "nl_nsgi_nlgeo2018.tif", "nl_nsgi_rdtrans2018.tif", check_all=True ): - assert len(tg.transformers) == 2 + if PROJ_GTE_980: + # Newer proj includes additional transformations + assert len(tg.transformers) == 3 + else: + assert len(tg.transformers) == 2 elif PROJ_GTE_980: # Newer proj includes additional transformations assert len(tg.transformers) == 3 ++++++ v3.7.2-TST-Fix-tests-after-PROJ-9.8.1-EPSG-database-revert.patch ++++++ >From b266041a437138c81ebfd565175143f2714e7911 Mon Sep 17 00:00:00 2001 From: Libor Pechacek <[email protected]> Date: Sun, 12 Apr 2026 15:29:04 +0200 References: gh#pyproj/issues#1588 Upstream: submitted Subject: [PATCH] TST Fix tests after PROJ 9.8.1 EPSG database revert PROJ reverted EPSG database from EPSG 12.054 to 12.029 with v9.8.1, so we need to re-adjust the test for the previous behavior. --- test/conftest.py | 1 + test/crs/test_crs.py | 3 ++- test/test_transformer.py | 13 +++++++------ 3 files changed, 10 insertions(+), 7 deletions(-) --- a/test/conftest.py +++ b/test/conftest.py @@ -16,6 +16,7 @@ PROJ_GTE_941 = PROJ_LOOSE_VERSION >= ver PROJ_GTE_95 = PROJ_LOOSE_VERSION >= version.parse("9.5.0") PROJ_GTE_971 = PROJ_LOOSE_VERSION >= version.parse("9.7.1") PROJ_GTE_980 = PROJ_LOOSE_VERSION >= version.parse("9.8.0") +PROJ_GTE_981 = PROJ_LOOSE_VERSION >= version.parse("9.8.1") def unset_data_dir(): --- a/test/crs/test_crs.py +++ b/test/crs/test_crs.py @@ -24,6 +24,7 @@ from test.conftest import ( PROJ_GTE_941, PROJ_GTE_971, PROJ_GTE_980, + PROJ_GTE_981, assert_can_pickle, grids_available, ) @@ -1223,7 +1224,7 @@ def test_coordinate_operation__from_stri co = CoordinateOperation.from_string("urn:ogc:def:coordinateOperation:EPSG::1671") # PROJ 9.7.1+ renamed this operation from "RGF93 v1 to WGS 84 (1)" # to "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: assert co.name == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" else: assert co.name == "RGF93 v1 to WGS 84 (1)" --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -20,6 +20,7 @@ from pyproj.exceptions import ProjError from pyproj.transformer import AreaOfInterest, TransformerGroup from test.conftest import ( PROJ_GTE_980, + PROJ_GTE_981, grids_available, proj_env, proj_network_env, @@ -737,7 +738,7 @@ def test_transformer_group__get_transfor assert len(tg.transformers) == 3 else: assert len(tg.transformers) == 2 - elif PROJ_GTE_980: + elif PROJ_GTE_980 and not PROJ_GTE_981: # Newer proj includes additional transformations assert len(tg.transformers) == 3 else: @@ -1131,7 +1132,7 @@ def test_transformer_accuracy_filter(): def test_transformer_allow_ballpark_filter(): - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: transformer = Transformer.from_crs( "EPSG:4326", "EPSG:4258", authority="PROJ", allow_ballpark=False ) @@ -1167,7 +1168,7 @@ def test_transformer_authority_filter(): def test_transformer_from_pipeline__input_types(input_string): # PROJ 9.7.1+ renamed this operation from "RGF93 v1 to WGS 84 (1)" # to "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: assert ( Transformer.from_pipeline(input_string).description == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" @@ -1195,7 +1196,7 @@ def test_transformer_from_pipeline__wkt_ method_name, )() ).description - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: assert description == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" else: assert description == "RGF93 v1 to WGS 84 (1)" @@ -1612,7 +1613,7 @@ def test_transformer_group_allow_ballpar group = TransformerGroup( "EPSG:4326", "EPSG:4258", authority="PROJ", allow_ballpark=False ) - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: assert len(group.transformers) == 1 assert all( "Ballpark" not in transformer.description @@ -1631,7 +1632,7 @@ def test_transformer_group_allow_superse def test_transformer_group_authority_filter(): group = TransformerGroup("EPSG:4326", "EPSG:4258", authority="PROJ") - if PROJ_GTE_980: + if PROJ_GTE_980 and not PROJ_GTE_981: assert len(group.transformers) == 2 else: assert len(group.transformers) == 1 ++++++ v3.7.2-TST-Fix-tests-for-RGF93-v1-ETRS89-FRA-RGF93-v1-1560.patch ++++++ >From 563346b20be00ba922a439e6f9a2e238b6bb5426 Mon Sep 17 00:00:00 2001 From: Per Helge Aarnes <[email protected]> Date: Thu, 11 Dec 2025 14:52:55 +0100 Subject: [PATCH] TST: Fix tests for RGF93 v1 -> ETRS89-FRA [RGF93 v1] (#1560) --- test/conftest.py | 1 + test/crs/test_crs.py | 24 +++++++++++++++--------- test/test_transformer.py | 44 ++++++++++++++++++++++++++++++-------------- 3 files changed, 46 insertions(+), 23 deletions(-) --- a/test/conftest.py +++ b/test/conftest.py @@ -15,6 +15,7 @@ PROJ_LOOSE_VERSION = version.parse(pypro 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") +PROJ_GTE_980 = PROJ_LOOSE_VERSION >= version.parse("9.8.0") def unset_data_dir(): --- a/test/crs/test_crs.py +++ b/test/crs/test_crs.py @@ -20,7 +20,13 @@ 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, PROJ_GTE_971, assert_can_pickle, grids_available +from test.conftest import ( + PROJ_GTE_941, + PROJ_GTE_971, + PROJ_GTE_980, + assert_can_pickle, + grids_available, +) class CustomCRS: @@ -727,7 +733,6 @@ def test_coordinate_operation__from_auth "urn:ogc:def:coordinateOperation:EPSG::1671", CoordinateOperation.from_epsg(1671), CoordinateOperation.from_epsg(1671).to_json_dict(), - "RGF93 v1 to WGS 84 (1)", ], ) def test_coordinate_operation__from_user_input(user_input): @@ -1214,13 +1219,14 @@ def test_coordinate_operation_equals(): assert co != "invalid" [email protected]( - "input_str", - ["urn:ogc:def:coordinateOperation:EPSG::1671", "RGF93 v1 to WGS 84 (1)"], -) -def test_coordinate_operation__from_string(input_str): - co = CoordinateOperation.from_string(input_str) - assert co.name == "RGF93 v1 to WGS 84 (1)" +def test_coordinate_operation__from_string(): + co = CoordinateOperation.from_string("urn:ogc:def:coordinateOperation:EPSG::1671") + # PROJ 9.7.1+ renamed this operation from "RGF93 v1 to WGS 84 (1)" + # to "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + if PROJ_GTE_980: + assert co.name == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + else: + assert co.name == "RGF93 v1 to WGS 84 (1)" def test_coordinate_operation__from_name(): --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -18,7 +18,12 @@ from pyproj.datadir import append_data_d from pyproj.enums import TransformDirection from pyproj.exceptions import ProjError from pyproj.transformer import AreaOfInterest, TransformerGroup -from test.conftest import grids_available, proj_env, proj_network_env +from test.conftest import ( + PROJ_GTE_980, + grids_available, + proj_env, + proj_network_env, +) def test_tranform_wgs84_to_custom(): @@ -1134,14 +1139,22 @@ def test_transformer_authority_filter(): "input_string", [ "EPSG:1671", - "RGF93 v1 to WGS 84 (1)", "urn:ogc:def:coordinateOperation:EPSG::1671", ], ) def test_transformer_from_pipeline__input_types(input_string): - assert ( - Transformer.from_pipeline(input_string).description == "RGF93 v1 to WGS 84 (1)" - ) + # PROJ 9.7.1+ renamed this operation from "RGF93 v1 to WGS 84 (1)" + # to "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + if PROJ_GTE_980: + assert ( + Transformer.from_pipeline(input_string).description + == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + ) + else: + assert ( + Transformer.from_pipeline(input_string).description + == "RGF93 v1 to WGS 84 (1)" + ) @pytest.mark.parametrize( @@ -1152,15 +1165,18 @@ def test_transformer_from_pipeline__inpu ], ) def test_transformer_from_pipeline__wkt_json(method_name): - assert ( - Transformer.from_pipeline( - getattr( - Transformer.from_pipeline("urn:ogc:def:coordinateOperation:EPSG::1671"), - method_name, - )() - ).description - == "RGF93 v1 to WGS 84 (1)" - ) + # PROJ 9.7.1+ renamed this operation from "RGF93 v1 to WGS 84 (1)" + # to "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + description = Transformer.from_pipeline( + getattr( + Transformer.from_pipeline("urn:ogc:def:coordinateOperation:EPSG::1671"), + method_name, + )() + ).description + if PROJ_GTE_980: + assert description == "ETRS89-FRA [RGF93 v1] to WGS 84 (1)" + else: + assert description == "RGF93 v1 to WGS 84 (1)" @pytest.mark.parametrize( ++++++ v3.7.2-TST-Update-tests-with-new-transformations-in-PROJ-9..patch ++++++ >From f92e153dd5b2c596487bf04fbe7c265fe10d565f Mon Sep 17 00:00:00 2001 From: Per Helge Aarnes <[email protected]> Date: Mon, 12 Jan 2026 14:54:09 +0100 Subject: [PATCH] TST: Update tests with new transformations in PROJ 9.8 (#1568) --- test/test_transformer.py | 3 +++ 1 file changed, 3 insertions(+) --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -733,6 +733,9 @@ def test_transformer_group__get_transfor "nl_nsgi_nlgeo2018.tif", "nl_nsgi_rdtrans2018.tif", check_all=True ): assert len(tg.transformers) == 2 + elif PROJ_GTE_980: + # Newer proj includes additional transformations + assert len(tg.transformers) == 3 else: assert len(tg.transformers) == 1
