hatchling version requirements is incorrect
envgap__urllib3__urllib3-3638
01 / FAILURE SIGNATURE
As reported upstream
TypeError: Field `project.license-files` must be a table
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
98a60f9c26a4d64cf18c7e004b9adda4303bc28c- Manifest
pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
urllib3/urllib3 #3638 · read the original issue
### 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](https://github.com/pypa/hatch/pull/1790) being required to address an [issue in the project's license declaration](https://github.com/pypa/hatch/issues/1715). ### Environment I'm running NixOS on the latest `unstable`. ```text 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 1. Download the project source code (commit `98a60f9c26a4d64cf18c7e004b9adda4303bc28c` at this time of writing) 2. Run `hatchling build` ### Expected Behavior Successful build, with an output like the following: ```text [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): ```text TypeError: Field `project.license-files` must be a table ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]