diff --git a/src/negative_test/pyproject/poetry-invalid-package.toml b/src/negative_test/pyproject/poetry-invalid-package.toml deleted file mode 100644 index 9145b76deb2..00000000000 --- a/src/negative_test/pyproject/poetry-invalid-package.toml +++ /dev/null @@ -1,3 +0,0 @@ -#:schema ../../schemas/json/pyproject.json -[tool.poetry.dependencies] -python = "~3.12" diff --git a/src/schemas/json/partial-poetry.json b/src/schemas/json/partial-poetry.json index 68b7e17cd00..837db121b5e 100644 --- a/src/schemas/json/partial-poetry.json +++ b/src/schemas/json/partial-poetry.json @@ -707,29 +707,5 @@ } } } - }, - "if": { - "properties": { - "package-mode": { - "const": true - } - } - }, - "then": { - "required": ["name", "version", "description", "authors"], - "properties": { - "name": { - "$ref": "#/definitions/poetry-name" - }, - "version": { - "$ref": "#/definitions/poetry-version" - }, - "description": { - "$ref": "#/definitions/poetry-description" - }, - "authors": { - "$ref": "#/definitions/poetry-authors" - } - } } }