It is proposed to update Fedora 41 to Python 3.13, https://discussion.fedoraproject.org/t/f41-change-proposal-python-3-13-system-wide/92897
With this comes a lot of deprecations, mostly warnings that apply to IPA. https://docs.python.org/dev/whatsnew/3.13.html#what-s-new-in-python-3-13
Some of these are depreciated in 3.14 and beyond. We already took care of the datetime utcnow deprecation.
From a quickie glance this includes:
I may have missed some.
BooleanOptionalAction
--foo
--no-foo
xml.etree.ElementTree.Element.__bool__
if element
collections.abc.ByteString
Thanks, I was hoping you'd chime in with clarifications :-) I included everything I noticed in the future deprecations with imports we used to be on the safe side.
One more issue with 3.12:
# ipa-server-install --help /usr/lib/python3.12/site-packages/ipaserver/custodia/__init__.py:3: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('ipaserver.custodia')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages __import__('pkg_resources').declare_namespace(__name__)
master:
ipa-4-11:
Log in to comment on this ticket.