openworm / OpenWorm

Repository for the main Dockerfile with the OpenWorm software stack and project-wide issues
http://openworm.org
MIT License
2.55k stars 201 forks source link

Use virtualenv for Docker Python packages #314

Open mwatts15 opened 2 years ago

mwatts15 commented 2 years ago

Python packages repackaged by distro package maintainers are constrained mainly so that they work with other packages in the distro. Therefore, using such packages introduces unnecessary constraints in our Python software compared to using Python's conventional packaging format(s): wheels and source tarballs. Furthermore, to isolate our Python requirements from those of the operating system, a virtualenv is recommended.

This task is to replace the use of repackaged python libs in the Docker image with installations from wheels using pip in a virtualenv.