diff --git a/fesom2_test_refactoring/Dockerfile b/fesom2_test_refactoring/Dockerfile index 2a2f5c7..43d2ca1 100644 --- a/fesom2_test_refactoring/Dockerfile +++ b/fesom2_test_refactoring/Dockerfile @@ -26,7 +26,11 @@ RUN wget \ RUN git clone https://github.com/FESOM/mkfesom.git WORKDIR /fesom/mkfesom/ -RUN pip install -e . +# setuptools 80 dropped the bundled pkg_resources module by default, but +# mkfesom's mkrun.py still does `import pkg_resources`. Pin to a version +# that still exposes it until mkfesom is migrated to importlib.resources. +RUN pip install 'setuptools<80' \ + && pip install -e . WORKDIR /fesom/ RUN mkdir results