Skip to content

For discussion: Use pinned versions for all direct OMERO deps#3

Open
manics wants to merge 3 commits into
ome:masterfrom
manics-archive:versions
Open

For discussion: Use pinned versions for all direct OMERO deps#3
manics wants to merge 3 commits into
ome:masterfrom
manics-archive:versions

Conversation

@manics
Copy link
Copy Markdown
Member

@manics manics commented Sep 22, 2020

See discussion today in slack with @pwalczysko over how to specify the omero-py version for OMERO.server. In the IDR we use a hidden variable in the omero-server Ansible role to pin the version of omero-py. @pwalczysko wants to do the same for the outreach servers, which is a good indication that we should come up with a proper solution instead of something that only we know about internally.

We could just make the hidden Ansible role variable public. The downside is it's not extensible, since we may want to pin the versions of other dependencies. We may decide it's good enough anyway in which case this PR isn't needed.

This PR changes omero-cli-server to pin omero-py and all direct dependencies. requirements-*.txt files are used so hopefully dependabot can be used to let us know when there are updates, though we still need to test them since this is intended for production servers and will eventually be used in the OMERO.server ansible role. An advantage of pinning everything here is all our servers can use these versions, otherwise each playbook will have to define them.

To keep things understandable we should probably version this to match the OMERO.server major version to match other components (i.e. 5.* clients work with 5.6.* servers, 6.* clients will work with 6.* servers, it probably makes sense to do the same for closely coupled server dependencies). Another option is to exactly match the OMERO.server version, so OMERO.server 5.6.3 is recommended to use omero-server==5.6.3, which is perhaps the clearest option, though we'd need to consider the versioning when e.g. bumping a dependency due to a security release.

Related to ome/design#103

@manics manics changed the title Use pinned versions for all direct OMERO deps For discussion: Use pinned versions for all direct OMERO deps Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant