Skip to content

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

Open
aleaf wants to merge 10 commits intoDOI-USGS:mainfrom
aleaf:main
Open

pandas 3 support, flopy fixes and PRT demo fix + update#195
aleaf wants to merge 10 commits intoDOI-USGS:mainfrom
aleaf:main

Conversation

@aleaf
Copy link
Copy Markdown
Contributor

@aleaf aleaf commented Mar 16, 2026

  • 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!

…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.
@aleaf
Copy link
Copy Markdown
Contributor Author

aleaf commented Mar 16, 2026

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

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