From ffe9236e7737c7c46b95481f09517e211eedce9a Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 29 Aug 2024 16:03:23 -0700 Subject: [PATCH] CI: Python Install Dependencies Update the Python install dependencies according to latest docs. Setuptools had a breaking change for Python 3.12 and we modernized accordingly. --- .github/workflows/dependencies/dependencies.sh | 3 ++- .github/workflows/dependencies/dependencies_clang6.sh | 3 ++- .github/workflows/dependencies/dependencies_gcc10.sh | 3 ++- .github/workflows/dependencies/dependencies_nofortran.sh | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dependencies/dependencies.sh b/.github/workflows/dependencies/dependencies.sh index ecaa6eca..35825b96 100755 --- a/.github/workflows/dependencies/dependencies.sh +++ b/.github/workflows/dependencies/dependencies.sh @@ -17,4 +17,5 @@ sudo apt-get install -y --no-install-recommends\ python3 \ python3-pip -python3 -m pip install -U pip setuptools wheel +python3 -m pip install -U pip +python3 -m pip install -U build packaging setuptools wheel diff --git a/.github/workflows/dependencies/dependencies_clang6.sh b/.github/workflows/dependencies/dependencies_clang6.sh index 596dd8c3..ad18689d 100755 --- a/.github/workflows/dependencies/dependencies_clang6.sh +++ b/.github/workflows/dependencies/dependencies_clang6.sh @@ -15,4 +15,5 @@ sudo apt-get install -y \ python3 \ python3-pip -python3 -m pip install -U pip setuptools wheel +python3 -m pip install -U pip +python3 -m pip install -U build packaging setuptools wheel diff --git a/.github/workflows/dependencies/dependencies_gcc10.sh b/.github/workflows/dependencies/dependencies_gcc10.sh index 66573abc..3ea17c85 100755 --- a/.github/workflows/dependencies/dependencies_gcc10.sh +++ b/.github/workflows/dependencies/dependencies_gcc10.sh @@ -18,4 +18,5 @@ sudo apt-get install -y --no-install-recommends \ python3 \ python3-pip -python3 -m pip install -U pip setuptools wheel +python3 -m pip install -U pip +python3 -m pip install -U build packaging setuptools wheel diff --git a/.github/workflows/dependencies/dependencies_nofortran.sh b/.github/workflows/dependencies/dependencies_nofortran.sh index d00c1ff8..65eb13f9 100755 --- a/.github/workflows/dependencies/dependencies_nofortran.sh +++ b/.github/workflows/dependencies/dependencies_nofortran.sh @@ -21,4 +21,5 @@ sudo apt-get install -y --no-install-recommends\ python3 \ python3-pip -python3 -m pip install -U pip setuptools wheel +python3 -m pip install -U pip +python3 -m pip install -U build packaging setuptools wheel