Skip to content

Read the package version from jesse/version.py only - #625

Merged
saleh-mir merged 1 commit into
masterfrom
chore/single-version-source
Sep 26, 2026
Merged

saleh-mir merged 1 commit into
masterfrom
chore/single-version-source

Conversation

@saleh-mir

Copy link
Copy Markdown
Member

setup.py now reads the version from jesse/version.py instead of repeating it, so a release bumps a single file.

  • setup.py parses __version__ from jesse/version.py as text. It doesn't import the package, which would pull in Jesse's dependencies during the build.
  • The release workflow now compares the pushed tag with jesse/version.py.

Checked locally: python setup.py --version → 3.2.2, and pip wheel . produces jesse-3.2.2-py3-none-any.whl.

🤖 Generated with Claude Code

setup.py now takes the version from jesse/version.py, so a release changes a single
file. The release workflow compares the pushed tag with jesse/version.py.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@saleh-mir
saleh-mir merged commit 1fc46f5 into master Sep 26, 2026
15 checks passed
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