-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Description I encountered a crash when running the environment setup/update script using uv on Windows. The process fails when building ttkthemes.
The error message indicates a configuration error in ttkthemes 3.3.0 regarding the project.license field, which is rejected by modern build backends (like recent setuptools used by uv).
Error Log
Plaintext
configuration error: project.license must be valid exactly by one definition (2 matches found):
...
GIVEN VALUE: "GPL-3.0-or-later"
OFFENDING RULE: 'oneOf'
Cause Analysis The current dependency seems to be defined as ttkthemes~=3.2.0 (or similar), which allows pip/uv to automatically install the newly released 3.3.0 version. However, version 3.3.0 contains invalid metadata that breaks the build process on stricter environments.
Solution / Workaround I successfully fixed this issue locally by pinning the version to 3.2.0.
I suggest changing the dependency in requirements.txt (or pyproject.toml) from:
Plaintext
ttkthemes~=3.2.0
to:
Plaintext
ttkthemes==3.2.0
This will prevent the installer from pulling the broken 3.3.0 version until the upstream library fixes their metadata.
Environment
OS: Windows
Installer: uv