Skip to content

fix: cast to PyObject* in get_numpy_array calls for GCC 14 - #87

Merged
Stoops-ML merged 2 commits into
mainfrom
updates
Aug 16, 2026
Merged

Stoops-ML merged 2 commits into
mainfrom
updates

Conversation

@Stoops-ML

Copy link
Copy Markdown
Owner

manylinux_2_28 now ships GCC 14, which promoted
-Wincompatible-pointer-types from a warning to an error. 52 call sites passed PyArrayObject* to get_numpy_array(PyObject*), failing the cp39-cp314 wheel builds on the v1.3.1 tag. Added explicit casts; no runtime behaviour change.

Also fixes setup.py building the include path with '\'.join, which emitted -I/project\include on Linux.

Daniel Stoops and others added 2 commits August 16, 2026 12:49
manylinux_2_28 now ships GCC 14, which promoted
-Wincompatible-pointer-types from a warning to an error. 52 call
sites passed PyArrayObject* to get_numpy_array(PyObject*), failing
the cp39-cp314 wheel builds on the v1.3.1 tag. Added explicit casts;
no runtime behaviour change.

Also fixes setup.py building the include path with '\\'.join, which
emitted -I/project\include on Linux.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.95%. Comparing base (bdba226) to head (e77d253).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #87   +/-   ##
=======================================
  Coverage   80.95%   80.95%           
=======================================
  Files           3        3           
  Lines          42       42           
=======================================
  Hits           34       34           
  Misses          8        8           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Stoops-ML
Stoops-ML merged commit 13173d9 into main Aug 16, 2026
9 checks passed
@Stoops-ML
Stoops-ML deleted the updates branch August 16, 2026 09:55
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