Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940505 - dev-python/executing-2.1.0: requires an upstream fix to work properly with dev-lang/python-3.12.6
Summary: dev-python/executing-2.1.0: requires an upstream fix to work properly with de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 940374
  Show dependency tree
 
Reported: 2024-09-30 05:47 UTC by Ianislav Trendafilov
Modified: 2024-10-13 22:34 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 Ianislav Trendafilov 2024-09-30 05:47:11 UTC
When attempting to do system wide package upgrade the dev-python/executing was failing in test phase with the problems at end of this text. I've found this is a compatibility issue with dev-lang/python-3.12.6 which is fixed upstream in Pull request 86   (I cannot paste a link because of new account restrictions in BugZilla)


WORKAROUND:
# I am sorry that I have to use base64 encoded link, but I cannot post the two-command workaround 

mkdir -p /etc/portage/patches/dev-python/executing
wget $(echo "aHR0cHM6Ly9wYXRjaC1kaWZmLmdpdGh1YnVzZXJjb250ZW50LmNvbS9yYXcvYWxleG1vamFraS9leGVjdXRpbmcvcHVsbC84Ni5wYXRjaA==" | base64 -d -) -O /etc/portage/patches/dev-python/executing/hotfix-python-3.12.6.patch



Error messages:
FAILED tests/test_main.py::TestStuff::test_iter - executing._exceptions.VerifierFailure: ast.Call is not created from GET_ITER
FAILED tests/test_main.py::TestStuff::test_with - executing._exceptions.VerifierFailure: ast.Name is not created from BEFORE_WITH
FAILED tests/test_main.py::test_small_samples[635d56ede8cbcb2824d42291eb9fe9288d5f09c768636aaa19984ffdfc91e9fe.py] - executing._exceptions.VerifierFailure: ast.Name is not created from CALL
FAILED tests/test_main.py::test_small_samples[0675309754ba4277c9cb3c52d7131377fe69c7744a271e2b7471917dabb5aaa1.py] - executing._exceptions.VerifierFailure: ast.Name is not created from CALL
FAILED tests/test_main.py::test_small_samples[ea94f24a1d9b57c7a7d62c428082790caae2fa16429db2e58b2f4addb67a1964.py] - executing._exceptions.VerifierFailure: ast.Name is not created from CALL
FAILED tests/test_main.py::test_small_samples[2fa69a57eb3b16f9ce0d5be427ad471c93a54c6d7e68b5be024b6a046ecc6bb2.py] - executing._exceptions.VerifierFailure: ast.Name is not created from CALL



Reproducible: Always

Steps to Reproduce:
USE=test emerge -1av dev-python/executing
Actual Results:  
Fails if dev-lang/python-3.12.6 is installed.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-09-30 15:30:54 UTC
Thanks a lot!
Comment 2 Larry the Git Cow gentoo-dev 2024-09-30 15:31:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=055992b7b4fd2f89ea0a26d4f96ff83687b9c8e7

commit 055992b7b4fd2f89ea0a26d4f96ff83687b9c8e7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-09-30 15:29:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-09-30 15:29:15 +0000

    dev-python/executing: Add a fix for Python 3.12.6
    
    Closes: https://bugs.gentoo.org/940505
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/executing/executing-2.1.0-r1.ebuild     |  65 ++++++++
 .../executing/files/executing-2.1.0-py3126.patch   | 178 +++++++++++++++++++++
 2 files changed, 243 insertions(+)