[med-svn] [Git][med-team/pyensembl][master] Fix autotests for Python 3.15 incompatibility

Steffen Möller (@moeller) gitlab at salsa.debian.org
Sat Nov 14 12:08:36 GMT 2026



Steffen Möller pushed to branch master at Debian Med / pyensembl


Commits:
e062315f by Steffen Moeller at 2026-11-14T13:08:02+01:00
Fix autotests for Python 3.15 incompatibility

- - - - -


5 changed files:

- debian/.gitignore
- debian/changelog
- debian/control
- debian/tests/control
- debian/tests/run-unit-test


Changes:

=====================================
debian/.gitignore
=====================================
@@ -1,5 +1,6 @@
 files
 *debhelper*
 *.debhelper*
+*.substvars
 python3-pyensembl/
 pyensembl/


=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
 pyensembl (2.10.4-1) UNRELEASED; urgency=medium
 
   * FTBFS - needs newer version of gtfparse
+  * Build and run autopkgtests with Debian's default Python, matching
+    the PyArrow extension modules required through gtfparse.
 
  -- Steffen Moeller <moeller at debian.org>  Sat, 29 Aug 2026 02:05:44 +0200
 


=====================================
debian/control
=====================================
@@ -7,23 +7,24 @@ Uploaders:
  Steffen Moeller <moeller at debian.org>,
  Étienne Mollier <emollier at debian.org>,
 Section: science
-Testsuite: autopkgtest-pkg-pybuild
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-python3,
  pybuild-plugin-pyproject,
  python3-setuptools,
- python3-all,
+ python3,
  python3-pandas,
  python3-numpy,
  python3-datacache,
  python3-serializable,
  python3-memoized-property,
- python3-gtfparse,
+ python3-gtfparse (>= 2.9),
  python3-pytest <!nocheck>,
 Vcs-Browser: https://salsa.debian.org/med-team/pyensembl
 Vcs-Git: https://salsa.debian.org/med-team/pyensembl.git
 Homepage: https://github.com/openvax/pyensembl
+# Apache Arrow Python interface needs to migrate to Python 3.15 first
+#Testsuite: autopkgtest-pkg-pybuild
 
 Package: pyensembl
 Architecture: all


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,3 @@
 Tests: run-unit-test
-Depends: python3-all, python3-pytest, pyensembl
+Depends: python3, python3-pytest, pyensembl
 Restrictions: needs-internet


=====================================
debian/tests/run-unit-test
=====================================
@@ -50,7 +50,6 @@ rm tests/test_transcript_support_level.py
 # software rather than upstream build configuration files.
 rm tests/test_build_system.py
 
-for py in $(py3versions -s)
-do 
-	$py -m pytest tests
-done
+# Match the PyArrow extension modules required through gtfparse.
+python3 --version
+python3 -m pytest tests



View it on GitLab: https://salsa.debian.org/med-team/pyensembl/-/commit/e062315f1cd151f8e779a21171749253a73911f1

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyensembl/-/commit/e062315f1cd151f8e779a21171749253a73911f1
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/20261114/2bb9a09e/attachment-0001.htm>


More information about the debian-med-commit mailing list