PS. Adding python3-pytest-timeout to the build dependencies also helps. Updated patch attached.
From b7bd37b29e6b2b5c9d3202cb8285287e9eda2684 Mon Sep 17 00:00:00 2001 From: Mattias Ellert <mattias.ell...@physics.uu.se> Date: Sun, 14 Sep 2025 06:09:27 +0200 Subject: [PATCH] New upstream version 1.8.0
--- debian/changelog | 8 ++++++ debian/clean | 1 + debian/control | 4 ++- debian/patches/remove-versioningit.patch | 34 ------------------------ debian/patches/series | 1 - debian/rules | 7 +---- 6 files changed, 13 insertions(+), 42 deletions(-) delete mode 100644 debian/patches/remove-versioningit.patch delete mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index a4620d9..86c8607 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +python-isal (1.8.0-0.1) unstable; urgency=medium + + * Non-maintainer upload. + * New upstream version 1.8.0 (Closes: #1115162) + * No longer exclude now working tests that used to ignore PYTHONPATH + + -- Mattias Ellert <mattias.ell...@physics.uu.se> Sat, 13 Sep 2025 11:50:12 +0200 + python-isal (1.7.2-1) unstable; urgency=medium * New upstream version 1.7.2 that builds on s390x. diff --git a/debian/clean b/debian/clean index 95c629a..62010c8 100644 --- a/debian/clean +++ b/debian/clean @@ -1 +1,2 @@ src/isal/_version.py +src/isal.egg-info/SOURCES.txt diff --git a/debian/control b/debian/control index 8b2df15..4097b8a 100644 --- a/debian/control +++ b/debian/control @@ -11,9 +11,11 @@ Build-Depends: pybuild-plugin-pyproject, python3-all-dev, python3-pytest, + python3-pytest-timeout, python3-setuptools, + python3-setuptools-scm, Rules-Requires-Root: no -Standards-Version: 4.7.0 +Standards-Version: 4.7.2 Homepage: https://github.com/pycompression/python-isal Vcs-Git: https://salsa.debian.org/python-team/packages/python-isal.git Vcs-Browser: https://salsa.debian.org/python-team/packages/python-isal diff --git a/debian/patches/remove-versioningit.patch b/debian/patches/remove-versioningit.patch deleted file mode 100644 index 4d457da..0000000 --- a/debian/patches/remove-versioningit.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=64", "versioningit>=1.1.0"] -+requires = ["setuptools>=64"] - build-backend = "setuptools.build_meta" - - [tool.versioningit.vcs] ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,12 @@ - from setuptools import Extension, find_packages, setup - from setuptools.command.build_ext import build_ext - --import versioningit -+def _get_version(): -+ version = subprocess.check_output(['dpkg-parsechangelog', '-SVersion'], -+ text=True).split('-')[0] -+ with open('src/isal/_version.py', 'w') as fd: -+ fd.write('__version__ = "%s"' % version) -+ - - ISA_L_SOURCE = os.path.join("src", "isal", "isa-l") - -@@ -138,7 +143,7 @@ - - setup( - name="isal", -- version=versioningit.get_version(), -+ version=_get_version(), - description="Faster zlib and gzip compatible compression and " - "decompression by providing python bindings for the ISA-L " - "library.", diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index 7e15eba..0000000 --- a/debian/patches/series +++ /dev/null @@ -1 +0,0 @@ -remove-versioningit.patch diff --git a/debian/rules b/debian/rules index a5e6eb3..9aba6b7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,7 @@ #! /usr/bin/make -f export PYTHON_ISAL_LINK_DYNAMIC=1 - -export PYBUILD_TEST_ARGS=-k 'not test_compress_fast_best_are_exclusive \ - and not test_compress_infile_outfile \ - and not test_compress_infile_outfile_default \ - and not test_decompress_cannot_have_flags_compression \ - and not test_decompress_infile_outfile_error' +export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_ISAL=$(shell dpkg-parsechangelog -SVersion | cut -d- -f1) %: dh $@ --buildsystem=pybuild -- 2.51.0
signature.asc
Description: This is a digitally signed message part