Skip to content

chore(release): v1.2.1 with importlib-derived __version__#27

Merged
MrCloudSec merged 1 commit into
mainfrom
chore/release-1.2.1
May 19, 2026
Merged

chore(release): v1.2.1 with importlib-derived __version__#27
MrCloudSec merged 1 commit into
mainfrom
chore/release-1.2.1

Conversation

@MrCloudSec
Copy link
Copy Markdown
Member

Description

Patch release v1.2.1 fixes the version-string mismatch introduced in v1.2.0 (bks --version reported 1.1.0 because __version__ in __init__.py was hard-coded and not bumped at release time).

Changes

  • bedrock_keys_security/__init__.py: replace the hard-coded __version__ = "1.1.0" with a runtime lookup via importlib.metadata.version("bedrock-keys-security"). Single source of truth, can no longer drift from pyproject.toml.
  • pyproject.toml: bump version to 1.2.1.
  • CHANGELOG.md: new [1.2.1] - 2026-05-19 Fixed entry.

Verification

Local install + run:

$ pip install -e .
$ bks --version
bks, version 1.2.1 (commit 1c6dcc6)

Tests: 58 / 58 pass.

Post-merge

After tag + PyPI publish, yank 1.2.0 from PyPI so pip install bedrock-keys-security auto-resolves to 1.2.1:

pypi yank bedrock-keys-security 1.2.0 --reason "version mismatch: bks --version reported 1.1.0; fixed in 1.2.1"

(Or via the PyPI web UI.)

@MrCloudSec MrCloudSec requested a review from a team as a code owner May 19, 2026 15:36
@MrCloudSec MrCloudSec enabled auto-merge (squash) May 19, 2026 15:38
@MrCloudSec MrCloudSec changed the title chore(release): v1.2.1 with importlib-derived __version__ chore(release): v1.2.1 with importlib-derived __version__ May 19, 2026
@MrCloudSec MrCloudSec changed the title chore(release): v1.2.1 with importlib-derived __version__ chore(release): v1.2.1 with importlib-derived __version__ May 19, 2026
@MrCloudSec MrCloudSec disabled auto-merge May 19, 2026 15:39
@MrCloudSec MrCloudSec enabled auto-merge (squash) May 19, 2026 15:39
Copy link
Copy Markdown

@ccalvani ccalvani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@MrCloudSec MrCloudSec merged commit 1b12976 into main May 19, 2026
7 checks passed
@MrCloudSec MrCloudSec deleted the chore/release-1.2.1 branch May 19, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants