Matching packages between main and develop branches and removal of outdated pull request template#86
Conversation
|
@fmalatino - before formally reviewing, wanted to make sure the submodule changes for NDSL, pyFV3, and pySHiELD is expected as part of the rollback to Python 3.11.7 |
|
@bensonr I figured I would bring the |
oelbert
left a comment
There was a problem hiding this comment.
Looks like you'll have to update any calls to constraints.txt now that it's been split into constraints_38 and constaints_311, though it's probably better to just bump the python version to 3.11 and keep one constraint file. If we want to keep support for python 3.8 it's probably better to use environment markers I think?
Also while we're updating the install environment can we delete lines 20-23 from pace/Dockerfile? It seems redundant with lines 24-27
My vote is that we just move to support for 3.11.7. Can do with the lines in the Dockerfile; will be in next push. |
oelbert
left a comment
There was a problem hiding this comment.
Great thanks. One more change I think and we should be ok
There was a problem hiding this comment.
Thanks for the change. We should probably update the python image in here from 3.8.3 to 3.11.7 as well
oelbert
left a comment
There was a problem hiding this comment.
Have you successfully built the container and run a notebook in it?
| stencil_config: | ||
| compilation_config: | ||
| backend: numpy | ||
| backend: dace:cpu |
There was a problem hiding this comment.
Do we need both numpy and dace:cpu here? Or do we have other tests for numpy that provide adequate coverage?
There was a problem hiding this comment.
Sorry this was a relic from the testing the orchestration issues. Will keep it at numpy only
* working baroclinic test case example (#81) * fixing dockerfile overriding netcdf, mpi4py, and numpy versions with mutually incompatible versions (#84) * Update notebooks for eta file creations (#85) * Update pace to use python 3.11.9 (#82) * Updated container for Github Action and reusable workflow (#87) * Updated container for Github Action and reusable workflow - Redo (#89) * Matching packages between main and develop branches and removal of outdated pull request template (#86) * Changed workflows to use python 3.11.7, added pytest-subtests to requirments_dev.txt * Updating constraints file * Updating Dockerfile to use 3.11-slim-bookworm base python image * reusable workflow CI - checkout corrrect repository (#90) * pace/tests/main/grid/test_eta.py moved to NDSL/tests/grid/test_eta.py (#92) * Updated README to include directions for generating eta files (#99) * Updated submodules to most recent versions as of 3 Jan 2025 15:35 EST * Updated c5 build script to match new methods --------- Co-authored-by: Oliver Elbert <oliver.elbert36@gmail.com> Co-authored-by: MiKyung Lee <58964324+mlee03@users.noreply.github.com> Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> Co-authored-by: Xingqiu Yuan <xingqiu.yuan@noaa.gov>
* working baroclinic test case example (#81) * fixing dockerfile overriding netcdf, mpi4py, and numpy versions with mutually incompatible versions (#84) * Update notebooks for eta file creations (#85) * updated generate_eta_files * remove notebook, add script * lint --------- Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> * Update pace to use python 3.11.9 (#82) * Updates to allow use of python3.11 * Removed main_unit_tests.yml as it is covered by tests in containers * Updated images for unit tests with openmpi and mpich * Updated container for Github Action and reusable workflow (#87) * updated generate_eta_files * remove notebook, add script * lint * correct path * update constraints * python3 execute * Update main_unit_tests_mpich.yaml * Update main_unit_tests_mpich.yaml * update input directory * get ..s correct * lint --------- Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> * Updated container for Github Action and reusable workflow - Redo (#89) * test * tet * fix test dir * test * checkout pace * rename * test * rm * remove dir * fix name * test * pyshield * test * fix trigger mistake * test * change lint version * remove push * lint --------- Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> * Matching packages between main and develop branches and removal of outdated pull request template (#86) * Changed workflows to use python 3.11.7, added pytest-subtests to requirments_dev.txt * Matched package dependencies between main and develop branches * Updating constraints file * Updating Dockerfile to use 3.11-slim-bookworm base python image * reusable workflow CI - checkout corrrect repository (#90) * fix trigger mistake * fix spacking * update yaml files * rename lint.yaml * remove backup yaml file * simply pull request trigger * beloved lint --------- Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> * add build script for intel oneapi and gcc compiler separately (#88) * add build script for intel oneapi and gcc compiler separately * update the python version and remove the link time optimization option for gcc * pace/tests/main/grid/test_eta.py moved to NDSL/tests/grid/test_eta.py (#92) * Removed test_eta.py, moved to NDSL/tests/grid * Updated constraints to reflect incoming new versions of subrepositories (#94) * Updated README to include directions for generating eta files (#99) * Updated README to include directions for generating eta files * Linting * Updated baroclinic_c2.yaml to generate zarr output * Update submodules and addition of baroclinic run to workflow (#101) * Updated submodules as of 21 Jan 2025, and added baroclinic run to github workflow * Hotfix/update netcdf version for docker files (#102) * Update netcdf version * also upgrade pip * update ndsl * `xarray` to `2025.01.2` to grab the `DataTree` (#103) * Update submodules (#104) * Updated submodules to versions as of 15 Jan 2025 * Updated submodules as of 21 Jan 2025, and added baroclinic run to github workflow * Updated submodules as of 5 09:49 March 2025 * Reverting changes to build_gaea_c5_gcc.sh * Reverting changes to build_gaea_c5_gcc.sh one more thing --------- Co-authored-by: Oliver Elbert <oliver.elbert36@gmail.com> Co-authored-by: MiKyung Lee <58964324+mlee03@users.noreply.github.com> Co-authored-by: mlee03 <Mikyung.Lee@lscamd50-d.gfdl.noaa.gov> Co-authored-by: Xingqiu Yuan <xingqiu.yuan@noaa.gov> Co-authored-by: Florian Deconinck <deconinck.florian@gmail.com>
Description
The
pytest-subtestspackage was added to requirements to enable full testing suite.The python version in github workflows was rolled back to 3.11.7 to match environments in submodules.
The submodules,
NDSL,pyFV3, andpySHiELDare also brought to the latest commits in their respectivedevelopbranchesHow Has This Been Tested?
Tested via current test suite
Checklist: