Skip to content

PyPI release prep: asciimagic import rename, 0.3.0, publish workflow#27

Merged
irobinson010 merged 1 commit into
mainfrom
feature/pypi-release
Jul 8, 2026
Merged

PyPI release prep: asciimagic import rename, 0.3.0, publish workflow#27
irobinson010 merged 1 commit into
mainfrom
feature/pypi-release

Conversation

@irobinson010

Copy link
Copy Markdown
Owner

Summary

Gets the project one tag away from pipx install ascii-magic-tools.

  • Import package renamed ascii_magicasciimagic (96 references). PyPI's existing ascii-magic project owns the ascii_magic import name, so publishing ours unrenamed would break co-installs. Now is the cheapest moment — nothing external depends on the import yet. Console scripts and the dist name are unchanged.
  • 0.3.0 + metadata polish (project URLs, keywords, per-version classifiers).
  • Publish workflow on v* tags: tests → uv buildtwine check → PyPI trusted publishing (OIDC, no token secrets), gated on a pypi environment.

Before first release (one-time, on pypi.org)

Add a pending publisher: project ascii-magic-tools, owner irobinson010, repo ASCII-Magic, workflow publish.yml, environment pypi. Then git tag v0.3.0 && git push origin v0.3.0.

Test plan

  • 184 tests pass after the rename
  • uv build + twine check pass
  • Wheel smoke-installed into a clean venv: ascii-magic --version, figlet render, and GUI static files all present
  • CI matrix green

🤖 Generated with Claude Code

- Import package renamed ascii_magic -> asciimagic: PyPI's existing
  ascii-magic project owns the ascii_magic import name, so co-installs
  would collide. Done now, before anyone depends on ours. Console script
  names are unchanged; the dist remains ascii-magic-tools.
- Version 0.3.0; pyproject gains urls/keywords/version classifiers.
- Tag-triggered publish workflow (v* tags): test -> uv build -> twine
  check -> PyPI trusted publishing (id-token, no secrets), environment
  'pypi'.
- Verified: wheel smoke-installed into a clean venv - scripts run and
  the GUI static files ship.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@irobinson010
irobinson010 requested a review from krakenhavoc July 7, 2026 15:04
@irobinson010
irobinson010 merged commit a55b6fd into main Jul 8, 2026
6 checks passed
@irobinson010
irobinson010 deleted the feature/pypi-release branch July 8, 2026 14:40
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