From 5c1e3ecd494d44473912bb36fdf921bbdac96633 Mon Sep 17 00:00:00 2001 From: Lukas Geiger Date: Sun, 27 Sep 2026 01:35:46 +0200 Subject: [PATCH] fix: remove OSI license classifier conflicting with PEP 639 license= (T-20260926-656511331) Cause: current setuptools rejects License classifiers alongside PEP 639 project.license. Removed only the MIT OSI classifier and its stale metadata-test expectation; kept license="MIT" (no license-files field exists). Fresh pip install -e .: Exit 0, Successfully installed llm-note-1.0.4. Fresh import llm_note: Exit 0. pytest -q tests/test_metadata.py: 11 passed in 1.76s. --- pyproject.toml | 1 - tests/test_metadata.py | 1 - 2 files changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6b4ccca..e6f0dcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ keywords = [ ] classifiers = [ "Development Status :: 4 - Beta", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 5a693b5..757051b 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -61,7 +61,6 @@ def test_pep621_compliance_and_urls(): # Classifiers assert "Operating System :: OS Independent" in pyproject_text - assert "License :: OSI Approved :: MIT License" in pyproject_text assert "Programming Language :: Python :: 3.10" in pyproject_text assert "Programming Language :: Python :: 3.13" in pyproject_text