public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fitsio] f45: Update to version 1.4.2
@ 2026-09-07 11:28 Sergio Pascual
  0 siblings, 0 replies; only message in thread
From: Sergio Pascual @ 2026-09-07 11:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-fitsio
Branch : f45
Commit : eca33cbfdc1621c9e38c91602bf370944d482c79
Author : Sergio Pascual <sergiopr@fedoraproject.org>
Date   : 2026-09-07T12:13:16+02:00
Stats  : +4/-33 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-fitsio/c/eca33cbfdc1621c9e38c91602bf370944d482c79?branch=f45

Log:
Update to version 1.4.2

---
diff --git a/.gitignore b/.gitignore
index 235a748..ba34418 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /fitsio-1.2.6.tar.gz
 /fitsio-1.2.8.tar.gz
 /fitsio-1.3.0.tar.gz
+/fitsio-1.4.2.tar.gz

diff --git a/492f938efe60615287b677020c63c10291920648.patch b/492f938efe60615287b677020c63c10291920648.patch
deleted file mode 100644
index 9409cdf..0000000
--- a/492f938efe60615287b677020c63c10291920648.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 492f938efe60615287b677020c63c10291920648 Mon Sep 17 00:00:00 2001
-From: Aurelien Jarno <aurelien@aurel32.net>
-Date: Sun, 3 May 2026 00:57:45 +0200
-Subject: [PATCH] test_compression_diskfile_kwargs: support both RICE_ONE and
- RICE_1
-
-Starting with CFITSIO 4.6.4, commit 7d854ef29a4c ("Stop writing RICE_ONE
-as an alias for RICE_1."), the ZCMPTYPE header returns RICE_1 instead of
-RICE_ONE, breaking the test_compression_diskfile_kwargs test. Update it
-to accept both values to maintain compatibility across CFITSIO versions.
----
- fitsio/tests/test_image_compression_defaults.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/fitsio/tests/test_image_compression_defaults.py b/fitsio/tests/test_image_compression_defaults.py
-index c7ee03ed..c927be3e 100644
---- a/fitsio/tests/test_image_compression_defaults.py
-+++ b/fitsio/tests/test_image_compression_defaults.py
-@@ -37,9 +37,10 @@ def test_compression_diskfile_kwargs():
-             ('ZTILE2', 10),
-             ('ZQUANTIZ', 'SUBTRACTIVE_DITHER_2'),
-             ('ZDITHER0', 42),
--            ('ZCMPTYPE', 'RICE_ONE'),
-         ]:
-             assert hdr[key] == val
-+        # Starting with cfitsio 4.6.4, RICE_1 is returned instead of RICE_ONE
-+        assert hdr['ZCMPTYPE'] in ('RICE_ONE', 'RICE_1')
- 
- 
- def test_compression_efns():

diff --git a/python-fitsio.spec b/python-fitsio.spec
index b8a6041..83ef4b5 100644
--- a/python-fitsio.spec
+++ b/python-fitsio.spec
@@ -3,14 +3,14 @@
 
 
 Name:           python-%{srcname}
-Version:        1.3.0
+Version:        1.4.2
 Release:        %autorelease
 Summary:        %{sum}
 
 License:        GPL-2.0-only
 URL:            https://github.com/esheldon/fitsio
 Source0:        %{pypi_source}
-Patch: https://github.com/esheldon/fitsio/commit/492f938efe60615287b677020c63c10291920648.patch
+#Patch: https://github.com/esheldon/fitsio/commit/492f938efe60615287b677020c63c10291920648.patch
 
 # General
 BuildRequires:  cfitsio-devel

diff --git a/sources b/sources
index cd41fc7..cd37952 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fitsio-1.3.0.tar.gz) = 7b11abe6392855540dafc5adb49c898b2abf8e66c196297a94affba9bc0de019348579127811593dd4b639b82bf8a33c9ba0a61c0939435eab7eec303fa360f3
+SHA512 (fitsio-1.4.2.tar.gz) = ba49993c2ff357917134643170db9688d77d10c1d1c767421f77fdd09579d6b6ef88903aa8747207f59e495edab9352c68a29646c6d00b1c6e5156d2dd77f64e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 11:28 [rpms/python-fitsio] f45: Update to version 1.4.2 Sergio Pascual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox