Skip to content

chore: add PyPI trusted publishing workflow#5

Merged
greyllmmoder merged 1 commit intomainfrom
codex/chore-pypi-trusted-publishing
Apr 5, 2026
Merged

chore: add PyPI trusted publishing workflow#5
greyllmmoder merged 1 commit intomainfrom
codex/chore-pypi-trusted-publishing

Conversation

@greyllmmoder
Copy link
Copy Markdown
Owner

Summary

  • add .github/workflows/publish.yml for PyPI Trusted Publishing (OIDC)
  • publish trigger on release published and manual dispatch
  • add checklist reminders for Trusted Publisher configuration and tag/version alignment

Testing

  • python3 -m pytest -q

Notes / Risks

  • no package runtime behavior changes
  • requires PyPI trusted publisher setup for this repo/workflow/environment to publish successfully

@greyllmmoder greyllmmoder merged commit 62f5011 into main Apr 5, 2026
16 checks passed
@greyllmmoder greyllmmoder deleted the codex/chore-pypi-trusted-publishing branch April 5, 2026 08:59
greyllmmoder added a commit that referenced this pull request Apr 9, 2026
Package restructure (single file → aztec_py/ package):
- aztec_py/core.py        — encoding logic, type-annotated
- aztec_py/renderers/     — image (Pillow), SVG (built-in + lxml)
- aztec_py/error_correction.py, matrix.py
- aztec_py/rune.py        — AztecRune (ISO 24778 Annex A, 0-255)
- aztec_py/batch.py       — encode_batch() with multiprocessing workers
- aztec_py/presets.py     — boarding_pass, transit_ticket, event_entry, gs1_label
- aztec_py/gs1.py         — GS1Element, build_gs1_payload, GROUP_SEPARATOR
- aztec_py/decode.py      — optional round-trip decode via python-zxing
- aztec_py/__main__.py    — CLI: single, bulk (--input), benchmark (--benchmark)
- aztec_py/compat.py      — production compatibility fixture loader

Tests (pytest, hypothesis, 90%+ coverage):
- test_core, test_batch, test_presets, test_gs1, test_rune, test_renderers
- test_cli, test_cli_bulk_and_benchmark, test_validation, test_property
- test_compat_matrix, test_api_behaviour, test_decode, test_modules
- tests/compat/fixtures.json — real-world payload compatibility cases

CI:
- Replaced test_and_release.yml with ci.yml (Python 3.9–3.13 matrix)

Bug fixes (from upstream):
- CRLF encoding crash (upstream issue #5)
- Error correction capacity off by 3 codewords (upstream issue #7)
- SVG support merged from upstream PR #6 (Zazzik1)

Meta:
- pyproject.toml replaces setup.py
- LICENSE + LICENSE.upstream (MIT chain preserved)
- CONTRIBUTORS.md, CONTRIBUTING.md, SECURITY.md, PRODUCTION_CHECKLIST.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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