Skip to content

pandas 3 support, flopy fixes and PRT demo fix + update#195

Merged
mnfienen merged 10 commits into
DOI-USGS:mainfrom
aleaf:main
Jun 18, 2026
Merged

pandas 3 support, flopy fixes and PRT demo fix + update#195
mnfienen merged 10 commits into
DOI-USGS:mainfrom
aleaf:main

Conversation

@aleaf

@aleaf aleaf commented Mar 16, 2026

Copy link
Copy Markdown
Contributor
  • Fixes to support pandas 3
  • Still test against pandas 2 with separate environment file
  • unpin repin Flopy version at 3.9 to resolve conflict between Flopy 3.10 and MODFLOW < 6.7 (for unknown reasons was still getting MODFLOW 6.6.3 for PRT run in notebook 10a, even after installing 6.7)
  • For now, pull MODFLOW from the modflow6 repo to get the latest release
  • Add iflowface to PRT demo
    ...

aleaf added 9 commits March 4, 2026 20:34
…eplace deprecaded modelgrid.write_shapefile() call with GeoDataFrame.to_file()
 * error with calculating t_years
 * ci(test.yaml; build_docs.yaml): use 'modflow6' repo to get the latest release ('executables' repo is lagged and current Flopy was writting a COORDINATE_CHECK_METHOD input to the .prp file (for PRT) that was causing an error with MODFLOW 6.6.3)
 * bump python version for build_docs.yaml to 3.14
* reference installation/environment.yml so that python version is only listed in one place
* explicitly test with pandas 3 using another env file (Flopy requirements are apparently still resulting in pandas <3)
@aleaf aleaf force-pushed the main branch 4 times, most recently from a4d4591 to e48d2cb Compare March 16, 2026 21:53
@mnfienen

Copy link
Copy Markdown
Collaborator

@aleaf - it looks like maybe you didn't push the new ci/pandas3_env.yml file? I was working on pandas 3 support but kinda made things worse I think so I'll abandon my branch in favor of yours :). Thanks for working on this!

@aleaf

aleaf commented Mar 16, 2026

Copy link
Copy Markdown
Contributor Author

ugh, sorry @mnfienen for the endless flails on the CI. I think it might be close.

@mnfienen

Copy link
Copy Markdown
Collaborator

hey @aleaf - I'm just catching up from being away. Is this ready to merge?

@aleaf

aleaf commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

I think so. The scheduled tests that just ran on my fork just show the ci/pandas2_env.yml test run failing on ubuntu, due to an SSL error related to dataretrieval-python and NWIS. Since it's just happening on unbuntu, maybe it's related to how the certificate bundle is being set up on the ubuntu runners?

…ct by pinning Flopy=3.9 for now. Flopy 3.10 wouldn't accept coordinate_check_method as an arg to the PRP package; for some reason installing MODFLOW from the modflow6 repo didn't result in version 6.7 for the PRT run in notebook 10a, even though the reported MODFLOW version in the path was 6.7.
@mnfienen mnfienen merged commit 282f1eb into DOI-USGS:main Jun 18, 2026
21 of 26 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