[med-svn] [Git][med-team/python-bcbio-gff][master] 2 commits: patch-out usage of "six"

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Sun Mar 8 11:05:00 GMT 2026



Alexandre Detiste pushed to branch master at Debian Med / python-bcbio-gff


Commits:
8676bf7d by Alexandre Detiste at 2026-03-08T12:01:39+01:00
patch-out usage of "six"

- - - - -
ac79cd40 by Alexandre Detiste at 2026-03-08T12:02:44+01:00
release

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/remove-six.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+python-bcbio-gff (0.7.1-3) unstable; urgency=medium
+
+  * Team Upload
+  * Patch-out usage of "six"
+  * Rewrite d/rules with newer & shorter syntax
+  * Drop "Rules-Requires-Root: no": it is the default now
+  * Bump Standards-Version to 4.7.3, drop Priority: tag
+  * Rewrite d/watch in v5 format
+  * Rename files under debian/ for debhelper 15 compatibility
+  * Switch to pybuild-plugin-pyproject
+  * Disable useless Salsa CI jobs
+
+ -- Alexandre Detiste <tchet at debian.org>  Sun, 08 Mar 2026 12:02:03 +0100
+
 python-bcbio-gff (0.7.1-2) unstable; urgency=medium
 
   * python-syntax-warning.patch: new: fix SyntaxWarning. (Closes: #1085892)


=====================================
debian/control
=====================================
@@ -12,7 +12,6 @@ Build-Depends:
  python3-all,
  python3-biopython,
  python3-setuptools,
- python3-six,
 Standards-Version: 4.7.3
 Vcs-Browser: https://salsa.debian.org/med-team/python-bcbio-gff
 Vcs-Git: https://salsa.debian.org/med-team/python-bcbio-gff.git
@@ -23,7 +22,6 @@ Architecture: all
 Section: python
 Depends:
  python3-biopython,
- python3-six,
  ${misc:Depends},
  ${python3:Depends},
 Description: Python3 library to read and write Generic Feature Format


=====================================
debian/patches/remove-six.patch
=====================================
@@ -0,0 +1,44 @@
+From: Alexandre Detiste <tchet at debian.org>
+Forwarded: no
+
+--- a/BCBio/GFF/GFFOutput.py
++++ b/BCBio/GFF/GFFOutput.py
+@@ -3,7 +3,7 @@
+ The target format is GFF3, the current GFF standard:
+     http://www.sequenceontology.org/gff3.shtml
+ """
+-from six.moves import urllib
++import urllib.parse
+ 
+ from Bio import SeqIO
+ 
+--- a/BCBio/GFF/GFFParser.py
++++ b/BCBio/GFF/GFFParser.py
+@@ -21,8 +21,7 @@
+ import collections
+ import io
+ import itertools
+-import six
+-from six.moves import urllib
++import urllib.parse
+ # Make defaultdict compatible with versions of python older than 2.4
+ try:
+     collections.defaultdict
+@@ -816,7 +815,7 @@
+         if hasattr(in_file, "read"):
+             need_close = False
+             in_handle = in_file
+-            if six.PY3 and not isinstance(in_handle, io.TextIOBase):
++            if not isinstance(in_handle, io.TextIOBase):
+                 raise TypeError('input handle must be opened in text mode')
+         else:
+             need_close = True
+--- a/setup.py
++++ b/setup.py
+@@ -18,5 +18,5 @@
+       description="Read and write Generic Feature Format (GFF) with Biopython integration.",
+       url="https://github.com/chapmanb/bcbb/tree/master/gff",
+       packages=find_packages(),
+-      install_requires=["six", "biopython"]
++      install_requires=["biopython"]
+       )


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 python-syntax-warning.patch
 distutils-deprecation.patch
+remove-six.patch



View it on GitLab: https://salsa.debian.org/med-team/python-bcbio-gff/-/compare/67dfc98f410385d600902e3d6118db1a3d0cfb5b...ac79cd40917793fb3ea44f096337e8dc142e96ea

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-bcbio-gff/-/compare/67dfc98f410385d600902e3d6118db1a3d0cfb5b...ac79cd40917793fb3ea44f096337e8dc142e96ea
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/debian-med-commit/attachments/20260308/d42a4871/attachment-0001.htm>


More information about the debian-med-commit mailing list