Debian Patches

Status for python-galaxy-util/26.0.0-1

Patch Description Author Forwarded Bugs Origin Last update
past_optional Handle missing ``future`` package

When packaging `galaxy-util` for Debian, @mr-c noted that some unit
tests fail:

```
______________ ERROR collecting tests/util/test_fill_template.py _______________
ImportError while importing test module '/build/reproducible-path/package/.pybuild/cpython3_3.14/build/tests/util/test_fill_template.py'.
Traceback:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/util/test_fill_template.py:6: in <module>
from galaxy.util.template import fill_template
galaxy/util/template.py:38: in <module>
from past.translation import myfixes
E ModuleNotFoundError: No module named 'past'
```

That's because the `python-future` package has been removed from Debian
as it doesn't fully work under Python >=3.13:

https://bugs.debian.org/1063264
Nicola Soranzo <nicola.soranzo@earlham.ac.uk> no upstream, https://github.com/galaxyproject/galaxy/pull/21924 2026-02-27

All known versions for source package 'python-galaxy-util'

Links