Open manics opened 4 years ago
Another option would be a Pipfile-like approach where a requirements-in.txt lists the unversioned files, and then the output of pip freeze
records exact tested versions. (i.e. basically the same but outside of the setup.py file)
I've started a design issue since this affects multiple repos https://github.com/ome/design/issues/103
Since this role is meant to support reproducible deployments it should support pinning of python dependencies in virtualenvs. For instance,
omero-web
depends onomero-py
One option is to have setup.py in omero-web and omero-py have generic ranges for dependencies and each Ansible role is reponsible for defining the full set of pinned dependencies.
Another option is to pin the versions in setup.py of the modules instead, perhaps as a
[variant]
designed for use in reproducible installations, e.g. something like https://github.com/ome/omero-py/pull/114