diff --git a/schemas/api/extractors.schema.json b/schemas/api/extractors.schema.json index a12c9abd3..7395c612a 100644 --- a/schemas/api/extractors.schema.json +++ b/schemas/api/extractors.schema.json @@ -27,6 +27,7 @@ "repo": {}, "logo_url": {}, "hidden": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "capabilities": {}, diff --git a/schemas/api/loaders.schema.json b/schemas/api/loaders.schema.json index 8872154be..7813f5939 100644 --- a/schemas/api/loaders.schema.json +++ b/schemas/api/loaders.schema.json @@ -26,6 +26,7 @@ "label": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "dialect": {}, diff --git a/schemas/api/mappers.schema.json b/schemas/api/mappers.schema.json index b9edd680b..62adb6f8b 100644 --- a/schemas/api/mappers.schema.json +++ b/schemas/api/mappers.schema.json @@ -28,6 +28,7 @@ "logo_url": {}, "requires": {}, "settings": {}, + "python": {}, "settings_group_validation": {}, "capabilities": {} } diff --git a/schemas/api/orchestrators.schema.json b/schemas/api/orchestrators.schema.json index df743ce88..3e87ee4a0 100644 --- a/schemas/api/orchestrators.schema.json +++ b/schemas/api/orchestrators.schema.json @@ -20,6 +20,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {}, diff --git a/schemas/api/transformers.schema.json b/schemas/api/transformers.schema.json index d748d80ff..4d0cb0479 100644 --- a/schemas/api/transformers.schema.json +++ b/schemas/api/transformers.schema.json @@ -20,6 +20,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {}, diff --git a/schemas/api/utilities.schema.json b/schemas/api/utilities.schema.json index e9bc2bb7e..532ebdc1d 100644 --- a/schemas/api/utilities.schema.json +++ b/schemas/api/utilities.schema.json @@ -21,6 +21,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {}, diff --git a/schemas/common/common.schema.json b/schemas/common/common.schema.json index 65c6bf9ff..15b7288a5 100644 --- a/schemas/common/common.schema.json +++ b/schemas/common/common.schema.json @@ -40,6 +40,15 @@ "type": "string", "description": "The URL to the repository where the plugin extension code lives." }, + "python": { + "type": "string", + "description": "The python version to use for this plugin, specified as a path, or as the name of an executable to find within a directory in $PATH. If not specified, the top-level `python` setting will be used, or if it is not set, the python executable that was used to run Meltano will be used (within a separate virtual environment).", + "examples": [ + "/usr/bin/python3.10", + "python", + "python3.11" + ] + }, "settings": { "type": "array", "items": { diff --git a/schemas/plugin_definitions/extractors.schema.json b/schemas/plugin_definitions/extractors.schema.json index 693fd9b61..36c8ec32c 100644 --- a/schemas/plugin_definitions/extractors.schema.json +++ b/schemas/plugin_definitions/extractors.schema.json @@ -30,6 +30,7 @@ "repo": {}, "logo_url": {}, "hidden": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "capabilities": {}, diff --git a/schemas/plugin_definitions/loaders.schema.json b/schemas/plugin_definitions/loaders.schema.json index 24aa0d358..6ea2f63d5 100644 --- a/schemas/plugin_definitions/loaders.schema.json +++ b/schemas/plugin_definitions/loaders.schema.json @@ -29,6 +29,7 @@ "label": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "dialect": {}, diff --git a/schemas/plugin_definitions/mappers.schema.json b/schemas/plugin_definitions/mappers.schema.json index 4ed82c1a7..1c8d7a6d7 100644 --- a/schemas/plugin_definitions/mappers.schema.json +++ b/schemas/plugin_definitions/mappers.schema.json @@ -36,6 +36,7 @@ "keywords": {}, "definition": {}, "next_steps": {}, + "python": {}, "settings_preamble": {}, "settings": {}, "settings_group_validation": {}, diff --git a/schemas/plugin_definitions/orchestrators.schema.json b/schemas/plugin_definitions/orchestrators.schema.json index 712e8af88..9f2897013 100644 --- a/schemas/plugin_definitions/orchestrators.schema.json +++ b/schemas/plugin_definitions/orchestrators.schema.json @@ -23,6 +23,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {}, diff --git a/schemas/plugin_definitions/transformers.schema.json b/schemas/plugin_definitions/transformers.schema.json index e557371c4..f10e7c0ca 100644 --- a/schemas/plugin_definitions/transformers.schema.json +++ b/schemas/plugin_definitions/transformers.schema.json @@ -23,6 +23,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {}, diff --git a/schemas/plugin_definitions/utilities.schema.json b/schemas/plugin_definitions/utilities.schema.json index 0d1d69333..b4540489a 100644 --- a/schemas/plugin_definitions/utilities.schema.json +++ b/schemas/plugin_definitions/utilities.schema.json @@ -24,6 +24,7 @@ "executable": {}, "settings": {}, "docs": {}, + "python": {}, "settings_group_validation": {}, "commands": {}, "variant": {},