Update maturin

From mihai-dinculescu/tapo · View interactive version

Update maturin is an AI agent skill from the GitHub repository mihai-dinculescu/tapo. Bump maturin to the latest release and regenerate `.github/workflows/tapo-py.yml`, preserving local customizations

How to use this skill

Skill file

Update Maturin

Bump the maturin build tool to the latest version and regenerate .github/workflows/tapo-py.yml from maturin generate-ci github, re-applying all local customizations.

Steps

  1. Bump the maturin dependency. From tapo-py/:

```bash

uv lock --upgrade-package maturin

uv sync

uv run maturin --version

```

Confirm the new version in the last command's output. If it didn't change, maturin is already at the latest — stop and tell the user.

  1. Regenerate the workflow baseline. From tapo-py/, run uv run maturin generate-ci github and capture the stdout (skip the 📦/🍹/🔗 progress lines). This is the baseline — do NOT overwrite .github/workflows/tapo-py.yml with it directly.
  1. Apply the baseline to .github/workflows/tapo-py.yml, re-applying each customization below. After editing, diff the updated file against the baseline — the only remaining differences should be exactly the items listed here. Anything in the committed file that is not on this list should be replaced with the baseline value, even if the committed file differs; treat those as stale upstream defaults, not deliberate customizations.

```yaml

run: |

pip install --force-reinstall --verbose dist/*.tar.gz

python -c 'from tapo import ApiClient'

```

  1. Verify. Run git diff .github/workflows/tapo-py.yml. Every line change should be either (a) the maturin v<old> → v<new> version bump in the header comment, (b) an upstream structural change introduced by the new maturin release, or (c) one of the preserved customizations above. Flag anything else before handing back.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.