public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-rasterio] rawhide: Skip a test that is now broken on Python 3.15
@ 2026-06-10 3:05 Elliott Sales de Andrade
0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-06-10 3:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-rasterio
Branch : rawhide
Commit : a0c38caf10eb25252e6dc7fd0db623b529185456
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2026-06-09T23:05:09-04:00
Stats : +33/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-rasterio/c/a0c38caf10eb25252e6dc7fd0db623b529185456?branch=rawhide
Log:
Skip a test that is now broken on Python 3.15
---
diff --git a/0001-Loosen-up-build-requirements.patch b/0001-Loosen-up-build-requirements.patch
index c66be02..424246c 100644
--- a/0001-Loosen-up-build-requirements.patch
+++ b/0001-Loosen-up-build-requirements.patch
@@ -1,7 +1,7 @@
From c4d12c59acb4de1a8fd4be635e192e2dd0a7cb92 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Wed, 8 Sep 2021 04:47:08 -0400
-Subject: [PATCH] Loosen up build requirements
+Subject: [PATCH 1/2] Loosen up build requirements
And drop coverage dependencies.
@@ -46,5 +46,5 @@ index 06a3cf95..b444b54f 100755
cythonize_options['compiler_directives'].update(linetrace=True)
cythonize_options['annotate'] = True
--
-2.52.0
+2.54.0
diff --git a/0002-TST-Always-skip-test_memfile_thread_safe_option.patch b/0002-TST-Always-skip-test_memfile_thread_safe_option.patch
new file mode 100644
index 0000000..c82e8ed
--- /dev/null
+++ b/0002-TST-Always-skip-test_memfile_thread_safe_option.patch
@@ -0,0 +1,29 @@
+From 13f7db202b32970e7214a64b7c9a082ab808790f Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Tue, 9 Jun 2026 02:45:26 -0400
+Subject: [PATCH 2/2] TST: Always skip test_memfile_thread_safe_option
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ tests/test_memoryfile.py | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/tests/test_memoryfile.py b/tests/test_memoryfile.py
+index c3630ce2..d38107b0 100644
+--- a/tests/test_memoryfile.py
++++ b/tests/test_memoryfile.py
+@@ -261,10 +261,7 @@ def test_file_object_read_variant(rgb_file_bytes):
+ assert src.read().shape == (3, 718, 791)
+
+
+-@pytest.mark.skipif(
+- platform.system() in ["Windows", "Darwin"],
+- reason="https://github.com/rasterio/rasterio/issues/3499",
+-)
++@pytest.mark.skipif(True, reason="https://github.com/rasterio/rasterio/issues/3499")
+ def test_memfile_thread_safe_option(rgb_file_object):
+ with (
+ pytest.raises(rasterio.errors.GDALOptionNotImplementedError) if not _GDAL_AT_LEAST_3_10 else nullcontext(),
+--
+2.54.0
+
diff --git a/python-rasterio.spec b/python-rasterio.spec
index b0664dd..51d56c0 100644
--- a/python-rasterio.spec
+++ b/python-rasterio.spec
@@ -13,6 +13,8 @@ Source0: https://github.com/rasterio/rasterio/archive/%{version}/%{srcnam
Patch: 0001-Loosen-up-build-requirements.patch
# Fix compatibility with latest GDAL.
Patch: https://github.com/rasterio/rasterio/pull/3529.patch
+# Skip a test that crashes: https://github.com/rasterio/rasterio/issues/3499
+Patch: 0002-TST-Always-skip-test_memfile_thread_safe_option.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 3:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 3:05 [rpms/python-rasterio] rawhide: Skip a test that is now broken on Python 3.15 Elliott Sales de Andrade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox