From aca2680230a100cd672f848e35331299012bd11a Mon Sep 17 00:00:00 2001 From: t0kubetsu Date: Wed, 12 Aug 2026 16:07:09 +0200 Subject: [PATCH 1/2] fix(packaging): canonical SPDX license expression - license = "GPL-3.0-only" instead of the deprecated "GPL-3.0" SPDX identifier. Same license, canonical machine-readable spelling; setuptools warns on deprecated identifiers and PyPI validates them. Version bumped to 0.3.4 with the matching CHANGELOG section and comparison links. Verified: 777 tests pass, ruff clean. --- CHANGELOG.md | 12 +++++++++++- mailvalidator/__init__.py | 2 +- pyproject.toml | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b093b58..4faa769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,15 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html --- +## [0.3.4] — 2026-08-12 + +### Changed +- `pyproject.toml`: `license` is now the canonical SPDX expression + `GPL-3.0-only` instead of the deprecated `GPL-3.0` identifier. The license + itself is unchanged — only its machine-readable spelling. + +--- + ## [0.3.3] — 2026-07-14 ### Fixed @@ -501,7 +510,8 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html --- -[Unreleased]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.3...HEAD +[Unreleased]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.4...HEAD +[0.3.4]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.3...v0.3.4 [0.3.3]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.2...v0.3.3 [0.3.2]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/NC3-TestingPlatform/mailvalidator/compare/v0.3.0...v0.3.1 diff --git a/mailvalidator/__init__.py b/mailvalidator/__init__.py index 2b0b7df..60d6da7 100644 --- a/mailvalidator/__init__.py +++ b/mailvalidator/__init__.py @@ -5,7 +5,7 @@ try: __version__ = version("mailvalidator") except PackageNotFoundError: # pragma: no cover – only when package not installed - __version__ = "0.3.3" + __version__ = "0.3.4" # NullHandler so library users who have not configured logging # do not see "No handler found" warnings (PEP 3118 / logging HOWTO). diff --git a/pyproject.toml b/pyproject.toml index 6046a6c..2d53eec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta" [project] name = "mailvalidator" -version = "0.3.3" +version = "0.3.4" description = "Mail server configuration assessment CLI utility" readme = "README.md" requires-python = ">=3.11" -license = "GPL-3.0" +license = "GPL-3.0-only" license-files = ["LICENSE"] authors = [{ name = "t0kubetsu" }] keywords = [ From 6512e64c4beee609c2c61c4ea9c393f98e98d7cb Mon Sep 17 00:00:00 2001 From: t0kubetsu Date: Wed, 12 Aug 2026 16:15:36 +0200 Subject: [PATCH 2/2] docs(changelog): move shipped entries into the new version section The version bump left already-shipped changes under [Unreleased], so the versioned section and its GitHub release notes would have omitted work shipped from the same revision. CHANGELOG rule: never leave content under [Unreleased] after bumping the version. Caught by Greptile on the mailvalidator PR; the same defect was present in this module. --- CHANGELOG.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4faa769..e0836b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html ## [Unreleased] +--- + +## [0.3.4] — 2026-08-12 + ### Changed - Dependency floors raised across the board by the Dependabot batch of @@ -29,11 +33,6 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html environment installed before this batch may sit below the declared floor — re-run `pip install -e ".[dev]"`. ---- - -## [0.3.4] — 2026-08-12 - -### Changed - `pyproject.toml`: `license` is now the canonical SPDX expression `GPL-3.0-only` instead of the deprecated `GPL-3.0` identifier. The license itself is unchanged — only its machine-readable spelling.