Description of problem: Installing IDLE doesn't install the test package. Version-Release number of selected component (if applicable): 3.10.8 How reproducible: Uninstall IDLE and the test package if installed, install IDLE and try to run it. Steps to Reproduce: 1. sudo dnf rm python3-{idle,test} 2. sudo dnf in python3-idle 3. idle Actual results: Traceback (most recent call last): File "/usr/bin/idle", line 3, in <module> from idlelib.pyshell import main File "/usr/lib64/python3.10/idlelib/pyshell.py", line 53, in <module> from idlelib import debugger File "/usr/lib64/python3.10/idlelib/debugger.py", line 7, in <module> from idlelib import macosx File "/usr/lib64/python3.10/idlelib/macosx.py", line 7, in <module> from test.support import requires, ResourceDenied ModuleNotFoundError: No module named 'test.support' Expected results: IDLE does not crash. Additional info: Workaround: sudo dnf in python3-test
I've looked at the code and the test.support import is conditional on the idlelib.testing boolean. That should always be False when you run idle and the import should never happen :/
But I can reproduce this on Fedora 35 with python3-idle-3.10.8-2.fc35.x86_64
Oh I see, it's a regression, fixed in https://github.com/python/cpython/commit/928b5f1bdeb4f9ab243ccfdf0aa0ca52839974f9
https://src.fedoraproject.org/rpms/python3.10/pull-request/139 https://src.fedoraproject.org/rpms/python3.10/pull-request/140 https://src.fedoraproject.org/rpms/python3.10/pull-request/141 https://src.fedoraproject.org/rpms/python3.10/pull-request/142
FEDORA-2022-bb119e4197 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb119e4197
FEDORA-2022-bb119e4197 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-a7cad6bd22 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a7cad6bd22
*** Bug 2142696 has been marked as a duplicate of this bug. ***
FEDORA-2022-462f39dd2f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-462f39dd2f
FEDORA-2022-a7cad6bd22 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a7cad6bd22` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a7cad6bd22 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-f44dd1bec2 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f44dd1bec2
FEDORA-2022-462f39dd2f has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-462f39dd2f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-462f39dd2f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-f44dd1bec2 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f44dd1bec2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f44dd1bec2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-462f39dd2f has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-a7cad6bd22 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 2142224 has been marked as a duplicate of this bug. ***
*** Bug 2148181 has been marked as a duplicate of this bug. ***
FEDORA-2022-f44dd1bec2 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.