[ ] Anaconda Distribution (formerly Anaconda Individual Edition)
[ ] Miniconda
[ ] Anaconda.org
What happened?
According to the changelog on the official GitHub profile of gensim library, FuzzyTM dependency has been removed as it was unused.
In the anaconda built gensim it's somehow still in use.
This produces many problems when e.g. recreating a conda environment with gensim already installed and then pip installing there a project also dependent on gensim.
Such situation results in pip detecting already satisfied gensim, but somehow broken, as it's missing FuzzyTM and all its dependencies..
In order to reproduce the issue, run the following steps:
1) create a new environment with gensim
My command exited with error, as I was working on ppc-64le platform which was not capable of building pandas from source. It should not have happened as gensim should be correctly, fully, installed from conda indexes.
Expected behavior or outcome
Pip installing a project dependent on gensim in above described environment should finish correctly.
Conda info
active environment : issue_demo
active env location : /root/miniconda/envs/issue_demo
shell level : 15
user config file : /root/.condarc
populated config files : /root/.condarc
conda version : 23.10.0
conda-build version : not installed
python version : 3.11.5.final.0
virtual packages : __archspec=1=power8le
__glibc=2.28=0
__linux=4.18.0=0
__unix=0=0
base environment : /root/miniconda (writable)
conda av data dir : /root/miniconda/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-ppc64le
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-ppc64le
https://repo.anaconda.com/pkgs/r/noarch
package cache : /root/miniconda/pkgs
/root/.conda/pkgs
envs directories : /root/miniconda/envs
/root/.conda/envs
platform : linux-ppc64le
user-agent : conda/23.10.0 requests/2.31.0 CPython/3.11.5 Linux/4.18.0-477.27.1.el8_8.ppc64le rhel/8.8 glibc/2.28 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
UID:GID : 0:0
netrc file : None
offline mode : False
Although I'm posting outputs from ppc-64le platform I have reproduced everything on x86 architecture and the results are the same --- gensim still requires FuzzyTM library.
Checklist
Impacted product
What happened?
According to the changelog on the official GitHub profile of gensim library,
FuzzyTM
dependency has been removed as it was unused.In the anaconda built gensim it's somehow still in use. This produces many problems when e.g. recreating a conda environment with gensim already installed and then pip installing there a project also dependent on gensim.
Such situation results in pip detecting already satisfied gensim, but somehow broken, as it's missing FuzzyTM and all its dependencies..
In order to reproduce the issue, run the following steps: 1) create a new environment with gensim
2) pip install gensim there
pip install 'gensim==4.3.*'
3) Notice that it tries installing FuzzyTM:
My command exited with error, as I was working on ppc-64le platform which was not capable of building pandas from source. It should not have happened as gensim should be correctly, fully, installed from conda indexes.
Expected behavior or outcome
Pip installing a project dependent on gensim in above described environment should finish correctly.
Conda info
Conda config
Conda list
Additional information
Although I'm posting outputs from ppc-64le platform I have reproduced everything on x86 architecture and the results are the same --- gensim still requires FuzzyTM library.