Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove metadata classes extracted to omero-metadata library #23

Closed
wants to merge 1 commit into from

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Sep 13, 2019

Fixes #22

The metadata library has been extracted to https://github.com/ome/omero-metadata during the OMERO 5.4.x line and the relevant classes deprecated in OMERO.py.

Originally, these classes were kept deprecated until they could be safely dropped in the next major release. With the extraction of this repository and the packaging, this is not really a safe option anymore as shown by the issue since both omero-py and omero-metadata will conflict to install omero/plugins/metadata.py.

--exclude

@manics
Copy link
Member

manics commented Sep 13, 2019

I guess the same applies to https://github.com/ome/omero-upload ? Any others?

@joshmoore
Copy link
Member

I'd think so. Note: there's no requirement that a file under omero/plugins/ match the name of the command that gets registered with the CLI. Shall we change the files in ome/openmicroscopy to include _deprecated? (That is, if we don't just remove them).

@manics
Copy link
Member

manics commented Sep 13, 2019

What's the advantage of renaming instead of removing? If omero-py is a compulsory dependency we can also make omero-<plugin> as compulsory/recommended, or have a omero-cli meta-package that requires omero-py and all standard decoupled plugins.

@joshmoore
Copy link
Member

For me, that's one of the main differences between phase 1 and phase 2: if we are releasing a phase 1 version then we shouldn't delete (yet).

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Sep 14, 2019

Conflicting PR. Removed from build OMERO-python-superbuild-push#70. See the console output for more details.
Possible conflicts:

  • PR Py3 (1) #19 joshmoore 'Py3 (1)'
    • src/omero/util/populate_metadata.py
    • src/omero/plugins/metadata.py

--conflicts Conflict resolved in build OMERO-python-superbuild-push#36. See the console output for more details.

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Sep 15, 2019

Conflicting PR. Removed from build OMERO-python-superbuild-push#71. See the console output for more details.
Possible conflicts:

  • PR Py3 (1) #19 joshmoore 'Py3 (1)'
    • src/omero/util/populate_metadata.py
    • src/omero/plugins/metadata.py

--conflicts Conflict resolved in build OMERO-python-superbuild-push#37. See the console output for more details.

@snoopycrimecop
Copy link
Member

snoopycrimecop commented Sep 16, 2019

Conflicting PR. Removed from build OMERO-python-superbuild-push#72. See the console output for more details.
Possible conflicts:

  • PR Py3 (1) #19 joshmoore 'Py3 (1)'
    • src/omero/util/populate_metadata.py
    • src/omero/plugins/metadata.py

--conflicts Conflict resolved in build OMERO-python-superbuild-push#38. See the console output for more details.

@manics
Copy link
Member

manics commented Oct 10, 2019

Since the first python 3 PR is merged how about rebase and merge this?

@joshmoore
Copy link
Member

Discussed during the python3 call today. General thumbs up to the delete strategy with the caveats that (1) the next OMERO release may not come from master of this repository and (2) that if the tests are removed here, no other repository is currently performing a merge-merge build for testing purposes.

@sbesson sbesson mentioned this pull request Nov 19, 2019
@sbesson
Copy link
Member Author

sbesson commented Nov 19, 2019

Closing in favor of #124 which does not drop any deprecated class and investigate a more generic strategy for handling gracefully the decoupling of CLI plugins.

@sbesson sbesson closed this Nov 19, 2019
@sbesson sbesson deleted the metadata_removal branch June 29, 2020 21:58
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.

omero-metadata installation issue
4 participants