Skip to content

Commit

Permalink
v0.9.0 release (#113)
Browse files Browse the repository at this point in the history
* Upgrade python version to 3.10 for 0.9.0 release

* Fix test failures for major version 0 series

* chore: add post-build artifact files for 0.9.0 release

---------

Co-authored-by: Justin Brown <[email protected]>
  • Loading branch information
just4brown and Justin Brown authored Oct 25, 2023
1 parent 593e3e7 commit 08b4fe7
Show file tree
Hide file tree
Showing 10 changed files with 892 additions and 9 deletions.
28 changes: 28 additions & 0 deletions build_artifacts/v0/v0.9/v0.9.0/CHANGELOG-cpu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Change log: 0.9.0(cpu)

## Upgrades:

Package | Previous Version | Current Version
---|---|---
python|3.8.18|3.10.12
ipython|8.12.2|8.16.1
ipywidgets|8.1.1|7.8.0
numpy|1.24.4|1.26.0
pandas|2.0.3|2.1.1
boto3|1.28.63|1.28.69
keras|2.12.0|2.13.1
matplotlib|3.7.3|3.8.0
pip|23.2.1|23.3.1
scipy|1.10.1|1.11.3
scikit-learn|1.3.1|1.3.2
sagemaker-python-sdk|2.189.0|2.194.0
tensorflow|2.12.1|2.13.1

## What's new:

Package | Version
---|---
aws-glue-sessions|1.0.2
sagemaker-headless-execution-driver|0.0.9
sagemaker-kernel-wrapper|0.0.2
sagemaker-studio-analytics-extension|0.0.21
28 changes: 28 additions & 0 deletions build_artifacts/v0/v0.9/v0.9.0/CHANGELOG-gpu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Change log: 0.9.0(gpu)

## Upgrades:

Package | Previous Version | Current Version
---|---|---
python|3.8.18|3.10.12
ipython|8.12.2|8.16.1
ipywidgets|8.1.1|7.8.0
numpy|1.24.4|1.26.0
pandas|2.0.3|2.1.1
boto3|1.28.63|1.28.69
keras|2.12.0|2.13.1
matplotlib|3.7.3|3.8.0
pip|23.2.1|23.3.1
scipy|1.10.1|1.11.3
scikit-learn|1.3.1|1.3.2
sagemaker-python-sdk|2.189.0|2.194.0
tensorflow|2.12.1|2.13.1

## What's new:

Package | Version
---|---
aws-glue-sessions|1.0.2
sagemaker-headless-execution-driver|0.0.9
sagemaker-kernel-wrapper|0.0.2
sagemaker-studio-analytics-extension|0.0.21
29 changes: 29 additions & 0 deletions build_artifacts/v0/v0.9/v0.9.0/RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Release notes: 0.9.0

Package | gpu| cpu
---|---|---
python|3.10.12|3.10.12
ipython|8.16.1|8.16.1
jinja2|3.1.2|3.1.2
ipywidgets|7.8.0|7.8.0
numpy|1.26.0|1.26.0
pandas|2.1.1|2.1.1
boto3|1.28.69|1.28.69
aws-glue-sessions|1.0.2|1.0.2
conda|23.9.0|23.9.0
jupyterlab|3.6.6|3.6.6
keras|2.13.1|2.13.1
matplotlib|3.8.0|3.8.0
pip|23.3.1|23.3.1
scipy|1.11.3|1.11.3
scikit-learn|1.3.2|1.3.2
py-xgboost-gpu|1.7.6|
pytorch-gpu|2.0.0|
sagemaker-headless-execution-driver|0.0.9|0.0.9
sagemaker-kernel-wrapper|0.0.2|0.0.2
sagemaker-python-sdk|2.194.0|2.194.0
sagemaker-studio-analytics-extension|0.0.21|0.0.21
tensorflow|2.13.1|2.13.1
torchvision|0.15.2|0.15.2
py-xgboost-cpu| |1.7.6
pytorch| |2.0.0
2 changes: 1 addition & 1 deletion build_artifacts/v0/v0.9/v0.9.0/cpu.env.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is auto-generated.
conda-forge::pytorch[version='>=2.0.0,<3.0.0']
conda-forge::tensorflow[version='>=2.12.1,<3.0.0']
conda-forge::python[version='>=3.8.18,<3.9.0']
conda-forge::python[version='>=3.10,<3.11']
conda-forge::pip[version='>=23.2.1,<24.0.0']
conda-forge::torchvision[version='>=0.15.2,<1.0.0']
conda-forge::numpy[version='>=1.24.4,<2.0.0']
Expand Down
398 changes: 398 additions & 0 deletions build_artifacts/v0/v0.9/v0.9.0/cpu.env.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build_artifacts/v0/v0.9/v0.9.0/gpu.env.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is auto-generated.
conda-forge::pytorch-gpu[version='>=2.0.0,<3.0.0']
conda-forge::tensorflow[version='>=2.12.1,<3.0.0']
conda-forge::python[version='>=3.8.18,<3.9.0']
conda-forge::python[version='>=3.10,<3.11']
conda-forge::pip[version='>=23.2.1,<24.0.0']
conda-forge::torchvision[version='>=0.15.2,<1.0.0']
conda-forge::numpy[version='>=1.24.4,<2.0.0']
Expand Down
405 changes: 405 additions & 0 deletions build_artifacts/v0/v0.9/v0.9.0/gpu.env.out

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions test/test_artifacts/v0/keras.test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ ENV XLA_FLAGS=--xla_gpu_cuda_data_dir=/opt/conda

WORKDIR "keras-io/guides"

# Checkout a specific commit known to be compatible with the runtime's current version of TensorFlow.
# keras-io made backwards incompatible changes that broke these tests. Pinning at this commit for now
# at least until the runtime's TensorFlow dependency is upgraded to the next minor version
RUN git checkout 861b59747b43ce326bb0a12384a07d6632249901

COPY --chown=$MAMBA_USER:$MAMBA_USER scripts/run_keras_tests.sh .
RUN chmod +x run_keras_tests.sh
# Run tests in run_keras_tests.sh
Expand Down
2 changes: 1 addition & 1 deletion test/test_artifacts/v0/numpy.test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $COSMOS_IMAGE
ARG MAMBA_DOCKERFILE_ACTIVATE=1

# Inorder to test numpy, we need pytest and hypothesis to be installed.
RUN micromamba install -y --freeze-installed conda-forge::pytest conda-forge::hypothesis
RUN micromamba install -y --freeze-installed conda-forge::pytest conda-forge::hypothesis conda-forge::meson
# Some unit tests in numpy requires gcc to be installed.
RUN sudo apt-get update && sudo apt-get install -y gcc
# Check https://numpy.org/doc/stable/reference/testing.html
Expand Down
2 changes: 1 addition & 1 deletion test/test_artifacts/v0/pandas.test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG COSMOS_IMAGE
FROM $COSMOS_IMAGE

ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN micromamba install -y --freeze-installed -c conda-forge pytest hypothesis
RUN micromamba install -y --freeze-installed -c conda-forge pytest hypothesis pytest-asyncio lxml

COPY --chown=$MAMBA_USER:$MAMBA_USER run_pandas_tests.py .
CMD ["python", "run_pandas_tests.py"]

0 comments on commit 08b4fe7

Please sign in to comment.