Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1307414
| From | Maximiliano Curia <maxy@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python |
| Subject | Bug#1146433: python-cliff: causes breakage in other packages with python 3.15rc1 |
| Date | 2026-09-01 21:50 +0200 |
| Message-ID | <NyCEx-eCh1-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[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 linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1146433: python-cliff: causes breakage in other packages with python 3.15rc1 Maximiliano Curia <maxy@debian.org> - 2026-09-01 21:50 +0200
csiph-web