Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/pull_request_template.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
uses: actions/checkout@v3.5.2
with:
submodules: 'recursive'
- name: Step Python 3.11.9
- name: Step Python 3.11.7
uses: actions/setup-python@v4.6.0
with:
python-version: '3.11.9'
python-version: '3.11.7'
- name: Install OpenMPI for gt4py
run: |
sudo apt-get install libopenmpi-dev
Expand Down
6 changes: 1 addition & 5 deletions Dockerfile

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the change. We should probably update the python image in here from 3.8.3 to 3.11.7 as well

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.13-bullseye@sha256:2a01d88a1684e6d7f08030cf5ae73b536926c64076cab197e9e3d9f699255283
FROM python:3.11.7-slim-bullseye@sha256:86cad05977011ea3c1b708e869057feb392eb99cb2b9f428d33bde6fe84c2288

RUN apt-get update && apt-get install -y make \
software-properties-common \
Expand All @@ -17,10 +17,6 @@ RUN apt-get update && apt-get install -y make \

RUN pip3 install --upgrade setuptools wheel

COPY constraints.txt /pace/constraints.txt

RUN pip3 install -r /pace/constraints.txt

COPY . /pace

RUN cd /pace && \
Expand Down
29 changes: 22 additions & 7 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ attrs==23.2.0
# aiohttp
# gt4py
# jsonschema
# pytest-subtests
# referencing
babel==2.9.1
# via sphinx
Expand All @@ -48,6 +49,7 @@ cfgv==3.3.1
# via pre-commit
cftime==1.6.3
# via
# -r requirements_dev.txt
# ndsl
# netcdf4
charset-normalizer==3.3.2
Expand Down Expand Up @@ -76,7 +78,9 @@ dacite==1.8.1
# fv3config
# pace
dask==2024.4.2
# via ndsl
# via
# -r requirements_dev.txt
# ndsl
debugpy==1.8.1
# via ipykernel
decorator==5.1.1
Expand Down Expand Up @@ -104,6 +108,7 @@ executing==2.0.1
# stack-data
f90nml==1.4.4
# via
# -r requirements_dev.txt
# fv3config
# ndsl
# pyfv3
Expand Down Expand Up @@ -221,6 +226,7 @@ matplotlib-inline==0.1.7
# ipython
mpi4py==3.1.5
# via
# -r requirements_dev.txt
# ndsl
# pace
mpmath==1.3.0
Expand All @@ -247,6 +253,7 @@ nest-asyncio==1.6.0
# nbclient
netcdf4==1.6.5
# via
# -r requirements_dev.txt
# ndsl
# pace
networkx==3.3
Expand All @@ -259,12 +266,14 @@ numcodecs==0.12.1
# via zarr
numpy==1.26.4
# via
# -r requirements_dev.txt
# cftime
# dace
# gt4py
# h5py
# netcdf4
# numcodecs
# pace
# pandas
# pyfv3
# pyshield
Expand Down Expand Up @@ -297,7 +306,7 @@ pathspec==0.12.1
# via black
pexpect==4.9.0
# via ipython
platformdirs==2.6.2
platformdirs==3.9.1
# via
# black
# jupyter-core
Expand Down Expand Up @@ -339,11 +348,13 @@ pygments==2.17.2
# sphinx
pytest==8.1.1
# via
# -r requirements_dev.txt
# nbmake
# pytest-cov
# pytest-datadir
# pytest-profiling
# pytest-regressions
# pytest-subtests
pytest-cov==5.0.0
# via -r requirements_dev.txt
pytest-datadir==1.5.0
Expand All @@ -352,6 +363,8 @@ pytest-profiling==1.7.0
# via -r requirements_dev.txt
pytest-regressions==2.5.0
# via -r requirements_dev.txt
pytest-subtests==0.12.1
# via -r requirements_dev.txt
python-dateutil==2.9.0.post0
# via
# faker
Expand Down Expand Up @@ -397,7 +410,9 @@ rsa==4.9
scikit-build==0.17.6
# via dace
scipy==1.13.0
# via ndsl
# via
# -r requirements_dev.txt
# ndsl
setuptools-scm==8.0.4
# via fparser
six==1.16.0
Expand Down Expand Up @@ -461,9 +476,7 @@ traitlets==5.14.3
# matplotlib-inline
# nbclient
# nbformat
types-pyyaml==6.0.12.20240311
# via pace
typing-extensions==4.5.0
typing-extensions==4.12.1
# via
# gt4py
# ipython
Expand All @@ -484,14 +497,16 @@ wheel==0.43.0
# scikit-build
xarray==2024.3.0
# via
# -r requirements_dev.txt
# ndsl
# pace
# pyfv3
# pyshield
xxhash==3.0.0
# via gt4py
yarl==1.9.4
# via aiohttp
zarr==2.17.2
zarr==2.18.2
# via
# -r requirements_dev.txt
# pace
Expand Down
2 changes: 1 addition & 1 deletion pyFV3
10 changes: 10 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
pytest
pytest-subtests
pytest-regressions
pytest-profiling
pytest-cov
scipy
nbmake
mpi4py
xarray
zarr
dask
netCDF4
cftime
fv3config
f90nml
numpy
-e NDSL
-e pySHiELD
-e pyFV3
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ def local_pkg(name: str, relative_path: str) -> str:


requirements: List[str] = [
"ndsl",
"dacite",
"pyyaml",
"mpi4py",
"numpy",
"netCDF4",
"xarray",
"zarr",
"types-pyyaml",
]


Expand Down