public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-rasterio] rawhide: Skip a test that is now broken on Python 3.15
Date: Wed, 10 Jun 2026 03:05:26 GMT	[thread overview]
Message-ID: <178106072622.1.15611110190712719672.rpms-python-rasterio-a0c38caf10eb@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-06-10  3:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178106072622.1.15611110190712719672.rpms-python-rasterio-a0c38caf10eb@fedoraproject.org \
    --to=quantum.analyst@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox