Skip to content

NumPy 2.x compatibility + dependency floor updates#469

Closed
energyscholar wants to merge 3 commits into
ThomasMBury:mainfrom
energyscholar:maintenance/numpy2-compat
Closed

NumPy 2.x compatibility + dependency floor updates#469
energyscholar wants to merge 3 commits into
ThomasMBury:mainfrom
energyscholar:maintenance/numpy2-compat

Conversation

@energyscholar
Copy link
Copy Markdown
Contributor

Summary

  • Remove numpy<2.0 constraint — tested compatible with NumPy 2.x and current EntropyHub
  • Bump dependency floors to realistic minimums (pandas 1.3+, plotly 4.0+, lmfit 1.0+, statsmodels 0.13+, scipy 1.7+)
  • Upgrade codecov GitHub Action v3 → v4 (v3 deprecated)
  • Add --strict-markers to pytest config (catches typos in marker names)

Motivation

The numpy<2.0 pin was blocking users on Python 3.12+ from installing with modern environments where NumPy 2.x is the default. EntropyHub now supports NumPy 2.x, removing the original reason for the pin.

The dependency floor bumps remove versions that are 5-8 years old and no longer tested against. No functionality changes — purely compatibility maintenance.

Test plan

  • All existing tests pass locally with NumPy 2.x installed
  • CI should confirm on matrix (Python 3.9-3.12)

@energyscholar
Copy link
Copy Markdown
Contributor Author

Closing — will resubmit bundled with architecture proposal after additional QC.

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.

1 participant