[Git][debian-gis-team/stream-zip][master] 2 commits: Drop dependency on pyzipper

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sun Dec 15 08:29:54 GMT 2024



Antonio Valentino pushed to branch master at Debian GIS Project / stream-zip


Commits:
19bc74a7 by Antonio Valentino at 2024-12-15T08:21:42+00:00
Drop dependency on pyzipper

- - - - -
3b3829e5 by Antonio Valentino at 2024-12-15T08:21:48+00:00
Set distribution to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0004-Do-not-use-pyzipper.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+stream-zip (0.0.83-3) unstable; urgency=medium
+
+  * debian/patches:
+    - New 0004-Do-not-use-pyzipper.patch.
+  * debian/control:
+    - Temporarily drop dependency on pyzipper (only used in one test).
+      It is not available for Python 3.13.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 15 Dec 2024 08:03:46 +0000
+
 stream-zip (0.0.83-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -11,7 +11,6 @@ Build-Depends: architecture-is-64-bit,
                python3-hatchling,
                python3-pycryptodome,
                python3-pytest <!nocheck>,
-               python3-pyzipper <!nocheck>,
                7zip <!nocheck>,
                7zip-standalone <!nocheck>,
                libarchive-tools <!nocheck>,


=====================================
debian/patches/0004-Do-not-use-pyzipper.patch
=====================================
@@ -0,0 +1,30 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sun, 15 Dec 2024 07:58:54 +0000
+Subject: Do not use pyzipper
+
+Forwarded: not-needed
+---
+ test_stream_zip.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test_stream_zip.py b/test_stream_zip.py
+index 33c9bc7..bfccc45 100644
+--- a/test_stream_zip.py
++++ b/test_stream_zip.py
+@@ -13,7 +13,7 @@ from struct import Struct
+ from zipfile import ZipFile
+ 
+ import pytest
+-import pyzipper
++# import pyzipper
+ # from stream_unzip import IncorrectAESPasswordError, UnsupportedZip64Error, stream_unzip
+ 
+ from stream_zip import (
+@@ -1183,6 +1183,7 @@ def test_password_unzips_with_7z(method):
+                 assert f.read() == (b'a' * 9 ) + (b'b' * 9)
+ 
+ 
++ at pytest.mark.skip(reason="no pyzipper")
+ @pytest.mark.parametrize(
+     "method",
+     [


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 0001-Use-Cryptodome-instead-of-Crypto.patch
 0002-No-stream-unzip.patch
 0003-System-libarchive-tools.patch
+0004-Do-not-use-pyzipper.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/stream-zip/-/compare/75092d807b9769ac07c508415f27c8b9a892c9f9...3b3829e5e904915f07ae333dc82806ddbc7eb1c5

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/stream-zip/-/compare/75092d807b9769ac07c508415f27c8b9a892c9f9...3b3829e5e904915f07ae333dc82806ddbc7eb1c5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20241215/54eacbd0/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list