Andreas Tille pushed to branch master at Debian Med / python-screed
Commits: 09050a4e by Andreas Tille at 2021-12-03T18:47:35+01:00 Use python-bz2 instead of bz2file - - - - - 4 changed files: - debian/changelog - debian/control - + debian/patches/bz2.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +python-screed (1.0.5-3) UNRELEASED; urgency=medium + + * Team upload. + * Use python-bz2 instead of bz2file (addressing bug #987287) + + -- Andreas Tille <[email protected]> Fri, 03 Dec 2021 18:40:00 +0100 + python-screed (1.0.5-2) unstable; urgency=medium [ Steffen Moeller ] ===================================== debian/control ===================================== @@ -9,7 +9,6 @@ Build-Depends: debhelper-compat (= 13), python3-setuptools, python3-sphinx, python3-nose, - python3-bz2file, python3-pytest-runner, python3-pytest-cov, python3-setuptools-scm ===================================== debian/patches/bz2.patch ===================================== @@ -0,0 +1,35 @@ +Description: Use python-bz2 instead of bz2file +Bug-Debian: https://bugs.debian.org/987287 +Author: Andreas Tille <[email protected]> +Last-Update: Fri, 03 Dec 2021 18:40:00 +0100 + +--- a/screed/openscreed.py ++++ b/screed/openscreed.py +@@ -7,7 +7,7 @@ import os + import io + import sys + import gzip +-import bz2file ++import bz2 + from collections.abc import MutableMapping + + try: +@@ -58,7 +58,7 @@ class Open(object): + compression = ftype + break + if compression == 'bz2': +- sequencefile = bz2file.BZ2File(filename=bufferedfile) ++ sequencefile = bz2.BZ2File(filename=bufferedfile) + peek = sequencefile.peek(1) + elif compression == 'gz': + if not bufferedfile.seekable(): +--- a/setup.cfg ++++ b/setup.cfg +@@ -32,7 +32,6 @@ packages = find: + platforms = any + include_package_data = True + install_requires = +- bz2file + python_requires = >=3.7 + setup_requires = + setuptools_scm ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ python3-tests +bz2.patch View it on GitLab: https://salsa.debian.org/med-team/python-screed/-/commit/09050a4efff945652345b4209c96aecb80163ea6 -- View it on GitLab: https://salsa.debian.org/med-team/python-screed/-/commit/09050a4efff945652345b4209c96aecb80163ea6 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
