-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Subject
The hatchling>=1.6.0,<2 version requirement is incorrect and results in build failures with any hatchling version between 1.6.0 and 1.27.0 excluded.
The error is as follow:
TypeError: Field `project.license-files` must be a table
This is due to this change being required to address an issue in the project's license declaration.
Environment
I'm running NixOS on the latest unstable.
OS Linux-6.15.4-x86_64-with-glibc2.40
Python 3.13.4
OpenSSL 3.4.1 11 Feb 2025
urllib3 2.5.1.dev4
Steps to Reproduce
- Download the project source code (commit
98a60f9c26a4d64cf18c7e004b9adda4303bc28cat this time of writing) - Run
hatchling build
Expected Behavior
Successful build, with an output like the following:
[sdist]
dist/urllib3-2.5.1.dev5.tar.gz
[wheel]
dist/urllib3-2.5.1.dev5-py3-none-any.whl
Actual Behavior
With any hatchling version between 1.6.0 and 1.27.0 excluded (for this trial, I used 1.25.0):
TypeError: Field `project.license-files` must be a table
Metadata
Metadata
Assignees
Labels
No labels