Debian Patches
Status for sphinxcontrib-towncrier/0.4.0a0-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| towncrier-24.7.patch | fix: make compatible with towncrier>=24.7 towncrier 24.7 changed the way that its find_fragments() function works to accept a Config dataclass instead of specific components of the config. This commit adds a new version of lookup_towncrier_fragments() to use the new API and chooses which one to use based on the version of towncrier obtained from importlib.metadata. It also slightly changes the way that towncrier config can be obtained: the previous get_towncrier_config() function (which returned a dict) is now renamed as get_towncrier_config_as_dict() and get_towncrier_config() returns the new Config dataclass object for towncrier versions above 22.12.0rc1 and raises NotImplementedError for older versions. This API change should be ok as get_towncrier_config() was only called in one place before. |
Ben Rowland <ben.rowland@hallmarq.net> | yes | debian upstream | other, https://github.com/sphinx-contrib/sphinxcontrib-towncrier/pull/96 | 2024-11-24 |
| towncrier-24.7-packaging.patch | Depend on packaging | Colin Watson <cjwatson@debian.org> | yes | 2024-11-24 |
All known versions for source package 'sphinxcontrib-towncrier'
- 0.4.0a0-3 (trixie, forky, sid)
