Skip to content

Commit

Permalink
Upgrade ubuntu to 22.04 (#558)
Browse files Browse the repository at this point in the history
Bump ubuntu to version 22.04

[ committed by @AlyssaCote ]
[ reviewed by @ashao ]
  • Loading branch information
AlyssaCote authored Apr 19, 2024
1 parent 044c4bd commit 04ea493
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ To be released at some future point in time

Description

- Upgrade ubuntu to 22.04
- Remove helper function ``init_default``
- Fix telemetry monitor logging errrors for task history
- Change default path for entities
Expand All @@ -43,6 +44,8 @@ Description

Detailed Notes

- After dropping support for Python 3.8, ubuntu needs to be upgraded.
(SmartSim-PR558_)
- Remove helper function ``init_default`` and replace with traditional type
narrowing. (SmartSim-PR545_)
- Ensure the telemetry monitor does not track a task_id
Expand Down Expand Up @@ -110,6 +113,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-PR545: https://github.com/CrayLabs/SmartSim/pull/545
.. _SmartSim-PR557: https://github.com/CrayLabs/SmartSim/pull/557
.. _SmartSim-PR533: https://github.com/CrayLabs/SmartSim/pull/533
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion docker/docs/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04ea493

Please sign in to comment.