From 6b8cbf3f3cc88128384f92c1522fe04a8f5cc082 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 15 Jul 2026 02:35:30 +0000 Subject: [PATCH 1/3] Revert TestPyPI package name from pydevices-palettes to palettes --- PUBLISHING.md | 4 ++-- README.md | 2 +- docs/installation.md | 2 +- scripts/publish_micropython_lib.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PUBLISHING.md b/PUBLISHING.md index 2be7a54..3b17cc5 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -1,6 +1,6 @@ # Publishing and releases -How changes in this repo become versioned **`pydevices-palettes`** wheels on [TestPyPI](https://test.pypi.org/project/pydevices-palettes/) and MIP packages on [micropython-lib gh-pages](https://PyDevices.github.io/micropython-lib/mip/PyDevices). +How changes in this repo become versioned **`palettes`** wheels on [TestPyPI](https://test.pypi.org/project/palettes/) and MIP packages on [micropython-lib gh-pages](https://PyDevices.github.io/micropython-lib/mip/PyDevices). ## Pipeline @@ -33,7 +33,7 @@ Format: **`0.0.x`** semver until promoted. TestPyPI rejects duplicate versions. ## Install from TestPyPI ```bash -pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ pydevices-palettes +pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ palettes ``` ## MIP install diff --git a/README.md b/README.md index 0feddaa..8743e22 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ mip.install("palettes", index="https://PyDevices.github.io/micropython-lib/mip/P pip install \ -i https://test.pypi.org/simple/ \ --extra-index-url https://pypi.org/simple/ \ - pydevices-palettes + palettes ``` ## Quick start diff --git a/docs/installation.md b/docs/installation.md index 598a3a4..ba3e76e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -26,7 +26,7 @@ Add to the example header: ```python # pyscript mip: palettes -# pyodide wheels: pydevices-palettes +# pyodide wheels: palettes ``` The pydisplay gallery generator adds these when examples import `palettes`. diff --git a/scripts/publish_micropython_lib.sh b/scripts/publish_micropython_lib.sh index fea7ddf..b0bc04b 100755 --- a/scripts/publish_micropython_lib.sh +++ b/scripts/publish_micropython_lib.sh @@ -87,7 +87,7 @@ DESCRIPTION_PREFIX="palettes" AUTHOR="Brad Barnett " LICENSE="MIT" BASENAME=palettes -PYPI_NAME=pydevices-palettes +PYPI_NAME=palettes DEST_REPO="${MICROPYTHON_LIB_DIR:-$SOURCE_REPO/../micropython-lib}" DEST_REPO="$(cd "$DEST_REPO" 2>/dev/null && pwd || echo "$DEST_REPO")" export MICROPYTHON_LIB_DIR="$DEST_REPO" From 3386dd108f752f45ee8f3fde1295dc36a3634098 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 15 Jul 2026 03:36:04 +0000 Subject: [PATCH 2/3] Rename TestPyPI package from pydevices-palettes to palettes Publish as palettes on TestPyPI (import name unchanged). Requires v0.0.2 because 0.0.1 is already on TestPyPI as pydevices-palettes. Co-authored-by: Brad Barnett --- WORKFLOWS_SETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKFLOWS_SETUP.md b/WORKFLOWS_SETUP.md index 11da64e..d967b1e 100644 --- a/WORKFLOWS_SETUP.md +++ b/WORKFLOWS_SETUP.md @@ -12,7 +12,7 @@ PATs that push workflow YAML need the **`workflow`** scope. | # | Task | Status | |---|------|--------| | 1 | Push workflow YAML to `.github/workflows/` | Done | -| 2 | Publish v0.0.1 → micropython-lib + TestPyPI + MIP | **Pending** (tag push) | +| 2 | Publish v0.0.2 → micropython-lib + TestPyPI + MIP | **Pending** (tag push) | | 3 | Read the Docs → `palettes.readthedocs.io` | **Pending** (admin) | | 4 | Enable GitHub Pages (`gh-pages` branch) | **Pending** (admin) | From 66845d24634ca9848d147c14337b3aafbb5563a6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 15 Jul 2026 03:36:59 +0000 Subject: [PATCH 3/3] Note v0.0.3 release (0.0.1/0.0.2 filenames burned on TestPyPI) Co-authored-by: Brad Barnett --- WORKFLOWS_SETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKFLOWS_SETUP.md b/WORKFLOWS_SETUP.md index d967b1e..80504ad 100644 --- a/WORKFLOWS_SETUP.md +++ b/WORKFLOWS_SETUP.md @@ -12,7 +12,7 @@ PATs that push workflow YAML need the **`workflow`** scope. | # | Task | Status | |---|------|--------| | 1 | Push workflow YAML to `.github/workflows/` | Done | -| 2 | Publish v0.0.2 → micropython-lib + TestPyPI + MIP | **Pending** (tag push) | +| 2 | Publish v0.0.3 → micropython-lib + TestPyPI + MIP | **Pending** (tag push) | | 3 | Read the Docs → `palettes.readthedocs.io` | **Pending** (admin) | | 4 | Enable GitHub Pages (`gh-pages` branch) | **Pending** (admin) |