Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941526 - dev-util/meld-3.22.2: not working with python-3.13 due to removed pipes.py
Summary: dev-util/meld-3.22.2: not working with python-3.13 due to removed pipes.py
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 11:53 UTC by Rafal Lalik
Modified: 2024-10-15 08:01 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 Rafal Lalik 2024-10-14 11:53:07 UTC
Running meld with python 3.13 yields:

$ meld 
Traceback (most recent call last):
  File "/bin/meld", line 462, in <module>
    sys.exit(main())
             ~~~~^^
  File "/bin/meld", line 458, in main
    return run_application()
  File "/bin/meld", line 438, in run_application
    from meld.meldapp import MeldApp
  File "/usr/lib/python3.13/site-packages/meld/meldapp.py", line 27, in <module>
    from meld.filediff import FileDiff
  File "/usr/lib/python3.13/site-packages/meld/filediff.py", line 46, in <module>
    from meld.melddoc import ComparisonState, MeldDoc, open_files_external
  File "/usr/lib/python3.13/site-packages/meld/melddoc.py", line 20, in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'

According to doc (https://docs.python.org/3/library/pipes.html):

Deprecated since version 3.11, will be removed in version 3.13: The pipes module is deprecated (see PEP 594 for details). Please use the subprocess module instead.

Reproducible: Always




I also reported it upstream.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-14 16:30:41 UTC
Thanks! Please include links to upstream bugs in future if possible.
Comment 2 Larry the Git Cow gentoo-dev 2024-10-15 06:48:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a64c25bf43f0c9ad9efe03d7d1b6d0c4a0a217b

commit 4a64c25bf43f0c9ad9efe03d7d1b6d0c4a0a217b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-15 06:48:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-15 06:48:26 +0000

    dev-util/meld: disable py3.13
    
    Bug: https://gitlab.gnome.org/GNOME/meld/-/issues/873
    Closes: https://bugs.gentoo.org/941526
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/meld/meld-3.22.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-10-15 08:01:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae0671d3bc11bb18511b02b1466403566330572

commit 7ae0671d3bc11bb18511b02b1466403566330572
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-15 08:01:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-15 08:01:30 +0000

    dev-util/meld: fix compat w/ py3.13
    
    Closes: https://bugs.gentoo.org/941526
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/meld/files/meld-3.22.2-py3.13.patch | 33 ++++++++++++
 dev-util/meld/meld-3.22.2-r1.ebuild          | 78 ++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)