Description of problem:
Conda does not work with fish shell since conda.fish is missing from fish configurations.
Version-Release number of selected component (if applicable):
I'm pretty sure Fedora 31 is also affected by this.
Run conda init fish and launch a new fish shell.
Created attachment 1714604 [details]
Standard error from running fish shell after conda initialization
The missing file is normally provided by Conda:
This seems to be a packaging issue.
I can confirm that adding the missing file from upstream resolves the problem.
The problem is related to conda init:
no change /usr/condabin/conda
no change /usr/bin/conda
no change /usr/bin/conda-env
needs sudo /usr/bin/activate
needs sudo /usr/bin/deactivate
no change /usr/etc/profile.d/conda.sh
no change /usr/etc/fish/conf.d/conda.fish
needs sudo /usr/shell/condabin/Conda.psm1
needs sudo /usr/shell/condabin/conda-hook.ps1
needs sudo /usr/lib/python3.8/site-packages/xontrib/conda.xsh
no change /usr/etc/profile.d/conda.csh
no change /home/guillaume/.config/fish/config.fish
No action taken.
It assumes that the /etc dir is mounted under /usr/etc and thus fails to provide the necessary configuration for fish, bash, etc.
Yeah, 'conda init' is mostly broken and really shouldn't be necessary to run. I probably should patch it out, but I don't really have the time for that now.
For now I'm shipping /etc/fish/conf.d/conda.fish in the main conda package - but I may need to rejigger that somehow to better reflect dependencies. I definitely do not want to have conda require fish, and I'm not sure a conda-fish package would be very discoverable.
Please give the build here https://koji.fedoraproject.org/koji/taskinfo?taskID=51479151 a try.
The build works fine now.
Conda has to adjust its packaging process to work better with system installations where the base environment is essentially in a read-only state. I could bring this issue upstream.
Please do. Upstream has not seemed very interested in supporting this mode of install in the past so more people asking for it can only help. Thanks.
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 32 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.