Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1307414 > unrolled thread
| Started by | Maximiliano Curia <maxy@debian.org> |
|---|---|
| First post | 2026-09-01 21:50 +0200 |
| Last post | 2026-09-01 21:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.dist
Bug#1146433: python-cliff: causes breakage in other packages with python 3.15rc1 Maximiliano Curia <maxy@debian.org> - 2026-09-01 21:50 +0200
| From | Maximiliano Curia <maxy@debian.org> |
|---|---|
| Date | 2026-09-01 21:50 +0200 |
| Subject | Bug#1146433: python-cliff: causes breakage in other packages with python 3.15rc1 |
| Message-ID | <NyCEx-eCh1-5@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Package: src:python-cliff Version: 4.13.3-1 User: debian-python@lists.debian.org Usertags: python3.15 Tags: patch, ftbfs, forky, sid Hi! While rebuilding the python related packages against the Python 3.15rc1 version we found that python-cliff builds, but then causes python-osc-lib to break [1]. This is because the `get_distributions_by_modules` function tries to read the package metadata, and starting from Python 3.15 this operation fails when the metadata isn't present (previously invalid reads returned None). [2] I've worked around this problem by returning an empty dictionary if the values can't be read. This is not a proper fix, but simply ignoring data that was already invalid. I applied this fix in the sandbox [3] to be able to build the packages that depend on python-cliff, please consider applying the patch to support the upcoming 3.15 version. Happy hacking, [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4582881/ [2]: https://docs.python.org/3.15/whatsnew/3.15.html#importlib-metadata [3]: https://debusine.debian.net/debian/r-python-python3.15/ -- "Can you imagine what I would do if I could do all I can?" -- Sun Tzu Saludos /\/\ /\ >< `/
Back to top | Article view | linux.debian.bugs.dist
csiph-web