Closed sbesson closed 4 years ago
In case you missed it https://github.com/sbesson/omero-py/pull/1
The changes all look good to me. Testing today was all green (and travis is happy). Merging.
I realize I haven't discussed versioning. My inclination would be to release by incrementing the patch version i.e. 5.7.2
as the API is not modified and the runtime dependency exception has always felt as a bug to me.
I was thinking about that. I don't imagine adding a dependency, now that it happens transitively, requires a minor bump. Though now that I think about it, I wonder if anything else like https://github.com/ome/conda-omero-py/blob/master/meta.yaml needs a bump, too. We probably need to codify the steps on a requirement addition/modification.
In the current construction of omero-py, there are two public APIs which require PyYAML at runtime: the CLI
import --bulk
functionalitity as well as theomero.util.pydict_text_io
utility consumed by a few CLI plugins (render, metadata) for loading YAML files.497f1bd makes
PyYAML
a mandatory dependency ofomero-py
dcde6b2 also removes the optionalimport yaml
handling and replaces usage of the deprecatedyaml.load
andyaml.load_all
byyaml.safe_load
andyaml.safe_load_all