Skip to content

Commit f8119e6

Browse files
committed
Push version to 0.15.0 (manually)
1 parent 3c55cc7 commit f8119e6

File tree

8 files changed

+30
-22
lines changed

8 files changed

+30
-22
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v0.15.0 (2020-09-23)
4+
5+
### Bugs
6+
7+
* Fixed [Issue #4](https://github.com/aws-samples/sagemaker-run-notebook/issues/4), a regression where the invocation of papermill would fail with "No such kernel". (Note that any containers built under v0.14.0, should be rebuilt with `run-notebook )
8+
9+
### Features
10+
11+
Two small changes:
12+
13+
* Added a `-v` option to run-notebook to display the current installed version of the library.
14+
* Changed the install scripts for SageMaker notebooks to install directly from the release on GitHub so users don't need to copy to an S3 bucket first.
15+
316
## v0.14.0 (2020-09-14)
417

518
### Features

QuickStart.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ When the notebook has run, you can find the jobs with `aws sagemaker list-proces
164164

165165
To follow this recipe, you'll need to have AWS credentials set up that give you full permission on CloudFormation. You'll add more permissions with the installed policy later in the recipe.
166166

167-
You'll need installation file that you can download from the [latest release][release]: sagemaker_run_notebook-0.14.0.tar.gz.
167+
You'll need installation file that you can download from the [latest release][release]: sagemaker_run_notebook-0.15.0.tar.gz.
168168

169169
#### 1. Install the library
170170

171171
```sh
172-
$ pip install sagemaker_run_notebook-0.14.0.tar.gz
172+
$ pip install sagemaker_run_notebook-0.15.0.tar.gz
173173
```
174174

175175
This installs the sagemaker run notebook library and CLI tool. It also installs the JupyterLab plug-in but does not activate it. See below in "Using the JupyterLab Extension" for more information.
@@ -250,22 +250,20 @@ Once you have the infrastructure and containers set up, the best way to activate
250250

251251
#### In a SageMaker Notebook instance
252252

253-
1. Upload the installation package, sagemaker_run_notebook-0.14.0.tar.gz, from the [latest release][release] to a location of your choosing in S3.
254-
2. On the AWS SageMaker console, go to Lifecycle Configuration. Create a new lifecycle configuration and add the `start.sh` script (available on [GitHub][start.sh]) to the start action. Edit the S3 location to where you uploaded the installation tar file.
255-
3. Start or restart your notebook instance after setting the lifecycle configuration to point at your newly created lifecycle configuration.
253+
1. On the AWS SageMaker console, go to Lifecycle Configuration. Create a new lifecycle configuration and add the `start.sh` script (available on [GitHub][start.sh]) to the start action. (The easiest way is just to copy and paste from GitHub to the AWS console.)
254+
2. Start or restart your notebook instance after setting the lifecycle configuration to point at your newly created lifecycle configuration.
256255

257256
[start.sh]: https://github.com/aws-samples/sagemaker-run-notebook/blob/master/scripts/lifecycle-config/start.sh
258257

259258
#### In SageMaker Studio
260259

261260
When you open SageMaker Studio, you can add the extension with the following steps:
262261

263-
1. Upload the the installation package, sagemaker_run_notebook-0.14.0.tar.gz, from the [latest release][release] to a location of your choosing in S3.
264-
2. Save the `install-run-notebook.sh` script (available on [GitHub][install-run-notebook.sh]) to your home directory in Studio. The easiest way to do this is to open a text file and paste the contents in. Then edit the S3 location to where you uploaded the installation tar file and save it as `install-run-notebook.sh`.
265-
3. Open a terminal tab (`File`->`New`->`Terminal`) and run the script as `bash install-run-notebook.sh`.
266-
4. When it's complete, refresh your Studio browser tab and you'll see the sidebar scheduler tab.
262+
1. Save the `install-run-notebook.sh` script (available on [GitHub][install-run-notebook.sh]) to your home directory in Studio. The easiest way to do this is to open a text file and paste the contents in.
263+
2. Open a terminal tab (`File`->`New`->`Terminal`) and run the script as `bash install-run-notebook.sh`.
264+
3. When it's complete, refresh your Studio browser tab and you'll see the sidebar scheduler tab.
267265

268-
If you restart your server app, just rerun steps 3 & 4 and you'll have the extension ready to go.
266+
If you restart your server app, just rerun steps 2 & 3 and you'll have the extension ready to go.
269267

270268
[install-run-notebook.sh]: https://github.com/aws-samples/sagemaker-run-notebook/blob/master/scripts/studio/install-run-notebook.sh
271269

build-dist-files.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# They all live in the subdirectory "manual_dist/"
1212

13-
VERSION=0.14.0
13+
VERSION=0.15.0
1414

1515
make artifacts
1616

labextension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sagemaker_run_notebook",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"description": "Execute notebooks on a schedule in SageMaker",
55
"keywords": [
66
"jupyter",

sagemaker_run_notebook/server_extension/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# ANY KIND, either express or implied. See the License for the specific
1212
# language governing permissions and limitations under the License.
1313

14-
version_info = (0, 14, 0)
14+
version_info = (0, 15, 0)
1515
flag = ""
1616

1717
__version__ = ".".join(map(str, version_info)) + flag

scripts/lifecycle-config/ReadMe.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ This directory has a lifecycle configuration script that lets you set up the Jup
44

55
To use this lifecycle configuration, perform the following steps:
66

7-
1. Use the [AWS CLI][1] to copy the SageMaker Run Notebook tar file to a location in S3, for example `aws s3 cp sagemaker_run_notebook-0.14.0.tar.gz s3://my-bucket/some-path/`
8-
2. Edit `start.sh` to point at the s3 location and correct plugin version from the previous step.
9-
3. On the SageMaker AWS console, select "Lifecycle configurations" in the left column and create a new lifecycle configuration called `install-run-notebook-extension`. Copy the contents of `start.sh` into the "Start Notebook" script. You can leave the "Create Notebook" script blank.
10-
4. When creating a new notebook instance, open the "Additional configuration" option in the "Notebook instance settings" and select the `install-run-notebook-extension`. You can also add this configuration to an existing notebook instance by stopping the instance, opening the instance on the console (by clicking on the instance name in the list of instances), and adding the new configuration there. Then restart your notebook instance.
7+
1. On the SageMaker AWS console, select "Lifecycle configurations" in the left column and create a new lifecycle configuration called `install-run-notebook-extension`. Copy the contents of `start.sh` into the "Start Notebook" script. You can leave the "Create Notebook" script blank.
8+
2. When creating a new notebook instance, open the "Additional configuration" option in the "Notebook instance settings" and select the `install-run-notebook-extension`. You can also add this configuration to an existing notebook instance by stopping the instance, opening the instance on the console (by clicking on the instance name in the list of instances), and adding the new configuration there. Then restart your notebook instance.
119

12-
For more information about lifecycle configurations, see ["Customize a Notebook Instance Using a Lifecycle Configuration Script"][2] in the AWS documentation.
10+
For more information about lifecycle configurations, see ["Customize a Notebook Instance Using a Lifecycle Configuration Script"][1] in the AWS documentation.
1311

14-
[1]: https://aws.amazon.com/cli/
15-
[2]: https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html
12+
[1]: https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html

scripts/lifecycle-config/start.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ set -e
2626
sudo -u ec2-user -i <<'EOF'
2727
2828
# PARAMETERS
29-
VERSION=0.14.0
29+
VERSION=0.15.0
3030
3131
EXTENSION_NAME=sagemaker_run_notebook
3232

scripts/studio/install-run-notebook.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=0.14.0
1+
version=0.15.0
22
pip install https://github.com/aws-samples/sagemaker-run-notebook/releases/download/v${version}/sagemaker_run_notebook-${version}.tar.gz
33
jlpm config set cache-folder /tmp/yarncache
44
jupyter lab build --debug --minimize=False

0 commit comments

Comments
 (0)