Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929474 - dev-python/OutputCheck: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-python/OutputCheck: 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 (vote)
Assignee: Maciej Barć
URL:
Whiteboard: tests fail
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:34 UTC by Michał Górny
Modified: 2024-04-14 15:33 UTC (History)
2 users (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:34:47 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-14 14:16:39 UTC
Seems to be broken with py3.12.  Last commit in 2018, we're already patching it for py3.11.


# RUN: at line 3
diff -u /tmp/portage/dev-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/dump_input_file.smt2 /tmp/portage/dev
-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/Output/dump_input_file.smt2.tmp_dump
# executed command: diff -u /tmp/portage/dev-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/dump_input_file.smt2 /tmp/portage/dev-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/Output/dump_input_file.smt2.tmp_dump
# .---command stdout------------
# | --- /tmp/portage/dev-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/dump_input_file.smt2
# | +++ /tmp/portage/dev-python/OutputCheck-0.4.2-r1/work/OutputCheck-0.4.2/tests/cmdline_options/Output/dump_input_file.smt2.tmp_dump
# | @@ -1,3 +1,5 @@
# | +  '\s*' + # Ignore all whitespace after directive
# | +INFO: File to check contained:
# |  ; RUN: %OutputCheck --dump-file-to-check --file-to-check %s %s > %t 2>&1
# |  ; RUN: sed -n '2,$p' %t > %t_dump
# |  ; RUN: diff -u %s %t_dump
# `-----------------------------
# error: command failed with exit status: 1

--

********************
Comment 2 Maciej Barć gentoo-dev 2024-04-14 14:43:41 UTC
(In reply to Michał Górny from comment #1)
> Seems to be broken with py3.12.  Last commit in 2018, we're already patching
> it for py3.11.

actually this and other tests pass for me 

> PASS: OutputCheck :: cmdline_options/dump_input_file.smt2 (16 of 50)
Comment 3 Larry the Git Cow gentoo-dev 2024-04-14 15:33:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=601ff8e7c43f665f613c7130dfc67e5695f2667a

commit 601ff8e7c43f665f613c7130dfc67e5695f2667a
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-04-14 14:52:53 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-04-14 15:33:41 +0000

    dev-python/OutputCheck: enable py3.12 compat
    
    Closes: https://bugs.gentoo.org/929474
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 ...heck-0.4.2-r1.ebuild => OutputCheck-0.4.2-r2.ebuild} | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)