Étienne Mollier pushed to branch master at Debian Med / pyqi
Commits:
30dce15f by Étienne Mollier at 2026-08-02T10:53:10+02:00
defuse-python-version-check.patch: new patch.
This change disables the upper version check causing a build failure.
Closes: #1143363
- - - - -
12187810 by Étienne Mollier at 2026-08-02T10:54:08+02:00
d/watch: move to PyPI uscan template version 5.
- - - - -
8a7922b0 by Étienne Mollier at 2026-08-02T10:54:28+02:00
d/control: drop redundant Priority: optional.
- - - - -
8610a3e1 by Étienne Mollier at 2026-08-02T10:54:48+02:00
d/control: drop redundant Rules-Requires-Root: no.
- - - - -
4382168e by Étienne Mollier at 2026-08-02T10:55:09+02:00
d/control: declare compliance to standards version 4.7.4.
- - - - -
e7975dee by Étienne Mollier at 2026-08-02T10:55:32+02:00
d/control: bump debhelper-compat level to 14.
- - - - -
217cd55a by Étienne Mollier at 2026-08-02T11:25:40+02:00
d/{control,rules}: move to dh-sequence-python3.
- - - - -
5c121098 by Étienne Mollier at 2026-08-02T11:26:34+02:00
d/rules: modernize the style.
- - - - -
e2efd883 by Étienne Mollier at 2026-08-02T11:26:56+02:00
d/rules: cleanup the legacy egg-info directory.
- - - - -
46f42267 by Étienne Mollier at 2026-08-02T11:28:01+02:00
d/changelog: ready for upload to unstable.
- - - - -
6 changed files:
- debian/changelog
- debian/control
- + debian/patches/defuse-python-version-check.patch
- debian/patches/series
- debian/rules
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,19 @@
+pyqi (0.3.2+dfsg-14) unstable; urgency=medium
+
+ * defuse-python-version-check.patch: new patch.
+ This change disables the upper version check causing a build failure.
+ (Closes: #1143363)
+ * d/watch: move to PyPI uscan template version 5.
+ * d/control: drop redundant Priority: optional.
+ * d/control: drop redundant Rules-Requires-Root: no.
+ * d/control: declare compliance to standards version 4.7.4.
+ * d/control: bump debhelper-compat level to 14.
+ * d/{control,rules}: move to dh-sequence-python3.
+ * d/rules: modernize the style.
+ * d/rules: cleanup the legacy egg-info directory.
+
+ -- Étienne Mollier <emollier at debian.org> Sun, 02 Aug 2026 11:27:27 +0200
+
pyqi (0.3.2+dfsg-13) unstable; urgency=medium
* fix_sphinx_htmlhelp.patch: normalize last-update timestamp.
=====================================
debian/control
=====================================
@@ -3,20 +3,19 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
Uploaders: Andreas Tille <tille at debian.org>,
Étienne Mollier <emollier at debian.org>
Section: python
-Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: debhelper-compat (= 14),
dh-python,
+ dh-sequence-python3,
dh-linktree,
python3,
python3-sphinx,
python3-setuptools,
sphinx-common,
libjs-sphinxdoc
-Standards-Version: 4.7.0
+Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/med-team/pyqi
Vcs-Git: https://salsa.debian.org/med-team/pyqi.git
Homepage: https://github.com/biocore/pyqi
-Rules-Requires-Root: no
Package: pyqi
Architecture: all
=====================================
debian/patches/defuse-python-version-check.patch
=====================================
@@ -0,0 +1,27 @@
+Description: defuse upper Python version check.
+ This change allows building pyqi against Python 3.14 and further.
+ Apparently, no other changes are needed at least for this version bump.
+ .
+ This patch addresses the Debian-specific need to track a single Python
+ version and may not be welcome upstream.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/1143363
+Forwarded: not-needed
+Last-Update: 2026-08-02
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pyqi.orig/setup.py
++++ pyqi/setup.py
+@@ -45,9 +45,9 @@
+ classifiers = [s.strip() for s in classes.split('\n') if s]
+
+ # Verify Python version
+-ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor]))
+-if ver not in ['3.9', '3.10', '3.11', '3.12', '3.13']:
+- sys.stderr.write("Only Python 3.9 to 3.13 are supported.")
++if sys.version_info.major < 3 \
++ or (sys.version_info.major == 3 and sys.version_info.minor < 9 ):
++ sys.stderr.write("Only Python 3.9 and above are supported.")
+ sys.exit(1)
+
+ long_description = """pyqi (canonically pronounced pie chee) is a Python framework designed to support wrapping general commands in multiple types of interfaces, including at the command line, HTML, and API levels."""
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
2to3.patch
fix_sphinx_htmlhelp.patch
fix-syntax-warning.patch
+defuse-python-version-check.patch
=====================================
debian/rules
=====================================
@@ -3,16 +3,16 @@
export DH_OPTIONS
%:
- dh $@ --with python3 --with linktree --buildsystem=pybuild
+ dh $@ --with-linktree --buildsystem=pybuild
-override_dh_auto_build:
- dh_auto_build
- cd doc && make man htmlhelp
+execute_after_dh_auto_build:
+ $(MAKE) -C doc man htmlhelp
-override_dh_auto_clean:
- dh_auto_clean || true
- cd doc && make clean
+execute_after_dh_auto_clean:
+ $(MAKE) -C doc clean
-override_dh_clean:
- dh_clean
+execute_after_dh_clean:
rm -rf .pybuild
+
+execute_after_dh_install:
+ rm -rvf debian/*/usr/lib/python3*/dist-packages/pyqi-*.egg-info
=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts=dversionmangle=s/\+dfsg[0-9]*// \
- https://pypi.python.org/packages/source/p/pyqi/pyqi-([.\d]+)\.tar\.gz
+Version: 5
+
+Template: PyPI
+Dist: pyqi
+DVersion-Mangle: auto
View it on GitLab: https://salsa.debian.org/med-team/pyqi/-/compare/76fdc7f35569351b1335212f0ab761510a3eb661...46f422671ee5f923eff7b51ee3a57d33e44587ca
--
View it on GitLab: https://salsa.debian.org/med-team/pyqi/-/compare/76fdc7f35569351b1335212f0ab761510a3eb661...46f422671ee5f923eff7b51ee3a57d33e44587ca
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260802/5c8e2351/attachment-0001.htm>