2026-05-23 06:45:36 +02:00
|
|
|
# Python Package Release
|
|
|
|
|
|
|
|
|
|
`issue-core` publishes as the `issue-core` Python package. The Railiance
|
|
|
|
|
application deployment path expects the `0.2.x` series to be available from the
|
2026-07-12 01:02:38 +02:00
|
|
|
Coulomb Forgejo PyPI registry (`forgejo.coulomb.social`).
|
2026-05-23 06:45:36 +02:00
|
|
|
|
|
|
|
|
## Local Release
|
|
|
|
|
|
|
|
|
|
Build and validate the release artifacts:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
make package-check
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Publish to the Coulomb organization registry:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
TWINE_USERNAME=<gitea-user> \
|
|
|
|
|
TWINE_PASSWORD=<package-token> \
|
2026-07-12 01:02:38 +02:00
|
|
|
make publish-forgejo
|
2026-05-23 06:45:36 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
The package endpoint is:
|
|
|
|
|
|
|
|
|
|
```text
|
2026-07-09 11:59:07 +02:00
|
|
|
https://forgejo.coulomb.social/api/packages/coulomb/pypi
|
2026-05-23 06:45:36 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
The matching simple index for consumers is:
|
|
|
|
|
|
|
|
|
|
```text
|
2026-07-09 11:59:07 +02:00
|
|
|
https://forgejo.coulomb.social/api/packages/coulomb/pypi/simple/
|
2026-05-23 06:45:36 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Do not commit tokenized package index URLs. CI and local Docker builds should
|
|
|
|
|
inject registry credentials through environment variables or BuildKit secrets.
|
|
|
|
|
|
2026-07-12 01:02:38 +02:00
|
|
|
## Forgejo Actions Release
|
2026-05-23 06:45:36 +02:00
|
|
|
|
2026-07-12 01:02:38 +02:00
|
|
|
The `.forgejo/workflows/publish-python-package.yml` workflow publishes on tags
|
|
|
|
|
matching `v*` or `workflow_dispatch`. Configure org secrets:
|
2026-05-23 06:45:36 +02:00
|
|
|
|
2026-07-12 01:02:38 +02:00
|
|
|
- `FORGEJO_PYPI_USER`
|
|
|
|
|
- `FORGEJO_PYPI_TOKEN`
|
2026-05-23 06:45:36 +02:00
|
|
|
|
2026-07-12 01:02:38 +02:00
|
|
|
Release with:
|
2026-05-23 06:45:36 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
git tag v0.2.0
|
|
|
|
|
git push origin v0.2.0
|
|
|
|
|
```
|