From 88470d16b0c6fbbdbe4a5653366e6b292564efac Mon Sep 17 00:00:00 2001 From: Alister Burt Date: Wed, 4 Jun 2025 14:05:02 -0700 Subject: [PATCH 1/3] add uv install with --trust in quickstart.md --- docs/quickstart.md | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index a6cbfde..f976c5a 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -38,36 +38,15 @@ This guide will create a _new_ project directory. `requirements-dev.txt`, `Makefile`, etc. You may also need to manually update your CI config files to use the new project structure. -## Install Copier - -First install [Copier](https://copier.readthedocs.io/en/stable/), -which we will use to run the project template. - -
- -```console -$ pip install copier ----> 100% -Successfully installed copier -``` - -
- -!!!note - This will install Copier in your current Python environment. If you use - conda, make sure to `conda activate` the environment you want to use prior - to installing Copier. (It can be any environment... we're only going to - use copier once to create a new project.) - ## Create a project -Next, run the following command to create a new project from the +Next, [install uv](https://docs.astral.sh/uv/getting-started/installation/) then run the following command to create a new project from the [pydev-guide template](https://github.com/pydev-guide/pyrepo-copier). Replace `` with the desired path to your project, this will be the name of the directory that will be created. ```bash -copier copy gh:pydev-guide/pyrepo-copier +uvx copier copy --trust gh:pydev-guide/pyrepo-copier ``` ### Select a Mode From 21b2baaaf9b5fd8eba7bdb613228e1223a76cc21 Mon Sep 17 00:00:00 2001 From: Alister Burt Date: Wed, 4 Jun 2025 14:07:06 -0700 Subject: [PATCH 2/3] update upload artifact action --- .github/workflows/deploy-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 865b2cd..a174d74 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -40,7 +40,7 @@ jobs: GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} - name: ⬆️ Upload Pages Artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v4 with: path: "site/" From ff224cabd8d39fe7eb6bcbdd1ff52137b46e982f Mon Sep 17 00:00:00 2001 From: Alister Burt Date: Wed, 4 Jun 2025 14:08:24 -0700 Subject: [PATCH 3/3] to v3... --- .github/workflows/deploy-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index a174d74..d2cf636 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -40,7 +40,7 @@ jobs: GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }} - name: ⬆️ Upload Pages Artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v3 with: path: "site/"