Skip to content

Commit

Permalink
Bump version number to 0.8.0 (#718)
Browse files Browse the repository at this point in the history
Bump the version number for the release, last minute actions and docs fixes

[ committed by @MattToast ]
[ reviewed by @ashao ]
  • Loading branch information
MattToast authored Sep 25, 2024
1 parent 7c28d5b commit e8eaa2b
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
CIBW_ENVIRONMENT_MACOS: PATH="$(brew --prefix)/opt/make/libexec/gnubin:$PATH"
MACOSX_DEPLOYMENT_TARGET: "10.09"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

Expand All @@ -105,7 +105,7 @@ jobs:
python -m pip install cmake>=3.13
python setup.py sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

Expand All @@ -114,7 +114,7 @@ jobs:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist
Expand Down
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.7.0
date: 2024-05-14
version: 0.8.0
date: 2024-09-25

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.7.0)
# help: tutorials-prod - Build and start a docker container to run the tutorials (v0.8.0)
.PHONY: tutorials-prod
tutorials-prod:
@docker compose build tutorials-prod
@docker run -p 8888:8888 smartsim-tutorials:v0.7.0
@docker run -p 8888:8888 smartsim-tutorials:v0.8.0


# 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.7.0 (stable)",
"0.8.0 (stable)",
"0.7.0",
"0.6.2",
"0.6.1",
"0.6.0",
Expand All @@ -15,6 +16,7 @@
"version_urls": [
"https://www.craylabs.org/develop/overview.html",
"https://www.craylabs.org/docs/overview.html",
"https://www.craylabs.org/docs/versions/0.7.0/overview.html",
"https://www.craylabs.org/docs/versions/0.6.2/overview.html",
"https://www.craylabs.org/docs/versions/0.6.1/overview.html",
"https://www.craylabs.org/docs/versions/0.6.0/overview.html",
Expand Down
4 changes: 2 additions & 2 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Jump to:

## SmartSim

### Development branch
### 0.8.0

To be released at some future point in time
Released on 25 September, 2024

Description

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

# 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.7.0
export ENV_NAME=smartsim-0.8.0
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
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ services:
- "8888:8888"

tutorials-prod:
image: smartsim-tutorials:v0.7.0
image: smartsim-tutorials:v0.8.0
build:
context: .
dockerfile: ./docker/prod/Dockerfile
ports:
- "8888:8888"
- "8888:8888"
2 changes: 1 addition & 1 deletion docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ COPY . /home/craylabs/SmartSim
RUN chown craylabs:root -R SmartSim
USER craylabs

RUN cd SmartSim && SMARTSIM_SUFFIX=dev python -m pip install .[ml]
RUN cd SmartSim && SMARTSIM_SUFFIX=dev python -m pip install .

RUN export PATH=/home/craylabs/.local/bin:$PATH && \
echo "export PATH=/home/craylabs/.local/bin:$PATH" >> /home/craylabs/.bashrc && \
Expand Down
2 changes: 1 addition & 1 deletion docker/prod-cuda11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86

# Install SmartSim and SmartRedis
RUN pip install git+https://github.com/CrayLabs/SmartRedis.git && \
pip install "smartsim[ml] @ git+https://github.com/CrayLabs/SmartSim.git"
pip install "smartsim @ git+https://github.com/CrayLabs/SmartSim.git"

ENV CUDA_HOME="/usr/local/cuda/"
ENV PATH="${PATH}:${CUDA_HOME}/bin"
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 ./doc/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.7.0 jupyter jupyterlab "ipython<8" matplotlib && \
python -m pip install smartsim==0.8.0 jupyter jupyterlab "ipython<8" matplotlib && \
smart build --device cpu -v && \
chown craylabs:root -R /home/craylabs/.local && \
rm -rf ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class BuildError(Exception):
"pyzmq>=25.1.2",
"pygithub>=2.3.0",
"numpy<2",
"smartredis>=0.5,<0.6",
"smartredis>=0.6,<0.7",
],
zip_safe=False,
extras_require=extras_require,
Expand Down
2 changes: 1 addition & 1 deletion smartsim/_core/_install/buildenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class Versioner:
PYTHON_MIN = Version_("3.9.0")

# Versions
SMARTSIM = Version_(get_env("SMARTSIM_VERSION", "0.7.0"))
SMARTSIM = Version_(get_env("SMARTSIM_VERSION", "0.8.0"))
SMARTSIM_SUFFIX = get_env("SMARTSIM_SUFFIX", "")

# Redis
Expand Down

0 comments on commit e8eaa2b

Please sign in to comment.