From dec777512985084afefc76d996830a1e589db95f Mon Sep 17 00:00:00 2001 From: "kodiakhq[bot]" <49736102+kodiakhq[bot]@users.noreply.github.com> Date: Fri, 23 Dec 2022 11:17:28 +0000 Subject: [PATCH] Bump GitHub Actions dependencies (#4638) Description of changes: - Bump all GitHub Actions dependencies to remove deprecation warnings about Node.js 12 - Update installation instructions to rely on `requirements.txt` when installing Python dependencies --- .github/actions/build_and_check/action.yml | 2 +- .github/workflows/deploy.yml | 6 +++--- .github/workflows/push_pull.yml | 8 ++++---- doc/sphinx/installation.rst | 8 +++----- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/actions/build_and_check/action.yml b/.github/actions/build_and_check/action.yml index 2dcce230289..02831aaba25 100644 --- a/.github/actions/build_and_check/action.yml +++ b/.github/actions/build_and_check/action.yml @@ -19,7 +19,7 @@ runs: - run: | brew install boost boost-mpi fftw brew install hdf5-mpi - pip3 install numpy cython h5py scipy + pip3 install -c requirements.txt numpy cython h5py scipy shell: bash - run: | export myconfig=maxset with_cuda=false test_timeout=800 with_asan=${{ inputs.asan }} with_ubsan=${{ inputs.ubsan }} check_skip_long=${{ inputs.check_skip_long }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58653e4d88f..06de904ae70 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,14 +9,14 @@ permissions: jobs: deploy_docs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: github.repository == 'espressomd/espresso' environment: deploy_documentation steps: - name: Install pandoc - uses: r-lib/actions/setup-pandoc@v1 + uses: r-lib/actions/setup-pandoc@v2 - name: Setup SSH agent - uses: webfactory/ssh-agent@v0.5.2 + uses: webfactory/ssh-agent@v0.7.0 with: ssh-private-key: ${{ secrets.GH_PAGES_SSH_PRIVATE_KEY }} - name: Checkout diff --git a/.github/workflows/push_pull.yml b/.github/workflows/push_pull.yml index a1f0b756327..bdc28dd5220 100644 --- a/.github/workflows/push_pull.yml +++ b/.github/workflows/push_pull.yml @@ -11,13 +11,13 @@ permissions: jobs: regular_check: - runs-on: macos-latest + runs-on: macos-12 if: github.event_name != 'schedule' steps: - name: Checkout uses: actions/checkout@main - name: Setup Python environment - uses: actions/setup-python@v2 + uses: actions/setup-python@v4.3.1 with: python-version: '3.8' - name: Check without sanitizer @@ -32,13 +32,13 @@ jobs: contents: read # to fetch code (actions/checkout) issues: write # to create an issue - runs-on: macos-latest + runs-on: macos-12 if: (github.event_name == 'schedule' && github.repository == 'espressomd/espresso') steps: - name: Checkout uses: actions/checkout@main - name: Setup Python environment - uses: actions/setup-python@v2 + uses: actions/setup-python@v4.3.1 with: python-version: '3.8' - name: Check with sanitizer diff --git a/doc/sphinx/installation.rst b/doc/sphinx/installation.rst index ef77e09a56b..88014298047 100644 --- a/doc/sphinx/installation.rst +++ b/doc/sphinx/installation.rst @@ -138,10 +138,8 @@ To generate the Sphinx documentation, install the following packages: .. code-block:: bash - pip3 install --user \ - 'sphinx>=2.3.0,!=3.0.0' \ - 'sphinxcontrib-bibtex>=2.4.1' \ - 'sphinx-toggleprompt==0.0.5' + pip3 install --user -c requirements.txt \ + sphinx sphinxcontrib-bibtex sphinx-toggleprompt To generate the Doxygen documentation, install the following packages: @@ -282,7 +280,7 @@ Run the following commands: doxygen gsl numpy scipy ipython jupyter brew install hdf5-mpi brew link --force cython - pip install PyOpenGL matplotlib + pip install -c requirements.txt PyOpenGL matplotlib .. _Quick installation: