Skip to content

build: derive versions from SCM and gate PyPI publishing - #72

Merged
justusschock merged 5 commits into
mainfrom
justus/setuptools-scm-versioning
Aug 28, 2026
Merged

justusschock merged 5 commits into
mainfrom
justus/setuptools-scm-versioning

Conversation

@justusschock

@justusschock justusschock commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

What

  • derive package versions from Git tags with setuptools-scm
  • expose the installed distribution version through litlogger.__version__
  • publish to PyPI only for a published GitHub Release using OIDC Trusted Publishing, without stored PyPI credentials

Verification

  • Python 3.11 sdist and wheel build with setuptools>=80
  • isolated wheel install/import with litlogger.__version__ matching package metadata
  • ruff check src/litlogger/__init__.py
  • workflow YAML parse and publish-condition assertion
  • git diff --check

@justusschock
justusschock merged commit c5ccbd0 into main Aug 28, 2026
50 checks passed
@justusschock
justusschock deleted the justus/setuptools-scm-versioning branch August 28, 2026 09:02
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