There are many pinned (older) versions of python packages, and dependencies will eventually be a problem...
The gEAR developers have already started to work on this, see below.
Minor changes are only documented in CHANGELOG.
See also Ansible install playbook.
We should eventually move to testing.
Regarding the diffxpy
install, we need to make sure it is installed in the virtual environment as www-data
user.
We can make a test install using
pip install pip-install-test
pip show pip_install_test
python -c 'import pip_install_test'
then
pip install git+https://github.com/adkinsrs/diffxpy.git@b2ebeb0fb7c6c215d51264cd258edf9d013ff021
But we should find a better solution in the long term.
We also found out that we had issues with dash (probably due to the force re-install), see
ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools
We could try pip install Werkzeug==2.0.0
in the virtual environment, or solve the dependency problem if possible.
Now we are left with
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
dash-bio 0.6.1 requires dash>=1.6.1, but you have dash 1.3.0 which is incompatible.
We also found out that ModuleNotFoundError: No module named 'rpy2'
.
This is used in www/api/resources/projectr.py
, and
line 30 from resources.projectr import ProjectR
line 42 api.add_resource(ProjectR, '/projectr/<dataset_id>')
in www/api/api.py
.
But this is not mentioned anywhere except in docker/requirements.txt
? And the install won't be successful unless
we have a running R
installation... so how is this working?
See Implement ProjectR
There is a software_update_bugfixes branch on gEAR, apparently started on IGS@cc89c46, with following updated dependencies
anndata==0.8.0 \
biocode==0.10.0 \
biopython==1.79 \
dash-bio==1.0.2 \
Flask==2.1.0 \
Flask-RESTful==0.3.9 \
h5py==3.6.0 \
itsdangerous==2.1.2 \
jupyter==1.0.0 \
kaleido==0.2.1 \
llvmlite==0.38.0 \
mod-wsgi==4.9.0 \
MulticoreTSNE==0.1 \
mysql-connector-python==8.0.28 \
numba==0.55.1 \
numexpr==2.8.1 \
numpy==1.21.5 \
opencv-python==4.5.5.64 \
pandas==1.4.1 \
Pillow==9.0.1 \
plotly==5.6.0 \
python-dotenv==0.20.0 \
requests==2.27.1 \
scanpy==1.8.2 \
scanpy[louvain]==1.8.2 \
scikit-learn==1.0.2 \
scipy==1.8.0 \
SQLAlchemy==1.4.32 \
xlrd==2.0.1
but it is not yet integrated. See also Commits software_update_bugfixes, and also Backup production and update OS and all libraries on devel.
It seems as if some earlier changes e.g. commit ae11f63449d7bda768bf6f9503aa3ec2ff42cda7
on www/api/resources/multigene_dash_data.py
are lost...
It is not easy to find associated commits that would resolve issues associated with upgrade...