brainvisa / casa-distro

Unified development environment for BrainVISA projects.
2 stars 1 forks source link

Install newer redis pip package version in images #313

Closed sapetnioc closed 1 year ago

sapetnioc commented 1 year ago

Capsul v3 can use Redis' authentication/authorization system. But the auth() Python wrapping was introduced in redis-py v4.2. To date it is possible to use it by upgrading via pip: bv pip install --upgrade --user redis. I think this issue will be resolved automatically when the next image is created.

denisri commented 1 year ago

I have built one yesterday. Is it OK ?

sapetnioc commented 1 year ago

No, I was wrong, Redis is currently installed with apt so the version is fixed (3.5.3). The future Ubuntu release (kinetic) will include v4.3.4. In the meantime, I think I will switch redis to an install with pip.

Moreover, Redis and Celery are only installed on dev image. We will have to move them to run image when we release Capsul v3. I do not see any interest to do it now.