Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929479 - dev-python/pdoc3: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-python/pdoc3: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:35 UTC by Michał Górny
Modified: 2024-05-30 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:35:20 UTC
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.
Comment 1 Florian Schmaus gentoo-dev 2024-05-30 13:59:23 UTC
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()
Comment 2 Larry the Git Cow gentoo-dev 2024-05-30 16:53:19 UTC
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(+)