GitHub user dosubot[bot] added a comment to the discussion: Does Superset 6.0.0 
officially support the Extension Framework (.supx)?

<!-- Answer -->
Good find! The presence of CLI and Extensions folders does indicate extension 
infrastructure exists. However, note that the 
[`superset/cli/`](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/cli)
 and 
[`superset/extensions/`](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/extensions)
 folders in the installation are **internal Superset components** (Flask 
extensions and CLI management tools), not the .supx extension loading system.

To enable .supx extension loading, configure your `superset_config.py`:

```python
FEATURE_FLAGS = {
    "ENABLE_EXTENSIONS": True,
}

# Directory where your .supx files are located
EXTENSIONS_PATH = "/app/extensions"  # Or your custom path
```

Then:
1. Place your `.supx` file in the `EXTENSIONS_PATH` directory
2. Restart Superset (for Docker: `docker compose down && docker compose up`)

The [extension loading mechanism uses Webpack Module 
Federation](https://github.com/apache/superset/issues/34162) to dynamically 
load frontend assets at runtime. Extensions are served via the 
`/api/v1/extensions` endpoint.

**Tip**: After restart, check your Superset logs for any extension-related 
messages - this will confirm whether the extension is being detected and 
loaded. Also verify your `.supx` file was [properly bundled using 
`superset-extensions bundle`](https://github.com/apache/superset/issues/34162) 
with valid `manifest.json` and `extension.json` metadata inside.


<!-- Dosu Comment Footer -->
*To reply, just mention 
[@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=great_response&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=irrelevant_answer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=incorrect_sources&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=too_verbose&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose)
 | [Hallucination](https://app.dosu.dev/response-feedback/eb1c6977-29b0-48
 
11-960e-5eb152003695?feedback_type=hallucination&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=bug_report&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/eb1c6977-29b0-4811-960e-5eb152003695?feedback_type=other&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Good%20find%21%20The%20presence%20of%20CLI%20and%20Extensions%20folders%20does%20indicate%20extension%20infrastructure%20exists.%20However%2C%20note%20that%20the%20%5B%60superset/cli/%60%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/cli%29%20and%20%5B%60superset/extensions/%60%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/extensions%29%20folders%20in%20the%20installation%20are%20%2A%2Ainternal%20Superset%20components%2A%2A%20%28Flask%20extensions%20and%20CLI%20management%20tools%29%2C%20not%20the%20.supx%20extension%20loading%20system.%0A%0ATo%20enable%20.supx%20extension%20lo
 
ading%2C%20configure%20your%20%60superset_config.py%60%3A%0A%0A%60%60%60python%0AFEATURE_FLAGS%20%3D%20%7B%0A%20%20%20%20%22ENABLE_EXTENSIONS%22%3A%20True%2C%0A%7D%0A%0A%23%20Directory%20where%20your%20.supx%20files%20are%20located%0AEXTENSIONS_PATH%20%3D%20%22/app/extensions%22%20%20%23%20Or%20your%20custom%20path%0A%60%60%60%0A%0AThen%3A%0A1.%20Place%20your%20%60.supx%60%20file%20in%20the%20%60EXTENSIONS_PATH%60%20directory%0A2.%20Restart%20Superset%20%28for%20Docker%3A%20%60docker%20compose%20down%20%26%26%20docker%20compose%20up%60%29%0A%0AThe%20%5Bextension%20loading%20mechanism%20uses%20Webpack%20Module%20Federation%5D%28https%3A//github.com/apache/superset/issues/34162%29%20to%20dynamically%20load%20frontend%20assets%20at%20runtime.%20Extensions%20are%20served%20via%20the%20%60/api/v1/extensions%60%20endpoint.%0A%0A%2A%2ATip%2A%2A%3A%20After%20restart%2C%20check%20your%20Superset%20logs%20for%20any%20extension-related%20messages%20-%20this%20will%20confirm%20whether%20the%20e
 
xtension%20is%20being%20detected%20and%20loaded.%20Also%20verify%20your%20%60.supx%60%20file%20was%20%5Bproperly%20bundled%20using%20%60superset-extensions%20bundle%60%5D%28https%3A//github.com/apache/superset/issues/34162%29%20with%20valid%20%60manifest.json%60%20and%20%60extension.json%60%20metadata%20inside.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/38607)

GitHub link: 
https://github.com/apache/superset/discussions/38607#discussioncomment-16108493

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to