From 327473071ae4879582a6f41c9f57f691d00ddf9a Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 12 Oct 2023 22:03:56 -0500 Subject: [PATCH] Use same CPython version as ROOT --- binder/runtime.txt | 2 +- book/requirements.lock | 15 ++++++++++++++- lock.sh | 3 ++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/binder/runtime.txt b/binder/runtime.txt index 67ebc4e..5509089 100644 --- a/binder/runtime.txt +++ b/binder/runtime.txt @@ -1 +1 @@ -python-3.11 +python-3.10 diff --git a/book/requirements.lock b/book/requirements.lock index 60bae9e..702bda7 100644 --- a/book/requirements.lock +++ b/book/requirements.lock @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --generate-hashes --output-file=book/requirements.lock requirements.txt @@ -396,6 +396,12 @@ docutils==0.18.1 \ # sphinx # sphinx-togglebutton # sphinxcontrib-bibtex +exceptiongroup==1.1.3 \ + --hash=sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9 \ + --hash=sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3 + # via + # anyio + # ipython executing==2.0.0 \ --hash=sha256:06df6183df67389625f4e763921c6cf978944721abf3e714000200aab95b0657 \ --hash=sha256:0ff053696fdeef426cda5bd18eacd94f82c91f49823a2e9090124212ceea9b08 @@ -1734,6 +1740,10 @@ tinycss2==1.2.1 \ --hash=sha256:2b80a96d41e7c3914b8cda8bc7f705a4d9c49275616e886103dd839dfc847847 \ --hash=sha256:8cff3a8f066c2ec677c06dbc7b45619804a6938478d9d73c284b29d14ecb0627 # via nbconvert +tomli==2.0.1 \ + --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \ + --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f + # via jupyterlab toolz==0.12.0 \ --hash=sha256:2059bd4148deb1884bb0eb770a3cde70e7f954cfbbdc2285f1f2de01fd21eb6f \ --hash=sha256:88c570861c440ee3f2f6037c4654613228ff40c93a6c25e0eba70d17282c6194 @@ -1787,6 +1797,9 @@ typing-extensions==4.8.0 \ --hash=sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 \ --hash=sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef # via + # altair + # async-lru + # awkward # myst-nb # myst-parser # pydata-sphinx-theme diff --git a/lock.sh b/lock.sh index 0d3cf8c..d72fc85 100644 --- a/lock.sh +++ b/lock.sh @@ -6,7 +6,8 @@ if [[ "$(uname -m)" != "x86_64" ]]; then docker run --privileged --rm tonistiigi/binfmt --install amd64 fi -BUILD_IMAGE="python:3.11-slim-bookworm" +# Match CPython version with Docker image that contians ROOT +BUILD_IMAGE="python:3.10-slim-bookworm" docker pull \ --platform linux/amd64 \ "${BUILD_IMAGE}"