Fix dependencies of overlay_images
tool
#130
Merged
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.
Previous versions of the tool required numpy 1.20, that does not offer the
numpy.typing
package.One of the other dependencies of the tool is scikit-image, which in turn requires pillow. When testing without containerization (i.e. without the
--biocontainers
switch), the tests failed, because seemingly a newer version of pillow was installed (10.4.0, compared to testing with containerization). However, pillow 10.4.0 requires thenumpy.typing
package, that isn't there with numpy 1.20:The same issue could be reproduced by running a local Galaxy instance without containerization (which is very much the procedure suggested in https://galaxyproject.org/admin/get-galaxy).
To fix these issues, this PR bumps numpy to 1.21 (which includes the
numpy.typing
package) and pins pillow to 10.4.0 (to prevent similar issues in the future).Could be related to #121.
FOR THE CONTRIBUTOR — Please fill out if applicable
Please make sure you have read the CONTRIBUTING.md document (last updated: 2024/04/23).
If this PR adds or updates a tool or tool collection: