Bug 2209234

Summary: missing python dependency causes crash
Product: [Fedora] Fedora Reporter: Paul Kopp <paulkopp>
Component: condaAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: orion, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: conda-23.9.0-6.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-23 04:34:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Kopp 2023-05-23 07:40:58 UTC
On a fresh install, commands like `conda init`, `conda env list` and more crash with
ModuleNotFoundError: No module named 'packaging'.

Reproducible: Always

Steps to Reproduce:
1. Install conda 23.3.1 through dnf
2. run `conda init -d` in a terminal
Actual Results:  
ModuleNotFoundError: No module named 'packaging'

Expected Results:  
Listing of files modified by `conda init`

Tested on Fedora 38 base operating system. On Fedora Workstation, the command `conda init -d` seems to work, but `conda init` without the `-d` option causes another crash with
TypeError: memoryview: a bytes-like object is required, not 'str'

Comment 1 Fedora Update System 2023-12-14 05:26:09 UTC
FEDORA-2023-2a72323368 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2a72323368

Comment 2 Fedora Update System 2023-12-15 02:35:50 UTC
FEDORA-2023-2a72323368 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2a72323368`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2a72323368

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-12-23 04:34:03 UTC
FEDORA-2023-2a72323368 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.