Skip to content

Merging dev into release - #3057

Merged
jgostick merged 14 commits into
releasefrom
dev
Jul 21, 2026
Merged

Merging dev into release#3057
jgostick merged 14 commits into
releasefrom
dev

Conversation

@jgostick

Copy link
Copy Markdown
Member

There was a PR to work with numpy >= 2.2 so it should be released as a patch.

actions-user and others added 12 commits April 20, 2026 19:27
Co-authored-by: Amin Sadeghi <amin.sadeghi@live.com>
np.in1d was deprecated in NumPy 1.25 and removed from the main namespace
in NumPy 2.x, but pyproject.toml pins numpy>=2. Several core functions
therefore raise 'AttributeError: module numpy has no attribute in1d' on a
supported NumPy version, breaking e.g. find_nearby_pores, site/bond
percolation cluster filtering and neighbor queries.

Replace the remaining np.in1d call sites with np.isin, the documented
drop-in replacement (identical semantics for 1-D inputs, including the
invert= keyword). The codebase already uses np.isin elsewhere, so this
also unifies the idiom.
Fix NumPy 2.x compatibility: replace removed np.in1d with np.isin
updating the version number handling
@jgostick

Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Jul 21, 2026

Copy link
Copy Markdown

@jgostick I can’t apply these changes because the pull request’s branch is the repository’s default branch, which I’m not allowed to push to directly.

You can ask me to create a new pull request with the requested changes instead and I'll open a separate PR on a new branch.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.8%. Comparing base (ea12417) to head (c168ceb).

Additional details and impacted files
@@           Coverage Diff           @@
##           release   #3057   +/-   ##
=======================================
  Coverage     87.8%   87.8%           
=======================================
  Files          151     151           
  Lines         8882    8882           
=======================================
  Hits          7804    7804           
  Misses        1078    1078           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jgostick jgostick left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure how the new bump-version will work, but let's try it.

@jgostick
jgostick merged commit 4791900 into release Jul 21, 2026
23 of 24 checks passed
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.

6 participants