Bug 2209234 - missing python dependency causes crash
Summary: missing python dependency causes crash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: conda
Version: 38
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-23 07:40 UTC by Paul Kopp
Modified: 2023-12-23 04:34 UTC (History)
2 users (show)

Fixed In Version: conda-23.9.0-6.fc38
Clone Of:
Environment:
Last Closed: 2023-12-23 04:34:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.