- Package:
- src:python-enaml
- Source:
- src:python-enaml
- Submitter:
- Maximiliano Curia
- Date:
- 2026-10-20 09:21:02 UTC
- Severity:
- normal
- Tags:
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that TODO fails to build from source [1].
I had to do various changes to get it to work:
- PyWeakref_GET_OBJECT is deprecated since 3.13 and removed in 3.15,
replace it by PyWeakref_GetRef
- Update pegen related code for 3.15 changes:
- Add `LOAD_COMMON_CONSTANT` as the return type when returning None.
- Add `is_lazy` field.
- Force the `__cached__` field on modules, as the code assumes it will
be there.
There's now also a PR in the upstream tracker to add 3.15 support, with
a different approach as the one I took [2].
I've applied my fixes in the sandbox [3] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4670760/
[2]: https://github.com/nucleic/enaml/pull/630
[3]: https://debusine.debian.net/debian/r-python-python3.15/
We believe that the bug you reported is fixed in the latest version of
python-enaml, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1147454@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Margarita Manterola <marga@debian.org> (supplier of updated python-enaml package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 20 Oct 2026 11:01:26 +0200
Source: python-enaml
Architecture: source
Version: 0.19.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Margarita Manterola <marga@debian.org>
Closes: 1147454
Changes:
python-enaml (0.19.0-2) unstable; urgency=medium
.
* Team upload.
* Apply patch created by Maximiliano Curia to solve Python 3.15
incompatibilities (Closes: #1147454)
* Update Standards-Version to 4.7.4: drop Priority field from
debian/control.
* Remove deprecated lintian-overrides.
Checksums-Sha1:
891559849620c1253583d5dab03074ccbf095eba 2856 python-enaml_0.19.0-2.dsc
9f68c29cff7b55d18996764cbd8418e8c4a89d73 12672 python-enaml_0.19.0-2.debian.tar.xz
ddc7f225be8da80b55747967db7778ff9d1dc971 6910 python-enaml_0.19.0-2_source.buildinfo
Checksums-Sha256:
b2a48ec30d37413bed7475ade77cb4865afb87f06b2e244aa61c89a21c229bcf 2856 python-enaml_0.19.0-2.dsc
292891344059e30b8b35887328bafb2450db4f66f877f4af8b548c52d2ec441d 12672 python-enaml_0.19.0-2.debian.tar.xz
fbdf62c50a44c844e0bed706560fc8bf5dce0281b0b5165d128be53c43377e81 6910 python-enaml_0.19.0-2_source.buildinfo
Files:
1d0faac0e609b1b1abc2693c73401a70 2856 python optional python-enaml_0.19.0-2.dsc
7e1ad77c48bba0a70a1ce819da6f9f47 12672 python optional python-enaml_0.19.0-2.debian.tar.xz
255921b3467d885592fe57df51d2aff9 6910 python optional python-enaml_0.19.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEAMPhhOivEnEYVt/SgNCkL/LIUMoFAmrXLjcRHG1hcmdhQGRl
Ymlhbi5vcmcACgkQgNCkL/LIUMqeXg//WWM3JIeAj5TmxU/1knojbRI1qL2jUrPN
EgkKdQYXWwp8xqa4B1QegLRNkjA8EpqgDEzwvd9/BfKrvP22DwkoZ3Vi1WCqf/le
ZdXaDbSNHSqAGj8nHv5JM1gaJXN4HyrWbx97tdU4QHy2plCOvGJfg+4VjiQXTAGL
3/agiVk7JCt1XYo3sPvbo1lGuBsZB6w2qEsxntfLT81ygg8+cQ/55lXDUrDVd+VN
lERkruY2j+KNYRUrBOyMNFE3srUupQvcYMRtPm0pkmaL49CBxwhzW0RKssg4kKzT
ccruyYea0vsZGNxzTtfq8dm9Ns6Ie9vwwSoXEmJCSxwfs+NBus6KrOEBk9UtyYwW
/GW/kEgGj4RZ18n1bfVgdNXzXIGqHdUCJE6bEB2P02CSRgbBMTCda76133xNpPFf
EaqPtnjzLmM8ot/qoC7pCLys/l48w4eqD6LUhvwf0OEF85WTxVnVafBhnFRqUUmd
ZJyfbL2ORrVCGyQxwX4o1kjccPulBGFU5lgyFBCf3kHafcEGm1uJY/RFQTo5NKGV
x0Oiib4cHVuo/rtNE8hZx/1NqH1CSQMwVe8qeebZTn5QQaiCx2TfnDAoX4QtMbuh
1irczhKc+orKBMIPj/g+W3Y6Jljx7Jmw7z8aj1wOmwE1cZI9WH8HFhfy2YdkSw2u
oU1q2fxEEkY=
=w2jo
-----END PGP SIGNATURE-----