Skip to content

[Update] Numpy 2x#91

Merged
oelbert merged 9 commits intoNOAA-GFDL:developfrom
FlorianDeconinck:update/numpy_2x
Apr 2, 2026
Merged

[Update] Numpy 2x#91
oelbert merged 9 commits intoNOAA-GFDL:developfrom
FlorianDeconinck:update/numpy_2x

Conversation

@FlorianDeconinck
Copy link
Copy Markdown
Collaborator

@FlorianDeconinck FlorianDeconinck commented Mar 3, 2026

Description

🧱 🧱 Merge post- NOAA-GFDL/NDSL#389 🧱 🧱

NDSL numpy upgrade to 2x brings a few changes

  • NDSL now requires numpy>=2 - we mirror the requirement here for RRTMGP
  • Remove usage of ndsl.types.NumpyModule, it was only used for access to np.s_ which id transparent to numpy/cupy

@FlorianDeconinck FlorianDeconinck marked this pull request as draft March 3, 2026 15:26
@FlorianDeconinck FlorianDeconinck requested a review from oelbert March 3, 2026 20:51
@FlorianDeconinck FlorianDeconinck marked this pull request as ready for review March 3, 2026 20:52
@FlorianDeconinck FlorianDeconinck marked this pull request as draft March 13, 2026 13:58
@FlorianDeconinck FlorianDeconinck marked this pull request as ready for review April 1, 2026 21:59
Copy link
Copy Markdown
Collaborator

@oelbert oelbert left a comment

Choose a reason for hiding this comment

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

Should we be referring to your forks in the github workflows and .toml or the NOAA-GFDL ones?

jobs:
pace_unit_tests:
uses: NOAA-GFDL/pace/.github/workflows/main_unit_tests.yaml@develop
uses: floriandeconinck/pace/.github/workflows/main_unit_tests.yaml@update/numpy_2x
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I assume we switch this back once we have a Pace PR in?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, sorry I should have put that in the PR.

We are going up and down the repos to make sure everything keeps green. So once Pace is updated, we will go back down and re-hook develop

with:
submodules: 'recursive'
repository: NOAA-GFDL/pySHiELD
repository: floriandeconinck/PySHiELD
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Don't think this is intended?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It is - it's for the other repositories calling in.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You don't like my pre-xumpy hack?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I loved it. It broke numpy 2 :)

Comment thread pyproject.toml Outdated
Copy link
Copy Markdown
Collaborator

@oelbert oelbert left a comment

Choose a reason for hiding this comment

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

👍

@oelbert oelbert enabled auto-merge April 2, 2026 15:23
@oelbert oelbert added this pull request to the merge queue Apr 2, 2026
Merged via the queue into NOAA-GFDL:develop with commit 52c1331 Apr 2, 2026
3 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.

2 participants