Conda is missing python3-packaging Reproducible: Always Steps to Reproduce: 1. dnf install conda 2.conda --version 3. See error Actual Results: $ conda --version Traceback (most recent call last): File "/usr/bin/conda", line 33, in <module> sys.exit(load_entry_point('conda==23.3.1', 'console_scripts', 'conda')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/conda", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3.11/site-packages/conda/__init__.py", line 10, in <module> from .deprecations import deprecated File "/usr/lib/python3.11/site-packages/conda/deprecations.py", line 9, in <module> from packaging.version import parse, Version ModuleNotFoundError: No module named 'packaging' Expected Results: $ conda --version conda 23.3.1 Just installing the missing dep via `dnf install python3-packaging` resolves the issue. But this should be included by default.
Ah, I think you are actually on Fedora 38. That threw me for a bit.
Hey Orion, $ rpm-ostree status State: idle Deployments: ● fedora:fedora/39/x86_64/silverblue Version: 39.20231205.0 (2023-12-05T00:55:28Z) BaseCommit: ae1afb462f69a9170bdfa24ef9fc3059b2366480c4fbcfac2a15c0fc65487d8a GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C LayeredPackages: distrobox langpacks-en podman-compose steam-devices
Ahhhh, my bad. Using an old distrobox container. Which is fedora 38, good catch... Will update when I update the container.
Okay. It's still an issue with F38. I'll see if I can get an update going.
Thanks for that. I can confirm when using an updated image (fedora 39) this issue does not exist.
BTW - you may want to give the newly packaged micromamba a spin.
FEDORA-2023-2a72323368 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2a72323368
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.
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.