Skip to content

Conversation

@adamkells
Copy link
Contributor

Description

Having a hard requirement for Numpy 2 broke compatability with scispacy (used in the tutorials and cookbooks). This requirement has now been relaxed to allow the final numpy 1 version (1.26)

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.

adamkells and others added 2 commits January 19, 2026 17:39
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 closed this Jan 19, 2026
@adamkells adamkells deleted the bugfix/relax_numpy_constraint branch January 19, 2026 19:02
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.

2 participants