Skip to content

Publish the admina alias package - #82

Merged
stefanoferi merged 1 commit into
mainfrom
feat/admina-alias
Oct 6, 2026
Merged

stefanoferi merged 1 commit into
mainfrom
feat/admina-alias

Conversation

@stefanoferi

Copy link
Copy Markdown
Member

Adds the PyPI package admina as an alias of admina-framework (the project was transferred; its old 2024.x releases are removed).

  • packaging/admina: no module, admina-framework==<version>, and one extra per extra of admina-framework (admina[proxy] → admina-framework[proxy]).
  • release.yml: builds the alias with admina-framework and publishes it after admina-framework through the Trusted Publisher of admina (release.yml, environment pypi). The GitHub Release still attaches only the admina-framework files.
  • scripts/check-versions.py tracks the alias version and its pin; tests/test_admina_alias.py checks the extras against admina-framework.
  • README and CHANGELOG [Unreleased] describe the alias.

Checked locally: the built wheel holds only metadata; in a clean venv pip install admina-0.13.1-py3-none-any.whl installs admina-framework 0.13.1 from PyPI, import admina works, removing the alias keeps admina-framework working, and admina[proxy-minimal] installs the extra's dependencies. Full suite: 4556 passed.

The first upload happens with the next release tag.

packaging/admina builds the PyPI package "admina": no module of its own,
a dependency on admina-framework at the same version, and one extra per
extra of admina-framework (admina[proxy] installs
admina-framework[proxy]). The alias holds no files of the admina module,
so installing, upgrading or removing either package leaves the other
intact, with pip and with uv.

release.yml builds the alias next to admina-framework and publishes it
after admina-framework, through the Trusted Publisher of the "admina"
project (release.yml, environment pypi); the GitHub Release keeps the
admina-framework files only. scripts/check-versions.py tracks the alias
version and its admina-framework pin, and tests/test_admina_alias.py
checks that its extras match those of admina-framework.
@stefanoferi
stefanoferi merged commit 669f87e into main Oct 6, 2026
20 checks passed
@stefanoferi stefanoferi mentioned this pull request Oct 6, 2026
@stefanoferi
stefanoferi deleted the feat/admina-alias branch October 8, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant