Skip to content

fix: only check VirtualNDArray's shape versus count in from_buffers if both are known#3667

Merged
ianna merged 6 commits intoscikit-hep:mainfrom
ikrommyd:ikrommyd/fix-virtual-from-buffers
Oct 17, 2025
Merged

fix: only check VirtualNDArray's shape versus count in from_buffers if both are known#3667
ianna merged 6 commits intoscikit-hep:mainfrom
ikrommyd:ikrommyd/fix-virtual-from-buffers

Conversation

@ikrommyd
Copy link
Copy Markdown
Collaborator

@ikrommyd ikrommyd commented Oct 3, 2025

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.67%. Comparing base (b749e49) to head (9a7e8bd).
⚠️ Report is 441 commits behind head on main.

Additional details and impacted files
Files with missing lines Coverage Δ
src/awkward/operations/ak_from_buffers.py 94.47% <100.00%> (+0.35%) ⬆️

... and 196 files with indirect coverage changes

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

@ikrommyd ikrommyd changed the title fix: only check VirtualNDArray's shape verus count in from_buffers if both are not unknown fix: only check VirtualNDArray's shape versus count in from_buffers if both are not unknown Oct 3, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 3, 2025

The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3667

@ikrommyd ikrommyd changed the title fix: only check VirtualNDArray's shape versus count in from_buffers if both are not unknown fix: only check VirtualNDArray's shape versus count in from_buffers if both are known Oct 4, 2025
@ikrommyd ikrommyd requested review from ianna and pfackeldey October 8, 2025 15:57
@ikrommyd ikrommyd force-pushed the ikrommyd/fix-virtual-from-buffers branch from fba020a to 8563a96 Compare October 14, 2025 19:56
@ianna ianna added the pr-next-release Required for the next release label Oct 16, 2025
Copy link
Copy Markdown
Member

@ariostas ariostas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solved my issue, so it gets a thumbs up from my side.

Copy link
Copy Markdown
Member

@ianna ianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ikrommyd - Great! Thanks for fixing it. The tests pass, I'll enable auto-merge. Thanks!

@ianna ianna merged commit 70957e2 into scikit-hep:main Oct 17, 2025
41 checks passed
@ikrommyd ikrommyd deleted the ikrommyd/fix-virtual-from-buffers branch October 17, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-next-release Required for the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Passing VirtualNDArrays into from_buffers fails due to size comparison

3 participants