From 4531a502b81dfc60d46e8008c22695f5e5aec7c9 Mon Sep 17 00:00:00 2001 From: LittleCoinCoin Date: Wed, 14 May 2025 12:10:40 +0900 Subject: [PATCH] [Fix] Field `hatch_dependencies` **Major** The subfields definitions for either indicating a local dependency or a remote were lacking the proper json `"type":"object"` --- package/v1.1.0/hatch_pkg_metadata_schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/v1.1.0/hatch_pkg_metadata_schema.json b/package/v1.1.0/hatch_pkg_metadata_schema.json index 07be49b..2ca728c 100644 --- a/package/v1.1.0/hatch_pkg_metadata_schema.json +++ b/package/v1.1.0/hatch_pkg_metadata_schema.json @@ -70,10 +70,10 @@ "items": { "type": "object", "required": ["name", "type"], - "properties": { - "type": { + "properties": { "type": { "oneOf": [ { + "type": "object", "properties": { "type": { "type": "string", @@ -82,13 +82,13 @@ }, "path": { "type": "string", - "format": "path", "description": "If local, expecting a path to the root directory of the local package." } }, "required": ["type", "path"] }, { + "type": "object", "properties": { "type": { "type": "string",