Skip to content

Commit

Permalink
Hot Fix: bump dependency version (#493)
Browse files Browse the repository at this point in the history
A critical performance concern was identified and addressed in
SmartRedis. A patch fix was deployed, and SmartSim was updated to ensure
users do not inadvertently pull the unpatched version of SmartRedis.

[ committed by @MattToast ]
[ reviewed by @ashao ]
  • Loading branch information
MattToast authored Feb 16, 2024
1 parent 9c043d2 commit 5444927
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .wci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
language: Python

release:
version: 0.6.1
date: 2024-02-15
version: 0.6.2
date: 2024-02-16

documentation:
general: https://www.craylabs.org/docs/overview.html
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ tutorials-dev:
@docker compose build tutorials-dev
@docker run -p 8888:8888 smartsim-tutorials:dev-latest

# help: tutorials-prod - Build and start a docker container to run the tutorials (v0.6.1)
# help: tutorials-prod - Build and start a docker container to run the tutorials (v0.6.2)
.PHONY: tutorials-prod
tutorials-prod:
@docker compose build tutorials-prod
@docker run -p 8888:8888 smartsim-tutorials:v0.6.1
@docker run -p 8888:8888 smartsim-tutorials:v0.6.2


# help:
Expand Down
4 changes: 3 additions & 1 deletion doc/_static/version_names.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"version_names":[
"develop (unstable)",
"0.6.1 (stable)",
"0.6.2 (stable)",
"0.6.1",
"0.6.0",
"0.5.1",
"0.5.0",
Expand All @@ -13,6 +14,7 @@
"version_urls": [
"https://www.craylabs.org/develop/overview.html",
"https://www.craylabs.org/docs/overview.html",
"https://www.craylabs.org/docs/versions/0.6.1/overview.html",
"https://www.craylabs.org/docs/versions/0.6.0/overview.html",
"https://www.craylabs.org/docs/versions/0.5.1/overview.html",
"https://www.craylabs.org/docs/versions/0.5.0/overview.html",
Expand Down
22 changes: 22 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ Jump to :ref:`SmartRedis Changelog <sr_changelog>`
SmartSim
========



0.6.2
-----

Released on 16 February, 2024

Description

- Patch SmartSim dependency version


Detailed Notes

- A critical performance concern was identified and addressed in SmartRedis. A
patch fix was deployed, and SmartSim was updated to ensure users do not
inadvertently pull the unpatched version of SmartRedis. (SmartSim-PR493_)


.. _SmartSim-PR493: https://github.com/CrayLabs/SmartSim/pull/493


0.6.1
-----

Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import smartsim
version = smartsim.__version__
except ImportError:
version = "0.6.1"
version = "0.6.2"

# The full version, including alpha/beta/rc tags
release = version
Expand Down
2 changes: 1 addition & 1 deletion doc/installation_instructions/platform/olcf-summit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ into problems.
.. code-block:: bash
# setup Python and build environment
export ENV_NAME=smartsim-0.6.1
export ENV_NAME=smartsim-0.6.2
git clone https://github.com/CrayLabs/SmartRedis.git smartredis
git clone https://github.com/CrayLabs/SmartSim.git smartsim
conda config --prepend channels https://ftp.osuosl.org/pub/open-ce/1.6.1/
Expand Down
2 changes: 1 addition & 1 deletion docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ COPY --chown=craylabs:root ./tutorials/ /home/craylabs/tutorials/
USER craylabs
RUN export PATH=/home/craylabs/.local/bin:$PATH && \
echo "export PATH=/home/craylabs/.local/bin:$PATH" >> /home/craylabs/.bashrc && \
python -m pip install smartsim[ml]==0.6.1 jupyter jupyterlab matplotlib && \
python -m pip install smartsim[ml]==0.6.2 jupyter jupyterlab matplotlib && \
smart build --device cpu -v && \
chown craylabs:root -R /home/craylabs/.local && \
rm -rf ~/.cache/pip
Expand Down
4 changes: 2 additions & 2 deletions smartsim/_core/_install/buildenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ class Versioner:
PYTHON_MIN = Version_("3.8.0")

# Versions
SMARTSIM = Version_(get_env("SMARTSIM_VERSION", "0.6.1"))
SMARTREDIS = Version_(get_env("SMARTREDIS_VERSION", "0.5.1"))
SMARTSIM = Version_(get_env("SMARTSIM_VERSION", "0.6.2"))
SMARTREDIS = Version_(get_env("SMARTREDIS_VERSION", "0.5.2"))
SMARTSIM_SUFFIX = get_env("SMARTSIM_SUFFIX", "")

# Redis
Expand Down

0 comments on commit 5444927

Please sign in to comment.