Skip to content

Conversation

@adamjtaylor
Copy link
Owner

Summary

  • Pin numpy version to >=1.23.0,<2.0 in Docker environment

Problem

The zarr library uses np.PINF which was removed in NumPy 2.0. Pip installs in the Dockerfile can upgrade numpy beyond the conda-pinned version, causing this error:

AttributeError: `np.PINF` was removed in the NumPy 2.0 release. Use `np.inf` instead.

This blocks all CI tests including PR #37 (H&E RGB thumbnail generation).

Fix

Changed from exact pin numpy=1.23.0 to range numpy>=1.23.0,<2.0 to prevent any numpy 2.x installation while allowing patch updates.

Testing

Once merged, Docker container will rebuild automatically. This unblocks testing for PR #37.

🤖 Generated with Claude Code

adamjtaylor and others added 27 commits September 27, 2023 10:24
…fig, fix allOf references

Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
…tch-1

Fix samplesheet location for test profile
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
…tional-save-for-images

Feature merge into branch to unblock rapidly
Co-authored-by: adamjtaylor <14945787+adamjtaylor@users.noreply.github.com>
…oken-schema-references

Fix broken schema references preventing Seqera Platform launch
…tional-save-for-images

Add optional publishDir for bioformats2ometiff converted images
The zarr library uses np.PINF which was removed in NumPy 2.0.
This constraint prevents pip installs from upgrading numpy beyond 1.x.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@adamjtaylor
Copy link
Owner Author

Closing - PR was created on wrong repo. See Sage-Bionetworks-Workflows#41

@adamjtaylor adamjtaylor deleted the fix/numpy-version-constraint branch January 16, 2026 12:30
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.

4 participants