Skip to content

Conversation

@adamkells
Copy link
Contributor

Description

Hard enforcing Numpy 2 caused breaking compatability with SciSpacy. This update installs Healthchain with numpy 2 but relaxes the constraint to allow downgrading to 1.26 if neccesary.

Closes #

Type of Change

  • 🐛 Bug fix (non-breaking)
  • ✨ New feature (non-breaking)
  • 💥 Breaking change
  • 📚 Documentation
  • 🧪 Tests only
  • 🔴 Core change (requires RFC)

Testing

  • uv run pytest passes locally and generates no additional warnings or errors.
  • Added / updated tests to cover the changes.
  • Manually tested (describe how)

Checklist

  • I have read CONTRIBUTING.md and followed the guidelines.
  • I have linked all relevant Issues / Discussions / RFCs.
  • I have updated documentation where needed.
  • I understand all code changes and can explain the design decisions and trade-offs.
  • I am available to respond to review feedback.

Separate build-time vs runtime numpy requirements:
- Build: numpy>=2.0.0 (for Cython/C extensions)
- Runtime: numpy>=1.26.0,<2.4.0 (allows older numpy for scispacy)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@adamkells adamkells self-assigned this Jan 19, 2026
@adamkells adamkells merged commit 95fad1d into main Jan 20, 2026
8 checks passed
@adamkells adamkells deleted the bugfix/numpy-2-constraint branch January 20, 2026 18:12
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.

3 participants