Problem
Building the CLI wheel in Docker fails because the latest setuptools enforces PEP 639, which prohibits using both a license field and a License :: classifier simultaneously.
Error:
setuptools.errors.InvalidConfigError: License classifiers have been superseded by license expressions (see https://peps.python.org/pep-0639/). Please remove:
License :: OSI Approved :: Apache Software License
Root Cause
cli/pyproject.toml declares license = "Apache-2.0" (PEP 639 expression) but also includes the legacy classifier License :: OSI Approved :: Apache Software License. Newer versions of setuptools reject this combination.
Expected Behavior
pip wheel should build the CLI package successfully.
Problem
Building the CLI wheel in Docker fails because the latest setuptools enforces PEP 639, which prohibits using both a
licensefield and aLicense ::classifier simultaneously.Error:
Root Cause
cli/pyproject.tomldeclareslicense = "Apache-2.0"(PEP 639 expression) but also includes the legacy classifierLicense :: OSI Approved :: Apache Software License. Newer versions of setuptools reject this combination.Expected Behavior
pip wheelshould build the CLI package successfully.