Skip to content

PyPI pointers: old pydevices-* names install their new packages - #177

Merged
bdbarnett merged 2 commits into
mainfrom
pypi-pointers
Nov 17, 2026
Merged

bdbarnett merged 2 commits into
mainfrom
pypi-pointers

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Nine package names were retired when the packages moved to their omnipython-* names and mcuctl. This adds one last release for each of them, one patch above its last version: no code, a dependency on the new name, and a README saying where the package went and what to import. An old pip install pydevices-lvgl keeps working and brings in omnipython-lvgl.

scripts/build_pypi_pointers.py holds the nine names, versions and READMEs. publish-pypi-pointers.yml is dispatched by hand from main: it builds them, runs twine check --strict, and uploads by Trusted Publishing from the pypi-pointers environment, which allows the main branch only.

I built all nine locally: twine check passes on all 18 files, each wheel holds only its metadata, and installing the palettes and mpftp pointers into a fresh venv pulled in omnipython-palettes (imports) and mcuctl (runs). The unit test fails when a pointer's dependency loses its new name. The upload itself is not run here; it needs each name's Trusted Publisher registered first.

One last release of each retired name, one patch above its last version:
no code, a dependency on the new name and a README that says where it
went, so an old install line still works. The workflow builds them from
scripts/build_pypi_pointers.py and uploads by Trusted Publishing from the
pypi-pointers environment, which allows main only.

Built all nine locally: twine check --strict passes on 18 files, each
wheel holds only metadata, and installing the palettes and mpftp pointers
pulled in omnipython-palettes and a working mcuctl.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pydevices | 🛠️ Build #35963030 | 📁 Comparing 5570899 against latest (2b8ac98)

  🔍 Preview build  

1 file changed
± omnipython/reference/appdev.app.html

@bdbarnett
bdbarnett merged commit 2075e9d into main Nov 17, 2026
9 checks passed
@bdbarnett
bdbarnett deleted the pypi-pointers branch November 17, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant