This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Testfailure with Python 3.12. FAIL: test_force (pdoc.test.CliTest.test_force) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data-scratch/var-tmp/portage/dev-python/pdoc3-0.10.0-r1/work/pdoc3-0.10.0/pdoc/test/__init__.py", line 297, in test_force self.assertEqual(stderr.getvalue(), '') AssertionError: '/data-scratch/var-tmp/portage/dev-python/[453 chars]()\n' != '' - /data-scratch/var-tmp/portage/dev-python/pdoc3-0.10.0-r1/work/pdoc3-0.10.0/pdoc/__init__.py:319: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead - isinstance(str_node.value, ast.Str)): - /data-scratch/var-tmp/portage/dev-python/pdoc3-0.10.0-r1/work/pdoc3-0.10.0/pdoc/__init__.py:326: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead - docstring = inspect.cleandoc(str_node.value.s).strip()
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864388bb6e635ffa10fc1d7ed7b105cbbb855589 commit 864388bb6e635ffa10fc1d7ed7b105cbbb855589 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-05-30 14:09:24 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-05-30 16:52:26 +0000 dev-python/pdoc3: fix deprecation warnings, enable py3.12 Closes: https://bugs.gentoo.org/929479 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-python/pdoc3/Manifest | 1 + dev-python/pdoc3/pdoc3-0.10.0-r2.ebuild | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+)