Skip to content

Fix pandas 3.0 support#365

Merged
mgovers merged 5 commits intoPowerGridModel:mainfrom
furqan463:pandas_3.0
Jan 26, 2026
Merged

Fix pandas 3.0 support#365
mgovers merged 5 commits intoPowerGridModel:mainfrom
furqan463:pandas_3.0

Conversation

@furqan463
Copy link
Contributor

With release of pandas 3.0, the pgm-io tests are failing. This PR fixes those issues.
PR #364 will also get fixed.

Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
@furqan463
Copy link
Contributor Author

@mgovers can you please review. Also I'm currently not familiar with uv, can you update uv.lock accordingly.

Copy link
Member

@mgovers mgovers left a comment

Choose a reason for hiding this comment

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

Hi @furqan463,

Thank you for figuring this out. It is indeed unfortunate that pandas did this many breaking changes. However, we cannot force users to use pandas 3.0.0 yet. Can you please have a look at my suggestions? After those are implemented, i will resolve the uv dependencies for you.

Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
@mgovers mgovers added the feature New feature or request label Jan 26, 2026
@furqan463
Copy link
Contributor Author

furqan463 commented Jan 26, 2026

There are 2 warning in pandas 3.0 regarding unit/conftest.py, 7 warnings in validation tests.

Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
@furqan463 furqan463 requested a review from mgovers January 26, 2026 09:23
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@mgovers
Copy link
Member

mgovers commented Jan 26, 2026

There are 2 warning in pandas 3.0 regarding unit/conftest.py, 7 warnings in validation tests.

I resolved the conftest ones. The other validation test warnings are unrelated to this PR

@mgovers mgovers added this pull request to the merge queue Jan 26, 2026
Merged via the queue into PowerGridModel:main with commit eacba2a Jan 26, 2026
29 checks passed
@furqan463 furqan463 deleted the pandas_3.0 branch January 26, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants