Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930951 - [TRACKER] >=dev-python/numpy-2 porting
Summary: [TRACKER] >=dev-python/numpy-2 porting
Status: CONFIRMED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 932639 932642 932712 933256 934490 934817 932459 932480 932518
Blocks:
  Show dependency tree
 
Reported: 2024-04-30 05:01 UTC by Michał Górny
Modified: 2024-06-30 18:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-30 05:01:55 UTC
NumPy 2 introduces many API changes, and a forward-incompatible ABI change.  Since we can't do one-way ABI compatibility in Gentoo, I went for a full subslot bump.

Since Python extensions don't do SOVERSIONs, ABI mismatch causes a runtime error of mismatched data type size.  This often shows up in a different package's test suite.  When it does, you need to track down the package that hasn't been rebuilt, and make sure to put numpy in DEPEND and include := slot operator, i.e.:

  DEPEND="
    dev-python/numpy:=
  "

Aside from that, you're probably going to see errors about removed stuff, numeric mismatched and other weird errors.