unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 48863ba8da3fba34e4869feaf17bd53b2dcf9500 789 bytes (raw)
name: packages/patches/python-pillow-use-zlib-1.3.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
From 9ef7cb39def45b0fe1cdf4828ca20838a1fc39d1 Mon Sep 17 00:00:00 2001
From: Andrew Murray <radarhere@users.noreply.github.com>
Date: Fri, 18 Aug 2023 22:22:51 +1000
Subject: [PATCH] Updated zlib to 1.3

---
 Tests/test_file_png.py    | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py
index 3ffe93c6d15..f8df88d6777 100644
--- a/Tests/test_file_png.py
+++ b/Tests/test_file_png.py
@@ -79,6 +79,6 @@ def get_chunks(self, filename):
 
     def test_sanity(self, tmp_path):
         # internal version number
-        assert re.search(r"\d+\.\d+\.\d+(\.\d+)?$", features.version_codec("zlib"))
+        assert re.search(r"\d+(\.\d+){1,3}$", features.version_codec("zlib"))
 
         test_file = str(tmp_path / "temp.png")

debug log:

solving 48863ba8da3fba34e4869feaf17bd53b2dcf9500 ...
found 48863ba8da3fba34e4869feaf17bd53b2dcf9500 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).