Package: khmer / 3.0.0~a3+dfsg-9~0exp
Metadata
Package | Version | Patches format |
---|---|---|
khmer | 3.0.0~a3+dfsg-9~0exp | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
non x86 compat.patch | (download) |
third-party/cqf/gqf.c |
187 11 + 176 - 0 ! |
--- |
nose2pytest | (download) |
tests/test_assembly.py |
2 1 + 1 - 0 ! |
add pytest 8 compat |
fix_non_x86_build | (download) |
third-party/cqf/Makefile |
2 1 + 1 - 0 ! |
enable building on aarch64 and other non-x86 systems |
hardening | (download) |
third-party/cqf/Makefile |
4 2 + 2 - 0 ! |
restore standard build flags into third-party/cqf Improves build hardening for Debian |
update manifest | (download) |
MANIFEST.in |
2 1 + 1 - 0 ! |
contributing.md has moved and isn't installed anymore |
setup py py3 | (download) |
setup.py |
2 1 + 1 - 0 ! |
use /usr/bin/env python3 as the crunchbang interpreter in setup.py |
local libs | (download) |
setup.cfg |
4 2 + 2 - 0 ! |
use debian packaged libraries |
older setuptools | (download) |
setup.py |
2 0 + 2 - 0 ! |
allow any version of setuptools |
disable_google_analytics | (download) |
doc/_templates/page.html |
2 2 + 0 - 0 ! |
turn off google analytics as per lintian warning |
get_version | (download) |
doc/conf.py |
10 7 + 3 - 0 ! |
use debian package version instead of git version |
install prefix | (download) |
Makefile |
2 1 + 1 - 0 ! |
use correct library version etc. (fixed by upstream #1240, remove for 2.0) |
cpython bug empty exceptions | (download) |
tests/test_read_parsers.py |
15 12 + 3 - 0 ! |
work around a suspected cpython bug Occurs when exception strings are empty. See upstream issues #885, #1190. |
amend skip | (download) |
scripts/extract-paired-reads.py |
2 1 + 1 - 0 ! |
fix fatal pytest.skip usage |
python3 | (download) |
Makefile |
22 11 + 11 - 0 ! |
s/python/python3/ as appropriate |
fix_liboxli_test | (download) |
src/oxli/test-compile.cc |
4 2 + 2 - 0 ! |
fix liboxli sanity check test |
gcc11.patch | (download) |
src/oxli/kmer_hash.cc |
1 1 + 0 - 0 ! |
fix gcc-11 ftbfs with including limits header |
bz2.patch | (download) |
khmer/kfile.py |
4 2 + 2 - 0 ! |
use stdlib bz2 instead of bz2file Bug-Debian: https://bugs.debian.org/987287 |
stringio buffer.patch | (download) |
khmer/kfile.py |
6 6 + 0 - 0 ! |
cope with https://bugs.python.org/issue14156 being fixed |
refresh_cython | (download) |
setup.py |
9 6 + 3 - 0 ! |
rerun cython to support python 3.10+ |
find_object_files_at_right_loc.patch | (download) |
setup.py |
11 10 + 1 - 0 ! |
the location for compiler cpy binaries changed, reflect the change in setup.py |
python3.12 support.patch | (download) |
tests/test_sandbox_scripts.py |
5 3 + 2 - 0 ! |
add support for python 3.12 Ever since Python 3.2, configparser.SafeConfigParser has been deprecated in favor of configparser.ConfigParser. An alias existed for backward compatibility but the alias was dropped from Python 3.12. Let us now use ConfigParser explicitly, and use .read_file() instead of .readfp() which was dropped too. . The imp module has also been dropped, but a similar behavior can be achieved using importlib. |
close opened files.patch | (download) |
khmer/kfile.py |
35 35 + 0 - 0 ! |
ensure that python scripts close files that they open for writing Python scripts under scripts/ in the source tree do not consistently close files that they open for writing. While some of the scripts use context managers, most of them do not (or do so inconsistently). In previous releases of Ubuntu, this apparently was not much of a concern. However, Python 3.12 seems to be much less forgiving when files are not properly closed. When running the test suite, many of the files that are not explicitly closed appear truncated. This leads to various tests failing or hanging and causing FTBFS when the test suite runs at build time. . Furthermore, khmer defines the get_file_writer() function, but it cannot be consistently used as a context manager because it sometimes closes the underlying file descriptor ; and sometimes does not depending on the arguments. . Fixed by defining a new FileWriter context manager and ensuring that each call to open() / get_file_writer() frees up resources properly. |