Update scanpy-scripts: require anndata >=0.8.0 (previously unversioned) #45534
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a requirement of AnnData >=0.8.0 (previously unversioned) for scanpy-scripts. I have incremented build version from 0=>1.
AnnData objects saved with > 0.8.0 (Mar 2022) are not backwards compatible with objects saved with current AnnData versions (e.g. current 0.10.5) https://anndata.readthedocs.io/en/latest/release-notes/index.html#version-0-8
Scanpy and scanpy-scripts will work in isolation with either version, but when data objects are shared between tools, issues arise.
I expect for most users/builds this will not affect much about the build (since it should default to the latest anndata), but in the case where an old version of anndata is available in a higher priority channel, this will mean a current version is sought. This particuar edge case has been seen in galaxy tool builds via biocontainers; See #45164 and ebi-gene-expression-group/container-galaxy-sc-tertiary#311 for details.
Its been a couple of years now, so I anticipate that there will not be many people wanting to stick with the old library. Is it fair to assume they can seek the previous build version (0) of this recipe if required? This is my first recipie update, so if I should be seeking a different aproach to this pull request please advise and I'll check it out. Thanks.