ENH: Build against NumPy 2 by bashtage · Pull Request #593 · bashtage/linearmodels

@bashtage

Bump minimums for NumPy 2 build
Require NumPy 2

@bashtage

Bump minimums for NumPy 2 build
Require NumPy 2

@codecov

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.60%. Comparing base (facba92) to head (a8f8dee).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #593   +/-   ##
=======================================
  Coverage   99.60%   99.60%           
=======================================
  Files          99       99           
  Lines       17259    17259           
  Branches     2460     2460           
=======================================
  Hits        17190    17190           
  Misses         30       30           
  Partials       39       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bashtage

NumPy 1.x is still supported, just not for building. If you need to build that wheel, you have to use 2.0.0rc1+, but can run on 1.22.3+ (still test on 1.22-1.26).