Skip to content

Conversation

timkpaine
Copy link
Member

@timkpaine timkpaine commented Jul 13, 2024

Adds support for building against numpy 2.

Note: a csp built against numpy 2 will ALSO be useable with a locally installed numpy < 2. The reverse (build against numpy 1, use with numpy 2) does not work.

ref #58

@timkpaine timkpaine added part: dependencies PRs that update a dependency file part: build Issues and PRs related to the build process labels Jul 13, 2024
@timkpaine timkpaine force-pushed the tkp/np2 branch 10 times, most recently from b19fe80 to 53143d7 Compare July 13, 2024 20:12
@timkpaine

This comment was marked as outdated.

@timkpaine timkpaine marked this pull request as ready for review July 13, 2024 21:11
@timkpaine timkpaine added the tag: needs squash PRs that need to be cleaned/squashed label Sep 18, 2025
@timkpaine timkpaine force-pushed the tkp/np2 branch 4 times, most recently from 37206bd to ea544b9 Compare September 19, 2025 21:04
@timkpaine timkpaine removed the tag: needs squash PRs that need to be cleaned/squashed label Sep 19, 2025
@timkpaine timkpaine marked this pull request as ready for review September 19, 2025 21:04
@timkpaine timkpaine requested a review from robambalu September 19, 2025 21:04
@timkpaine timkpaine force-pushed the tkp/np2 branch 6 times, most recently from 0129389 to b6b87aa Compare September 22, 2025 17:28
Copy link
Collaborator

@AdamGlustein AdamGlustein left a comment

Choose a reason for hiding this comment

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

Style comments only

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>

Small fix for numpy2 behavior in pandas, give leak check more leeway in test

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>

Bump conda action and micromamba version

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>

Go through undocumented numpy behavior to handle 1.* arrays when compiled against 2.*

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>

Final fixes for new import utility
@timkpaine timkpaine merged commit d655460 into main Sep 23, 2025
26 checks passed
@timkpaine timkpaine deleted the tkp/np2 branch September 23, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part: build Issues and PRs related to the build process part: dependencies PRs that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants