Skip to content

Commit 3d83e10

Browse files
committed
Bump version to v2.17.0
1 parent c4d57c5 commit 3d83e10

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build image from a tagged forest-notebook image
2-
FROM rigetti/forest-notebook:2.16.0
2+
FROM rigetti/forest-notebook:2.17.0
33

44
# copy over files from binder repository into $HOME
55
COPY . ${HOME}

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Interactive tutorial notebooks for pyQuil and Forest
33

44
[![Binder](https://mybinder.org/badge_logo.svg)][binder]
55
[![pipeline status][gitlab-badge]][gitlab-project]
6-
[![github release][github-badge]][github-release]
76
[![docker pulls][docker-badge]][docker-image]
7+
[![github release][github-badge]][github-release]
88

99
This is a Binder repository containing tutorial notebooks for learning about [pyQuil][pyquil] and
1010
the Forest SDK ([quilc][quilc] and the [QVM][qvm]). If you'd like to add a notebook, or change an
@@ -29,6 +29,38 @@ http://127.0.0.1:8888/?token=TOKEN
2929
Copy paste the above URL into your browser, replacing 8888 with `PORT`. This will bring up the
3030
JupyterLab interface.
3131

32+
Running the notebooks without using Docker
33+
------------------------------------------
34+
35+
We recommend using the Binder link above, or following the Docker-based instructions, if all
36+
you want to do is run the notebooks. This is because it requires no setup on your end (except
37+
for maybe [installing Docker][docker-docs]). However, if you'd like to run the notebooks locally
38+
without Docker, or if you'd like to make a pull request and contribute your own tutorial, you'll
39+
have to set up a Python environment with the necessary requirements installed. Normally, these are
40+
defined in a `requirements.txt` file, but adding one to this repo would cause Binder to use that
41+
for its configuration instead of the `Dockerfile`. Thus, we provide the requirements for the
42+
tutorials as a convenient `extras_require` extension to pyQuil's [setup.py][pyquil-setup] file.
43+
Thus, run the following command in your Python environment to install all the necessary
44+
requirements:
45+
46+
```bash
47+
pip install "pyquil[tutorials]"
48+
```
49+
50+
Then, assuming you've cloned this repository and you're in its top-level directory, running
51+
`jupyter notebook` should be all you need to get started!
52+
53+
Contributing your own tutorial notebook
54+
---------------------------------------
55+
56+
As mentioned above, if you'd like to contribute your own tutorial, or improve an existing one,
57+
you can make a pull request to this repository. The only caveat to this is that, if you add a
58+
notebook that depends on a third-party library that is not currently installed in the
59+
[`rigetti/forest-notebook`][forest-notebook] Docker image (see the next section for more info),
60+
you will have to add the requirement to the `tutorials` entry of the `extras_require` section
61+
in pyQuil's [setup.py][pyquil-setup] file, and wait for the changes to take effect in the
62+
following release.
63+
3264
Building your own Forest-backed Binder repository
3365
-------------------------------------------------
3466

@@ -43,6 +75,7 @@ bottom of the README of the [rigetti/forest-notebook][forest-notebook-repo] repo
4375
[benchmarking]: https://github.com/rigetti/forest-benchmarking
4476
[binder]: https://mybinder.org/v2/gh/rigetti/forest-tutorials/master?urlpath=lab/tree/Welcome.ipynb
4577
[docker-badge]: https://img.shields.io/docker/pulls/rigetti/forest-tutorials.svg
78+
[docker-docs]: https://docs.docker.com/
4679
[docker-image]: https://hub.docker.com/r/rigetti/forest-tutorials
4780
[forest-notebook]: https://hub.docker.com/r/rigetti/forest-notebook
4881
[forest-notebook-repo]: https://github.com/rigetti/forest-notebook
@@ -51,5 +84,6 @@ bottom of the README of the [rigetti/forest-notebook][forest-notebook-repo] repo
5184
[gitlab-badge]: https://gitlab.com/rigetti/forest/forest-tutorials/badges/master/pipeline.svg
5285
[gitlab-project]: https://gitlab.com/rigetti/forest/forest-tutorials/commits/master
5386
[pyquil]: https://github.com/rigetti/pyquil
87+
[pyquil-setup]: https://github.com/rigetti/pyquil/blob/master/setup.py
5488
[qvm]: https://github.com/rigetti/qvm
5589
[quilc]: https://github.com/rigetti/quilc

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.16.0
1+
2.17.0

0 commit comments

Comments
 (0)