Skip to content

Conversation

@nitbharambe
Copy link
Member

@nitbharambe nitbharambe commented Apr 4, 2025

CI fails at #292 and #293 . We need to

  1. upgrade pandapower to 3.0
  2. remove the __array_prepare__ from MockFn before upgrade to numpy 2.0

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
@nitbharambe nitbharambe changed the title add upper limit to numpy Numpy to <2.0 Apr 4, 2025
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
@nitbharambe nitbharambe changed the title Numpy to <2.0 Restrict pandapower to <3.0 and numpy to <2.0 Apr 4, 2025
@nitbharambe nitbharambe marked this pull request as ready for review April 4, 2025 09:17
@mgovers
Copy link
Member

mgovers commented Apr 4, 2025

I did a quick experiment and this can be safely done without any impact on the repo:

remove the array_prepare from MockFn before upgrade to numpy 2.0

@nitbharambe
Copy link
Member Author

nitbharambe commented Apr 4, 2025

I did a quick experiment and this can be safely done without any impact on the repo:

remove the array_prepare from MockFn before upgrade to numpy 2.0

I wanted the CI to confirm this too. But its not possible because pandapower cannot be upgraded to 3.0 in this branch. If anything additional is found it would have to be resolved at the pandapower 3.0 upgradation then.

Lets go with what you suggest. I am fine either way

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
@nitbharambe nitbharambe changed the title Restrict pandapower to <3.0 and numpy to <2.0 Restrict pandapower to <3.0 Apr 4, 2025
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2025

@figueroa1395
Copy link
Member

Maybe worth mentioning here, also for reference, that the nightly is failing miserably (https://github.com/PowerGridModel/power-grid-model-io/actions/runs/14256774715/job/39960784060) and it is very likely related to this pandapower issue.

@mgovers mgovers added the dependencies Pull requests that update a dependency file label Apr 7, 2025
@mgovers mgovers enabled auto-merge April 7, 2025 07:34
@mgovers mgovers added this pull request to the merge queue Apr 7, 2025
Merged via the queue into main with commit 2753d05 Apr 7, 2025
23 checks passed
@mgovers mgovers deleted the feautre/restrict-numpy-2.0 branch April 7, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants