From 7f5cd10687544b27d11240d03b6ade6390a7f2b3 Mon Sep 17 00:00:00 2001 From: Tony Hirst Date: Mon, 25 Nov 2024 08:49:44 +0000 Subject: [PATCH] Update copier command (copier 7.2->9.2) (#271) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update README.md - copier~=9.2 Update version of `copier` to match [`jupyterlab/extension-template`](https://github.com/jupyterlab/extension-template). * Update copier copy command * Update copier copy command Fixes: https://github.com/jupyterlab/extension-examples/issues/270 * Update hello-world/README.md Co-authored-by: Frédéric Collonval * Update mimerenderer/README.md Co-authored-by: Frédéric Collonval * Update server-extension/README.md Co-authored-by: Frédéric Collonval --------- Co-authored-by: Frédéric Collonval --- hello-world/README.md | 2 +- mimerenderer/README.md | 4 ++-- server-extension/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hello-world/README.md b/hello-world/README.md index 82aac762..ee735722 100644 --- a/hello-world/README.md +++ b/hello-world/README.md @@ -14,7 +14,7 @@ Writing a JupyterLab extension usually starts from a configurable template. It can be downloaded with the [`copier`](https://copier.readthedocs.io/) tool and the following command: ```bash -pip install "copier~=7.2" jinja2-time "pydantic<2.0.0" +pip install "copier~=9.2" jinja2-time mkdir my_extension cd my_extension copier copy https://github.com/jupyterlab/extension-template . diff --git a/mimerenderer/README.md b/mimerenderer/README.md index 20231f03..683ed312 100644 --- a/mimerenderer/README.md +++ b/mimerenderer/README.md @@ -26,10 +26,10 @@ You will initialize the extension by using [copier](https://copier.readthedocs.i Execute the following commands in your terminal: ```bash -pip install copier jinja2-time +pip install "copier~=9.2" jinja2-time mkdir my_mimerenderer cd my_mimerenderer -copier https://github.com/jupyterlab/extension-template . +copier copy --trust https://github.com/jupyterlab/extension-template . ``` You will be asked for some basic information that could for example be setup diff --git a/server-extension/README.md b/server-extension/README.md index 5499c872..19fca889 100644 --- a/server-extension/README.md +++ b/server-extension/README.md @@ -22,10 +22,10 @@ Writing a JupyterLab extension usually starts from a configurable template. It can be downloaded with the [`copier`](https://copier.readthedocs.io/) tool and the following command for an extension with a server part: ```bash -pip install copier jinja2-time +pip install "copier~=9.2" jinja2-time mkdir my_extension cd my_extension -copier https://github.com/jupyterlab/extension-template . +copier copy --trust https://github.com/jupyterlab/extension-template . ``` You will be asked for some basic information that could for example be setup