Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
gcc11.patch | Fix gcc-11 FTBFS with including limits header | Nilesh Patra <nilesh@debian.org> | yes | debian | 2021-03-08 | |
bz2.patch | Use stdlib bz2 instead of bz2file | Andreas Tille <tille@debian.org> | yes | debian | 2021-12-03 | |
stringio-buffer.patch | Cope with https://bugs.python.org/issue14156 being fixed | Stefano Rivera <stefanor@debian.org> | yes | debian | 2022-04-02 | |
refresh_cython | Rerun Cython to support Python 3.10+ | Michael R. Crusoe <crusoe@debian.org> | not-needed | |||
find_object_files_at_right_loc.patch | The location for compiler cpy binaries changed, reflect the change in setup.py | Nilesh Patra <nilesh@debian.org> | no | 2022-09-24 | ||
python3.12-support.patch | 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. |
Simon Quigley <tsimonq2@ubuntu.com> | yes | debian | 2023-11-26 | |
nose2pytest | Add Pytest 8 compat https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose |
Michael R. Crusoe <crusoe@debian.org> | yes | |||
fix_non_x86_build | enable building on aarch64 and other non-x86 systems | Michael R. Crusoe <crusoe@debian.org> | no | |||
hardening | Restore standard build flags into third-party/cqf Improves build hardening for Debian |
Michael R. Crusoe <crusoe@debian.org> | no | |||
update-manifest | CONTRIBUTING.md has moved and isn't installed anymore | Michael R. Crusoe <crusoe@debian.org> | yes | |||
setup-py-py3 | Use /usr/bin/env python3 as the crunchbang interpreter in setup.py | Michael R. Crusoe <crusoe@debian.org> | yes | |||
local-libs | Use Debian packaged libraries | Michael R. Crusoe <crusoe@debian.org> | not-needed | |||
older-setuptools | Allow any version of setuptools | Michael R. Crusoe <crusoe@debian.org> | not-needed | |||
disable_google_analytics | Turn off Google analytics as per Lintian warning | Michael R. Crusoe <crusoe@debian.org> | not-needed | |||
get_version | Use debian package version instead of git version | Michael R. Crusoe <crusoe@debian.org> | not-needed | |||
install-prefix | Use correct library version etc. (fixed by upstream #1240, remove for 2.0) | Michael R. Crusoe <crusoe@debian.org> | no | |||
cpython-bug-empty-exceptions | Work around a suspected CPython bug Occurs when exception strings are empty. See upstream issues #885, #1190. |
no | ||||
amend-skip | Fix fatal pytest.skip usage | Michael R. Crusoe <crusoe@debian.org> | yes | |||
python3 | s/python/python3/ as appropriate | Michael R. Crusoe <crusoe@debian.org> | yes | |||
fix_liboxli_test | Fix liboxli sanity check test | Michael R. Crusoe <crusoe@debian.org> | yes | |||
close-opened-files.patch | 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. |
Olivier Gayot <olivier.gayot@canonical.com> | yes | debian | 2023-11-26 |