diff --git a/conda_recipe_v2_schema/model.py b/conda_recipe_v2_schema/model.py index 7fc56c4..981c379 100644 --- a/conda_recipe_v2_schema/model.py +++ b/conda_recipe_v2_schema/model.py @@ -470,7 +470,7 @@ class ScriptTestElement(StrictBaseModel): class PythonTestElementInner(StrictBaseModel): imports: ConditionalList[NonEmptyStr] = Field( - ..., + None, description="A list of Python imports to check after having installed the built package.", ) pip_check: bool = Field( diff --git a/schema.json b/schema.json index bc26dc4..c3ba529 100644 --- a/schema.json +++ b/schema.json @@ -3555,6 +3555,7 @@ "type": "array" } ], + "default": null, "description": "A list of Python imports to check after having installed the built package.", "title": "Imports" }, @@ -3584,9 +3585,6 @@ "title": "Python Version" } }, - "required": [ - "imports" - ], "title": "PythonTestElementInner", "type": "object" },