Repository navigation
Publish the admina alias package - #82
Merged
Merged
Conversation
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.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the PyPI package
adminaas an alias ofadmina-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 ofadmina(release.yml, environmentpypi). The GitHub Release still attaches only the admina-framework files.scripts/check-versions.pytracks the alias version and its pin;tests/test_admina_alias.pychecks the extras against admina-framework.[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.whlinstalls admina-framework 0.13.1 from PyPI,import adminaworks, removing the alias keeps admina-framework working, andadmina[proxy-minimal]installs the extra's dependencies. Full suite: 4556 passed.The first upload happens with the next release tag.