From 594a73b71432af3fdefce2099040dbea6a51b93b Mon Sep 17 00:00:00 2001 From: tn-pisama Date: Thu, 30 Jul 2026 14:03:09 -0700 Subject: [PATCH] build: drop the License :: classifier now that license is a PEP 639 expression pyproject.toml carries both `license = "MIT"` (PEP 639 expression) and the legacy `"License :: OSI Approved :: MIT License"` classifier. PEP 639 does not permit both together, and setuptools>=78 raises InvalidConfigError when they coexist -- the same defect already fixed on the sibling packages (pisama-core, pisama-detectors, pisama-agent-sdk, pisama-verifier-gym) in this same review round. hatchling tolerates it today, which is why the build did not fail, but it is latent breakage behind a future setuptools bump. Verified: ruff, mypy, pytest (196 passed, 70.51% cov) all pass; `python -m build` + `twine check` PASS on both artifacts; wheel METADATA confirmed `License-Expression: MIT` present and no `Classifier: License ::` line. Patch bump to 0.6.2 because the fix only matters once it reaches PyPI. Co-Authored-By: Claude --- CHANGELOG.md | 6 ++++++ pyproject.toml | 3 +-- src/pisama/__init__.py | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f77a0c..cb2c830 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to the `pisama` meta-package are documented here. The packag ## [Unreleased] +## [0.6.2] - 2026-07-30 + +### Fixed + +- Remove the legacy License classifier now that PEP 639 license_expression is set (setuptools>=78 forbids both together). + ## [0.6.0] - 2026-07-29 ### Added diff --git a/pyproject.toml b/pyproject.toml index 7e242bb..0722d62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pisama" -version = "0.6.1" +version = "0.6.2" description = "Multi-agent failure detection for production AI systems" readme = "README.md" license = "MIT" @@ -23,7 +23,6 @@ keywords = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/src/pisama/__init__.py b/src/pisama/__init__.py index 9f658f0..0ff22f0 100644 --- a/src/pisama/__init__.py +++ b/src/pisama/__init__.py @@ -14,7 +14,7 @@ __version__ = _pkg_version("pisama") except PackageNotFoundError: # running from a source checkout without an install - __version__ = "0.6.1" + __version__ = "0.6.2" from pisama._analyze import AnalyzeResult, Issue, analyze, async_analyze from pisama._http import PisamaAuthError