- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P3: Somewhat important
 - 
    6.8.0.2
 - 
    None
 - 
    numpy>=2
 
- 
        d97e08248 (dev), a433f72f8 (6.8)
 
QXYSeries.appendNp requires numpy<2 even for python>3.9, which is compatible with numpy>=2. As of today, the behavior is not documented at all. Please add the info into the docs and, if feasible and reasonable, add numpy>=2 support.
The following code reproduces the issue:
import numpy as np from PySide6.QtCharts import QLineSeries QLineSeries().appendNp(np.empty(1), np.empty(1))
| For Gerrit Dashboard: PYSIDE-2917 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 602219,3 | numpy: raise versions for 3.9+ compatibility | dev | pyside/pyside-setup | Status: MERGED | +2 | +1 | 
| 602463,2 | numpy: raise versions for 3.9+ compatibility | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |