feat(extensions): add update command to extensions cli (#38651)

This commit is contained in:
Ville Brofeldt
2026-03-16 07:02:42 -07:00
committed by GitHub
parent afe093f1ca
commit dcb414aa06
10 changed files with 514 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ def test_build_command_success_flow(
# Setup mocks
mock_rebuild_frontend.return_value = "remoteEntry.abc123.js"
mock_read_toml.return_value = {
"project": {"name": "test"},
"project": {"name": "test", "version": "1.0.0"},
"tool": {
"apache_superset_extensions": {
"build": {"include": ["src/test_org/test_extension/**/*.py"]}
@@ -162,7 +162,7 @@ def test_build_command_handles_frontend_build_failure(
# Setup mocks
mock_rebuild_frontend.return_value = None # Indicates failure
mock_read_toml.return_value = {
"project": {"name": "test"},
"project": {"name": "test", "version": "1.0.0"},
"tool": {
"apache_superset_extensions": {
"build": {"include": ["src/test_org/test_extension/**/*.py"]}