From bdaf84a64b2d02ffc3b5c2426f212e972227aed8 Mon Sep 17 00:00:00 2001 From: Alyssa Cote Date: Thu, 18 Apr 2024 16:41:19 -0700 Subject: [PATCH 1/2] upgrade ubuntu to 22.04 --- .github/workflows/release.yml | 2 +- .github/workflows/run_tests.yml | 2 +- docker/dev/Dockerfile | 2 +- docker/docs/dev/Dockerfile | 2 +- docker/prod/Dockerfile | 2 +- docker/testing/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad711675a..c58288ee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, macos-12] + os: [ubuntu-22.04, macos-12] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index a635537d4..2e3463e5b 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -54,7 +54,7 @@ jobs: fail-fast: false matrix: subset: [backends, slow_tests, group_a, group_b] - os: [macos-12, macos-14, ubuntu-20.04] # Operating systems + os: [macos-12, macos-14, ubuntu-22.04] # Operating systems compiler: [8] # GNU compiler version rai: [1.2.7] # Redis AI versions py_v: ["3.9", "3.10", "3.11"] # Python versions diff --git a/docker/dev/Dockerfile b/docker/dev/Dockerfile index 877fcc821..3ab3a37f8 100644 --- a/docker/dev/Dockerfile +++ b/docker/dev/Dockerfile @@ -24,7 +24,7 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL maintainer="Cray Labs" diff --git a/docker/docs/dev/Dockerfile b/docker/docs/dev/Dockerfile index 48a9f4027..49bbb833c 100644 --- a/docker/docs/dev/Dockerfile +++ b/docker/docs/dev/Dockerfile @@ -24,7 +24,7 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL maintainer="Cray Labs" diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 081b2aa72..c4e86d603 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -24,7 +24,7 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -FROM ubuntu:20.04 +FROM ubuntu:22.04 LABEL maintainer="Cray Labs" LABEL org.opencontainers.image.source https://github.com/CrayLabs/SmartSim diff --git a/docker/testing/Dockerfile b/docker/testing/Dockerfile index 9c247c320..285a66023 100644 --- a/docker/testing/Dockerfile +++ b/docker/testing/Dockerfile @@ -26,7 +26,7 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -FROM ubuntu:21.10 +FROM ubuntu:22.04 ENV DEBIAN_FRONTEND noninteractive RUN apt update && apt install -y python3 python3-pip python-is-python3 cmake git RUN pip install torch==1.9.1 From 960f4a9126e9251d682b12ef5a34bbc373b52351 Mon Sep 17 00:00:00 2001 From: Alyssa Cote Date: Thu, 18 Apr 2024 16:48:58 -0700 Subject: [PATCH 2/2] changelog --- doc/changelog.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/changelog.rst b/doc/changelog.rst index 50ec351a8..5666f401a 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -18,6 +18,7 @@ To be released at some future point in time Description +- Upgrade ubuntu to 22.04 - Fix telemetry monitor logging errrors for task history - Change default path for entities - Drop Python 3.8 support @@ -42,6 +43,8 @@ Description Detailed Notes +- After dropping support for Python 3.8, ubuntu needs to be upgraded. + (SmartSim-PR558_) - Ensure the telemetry monitor does not track a task_id for a managed task. (SmartSim-PR557_) - The default path for an entity is now the path to the experiment / the @@ -107,6 +110,7 @@ Detailed Notes handler. SmartSim will now attempt to kill any launched jobs before calling the previously registered signal handler. (SmartSim-PR535_) +.. _SmartSim-PR558: https://github.com/CrayLabs/SmartSim/pull/558 .. _SmartSim-PR557: https://github.com/CrayLabs/SmartSim/pull/557 .. _SmartSim-PR533: https://github.com/CrayLabs/SmartSim/pull/533 .. _SmartSim-PR544: https://github.com/CrayLabs/SmartSim/pull/544