root/dev/: forgejo-python-package-template-0.1.1 metadata and description
Minimal runnable Python package template for Forgejo delivery
| description_content_type | text/markdown |
| metadata_version | 2.3 |
| requires_python | >=3.12 |
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
forgejo_python_package_template-0.1.1-py3-none-any.whl
|
|
|
forgejo_python_package_template-0.1.1.tar.gz
|
|
forgejo-python-package-template
Runnable Python package template repository for Forgejo delivery.
Local commands
uv sync
uv run pytest
uv build --no-sources
Included workflows
| Workflow | Purpose |
|---|---|
.forgejo/workflows/ci.yml |
Run local-equivalent Python validation in Forgejo CI |
.forgejo/workflows/python-package.yml |
Publish the package to a writable DevPI / private PyPI endpoint |
Forgejo setup
Required secrets
PYTHON_REGISTRY_USERNAMEPYTHON_REGISTRY_PASSWORD
Required repository variables
PYTHON_PACKAGE_NAME- package name used by the delete step, e.g.forgejo-python-package-templatePYTHON_PUBLISH_URL- writable upload endpoint, e.g.https://pypi.registry.example/root/dev/PYTHON_INDEX_URL- consumer/simple index endpoint, e.g.https://pypi.registry.example/root/dev/+simple/PYTHON_DELETE_BASE_URL- delete base URL, e.g.https://pypi.registry.example/root/dev
Acceptance criteria
uv run pytestpasses locally.uv build --no-sourcesproduces a wheel and sdist.ci.ymlpasses on push and pull request.- The publish workflow targets the writable package endpoint, not a read-only mirror.
- Rerunning the same version deletes and replaces the old package intentionally.