-
-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Description
As of v1.26.0, project.license-files seems to no longer accept the following format.
license-files = { paths = ["LICENSE", "IP_NOTICE"] }
unit_tests: commands_pre[0] /Users/xandersong/phoenix/tests> uv pip install --strict --reinstall-package arize-phoenix ../.
Using Python 3.12.2 environment at /Users/xandersong/phoenix/.tox/unit_tests
Resolved 68 packages in 345ms
error: Failed to prepare distributions
Caused by: Failed to build `arize-phoenix @ file:///Users/xandersong/phoenix`
Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "/Users/xandersong/.cache/uv/builds-v0/.tmpZre6E8/lib/python3.12/site-packages/hatchling/build.py", line 58, in build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xandersong/.cache/uv/builds-v0/.tmpZre6E8/lib/python3.12/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
self.metadata.validate_fields()
File "/Users/xandersong/.cache/uv/builds-v0/.tmpZre6E8/lib/python3.12/site-packages/hatchling/metadata/core.py", line 266, in validate_fields
self.core.validate_fields()
File "/Users/xandersong/.cache/uv/builds-v0/.tmpZre6E8/lib/python3.12/site-packages/hatchling/metadata/core.py", line 1363, in validate_fields
getattr(self, attribute)
File "/Users/xandersong/.cache/uv/builds-v0/.tmpZre6E8/lib/python3.12/site-packages/hatchling/metadata/core.py", line 753, in license_files
raise TypeError(message)
TypeError: Field `project.license-files` must be an array
unit_tests: exit 2 (0.71 seconds) /Users/xandersong/phoenix/tests> uv pip install --strict --reinstall-package arize-phoenix ../. pid=79017
unit_tests: FAIL code 2 (0.72=setup[0.01]+cmd[0.71] seconds)
evaluation failed :( (0.78 seconds)
chdemko
Metadata
Metadata
Assignees
Labels
No labels