<p dir="auto">Could you please provide official chart for your image.</p>
<p dir="auto">The stable/airflow chart was created for image puckel/docker-airflow.</p>
<p dir="auto">There are specific features in the puckel/docker-airflow entrypoint you don't have</p>
<p dir="auto">such as<br>
<a href="https://github.com/puckel/docker-airflow/blob/master/script/entrypoint.sh#L13">https://github.com/puckel/docker-airflow/blob/master/script/entrypoint.sh#L13</a><br>
<a href="https://github.com/puckel/docker-airflow/blob/master/script/entrypoint.sh#L57">https://github.com/puckel/docker-airflow/blob/master/script/entrypoint.sh#L57</a></p>
<p dir="auto">So your image won't work with stable/airflow correctly</p>
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.6.2</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">I'm installing a python package that contains airflow.plugins.<br>
For some reason when I run <code class="notranslate">airflow plugins</code> the plugins show duplicated twice.<br>
This causes an issue loading blueprints:</p>
<p dir="auto">ValueError: The name 'edit_run_conf' is already registered for this blueprint. Use 'name=' to provide a unique name.</p>
<p dir="auto">Plugins are definitely being loaded only from python package. The plugins_dir is empty. Verified this also with DEBUG log.</p>
<p dir="auto">[2023-07-05T14:14:56.911+0000] {plugins_manager.py:300} DEBUG - Loading plugins<br>
[2023-07-05T14:14:56.911+0000] {plugins_manager.py:244} DEBUG - Loading plugins from directory: /airflow/plugins<br>
[2023-07-05T14:14:56.912+0000] {plugins_manager.py:224} DEBUG - Loading plugins from entrypoints<br>
[2023-07-05T14:14:56.920+0000] {plugins_manager.py:227} DEBUG - Importing entry_point plugin cron_display_timezone_plugin<br>
[2023-07-05T14:14:56.921+0000] {plugins_manager.py:227} DEBUG - Importing entry_point plugin edit_runconf_plugin<br>
[2023-07-05T14:14:56.992+0000] {plugins_manager.py:227} DEBUG - Importing entry_point plugin cron_display_timezone_plugin<br>
[2023-07-05T14:14:56.993+0000] {plugins_manager.py:227} DEBUG - Importing entry_point plugin edit_runconf_plugin</p>
<p dir="auto">Here is how the entrypoints look like in the python package:<br>
./venv/lib/python3.9/site-packages/gr_airflow-0.0.3.dist-info/entry_points.txt</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[airflow.plugins]
cron_display_timezone_plugin = gr_airflow.plugins.timezonetrigger.plugin:CronDisplayTimezonePlugin
edit_runconf_plugin = gr_airflow.plugins.edit_runconf.plugin:EditRunConfPlugin"><pre class="notranslate"><code class="notranslate">[airflow.plugins]
cron_display_timezone_plugin = gr_airflow.plugins.timezonetrigger.plugin:CronDisplayTimezonePlugin
edit_runconf_plugin = gr_airflow.plugins.edit_runconf.plugin:EditRunConfPlugin
</code></pre></div>
<p dir="auto">Any one else having this issue?</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Install a package that contains plugin entry points in pyproject.toml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[project.entry-points.&quot;airflow.plugins&quot;]
cron_display_timezone_plugin = &quot;gr_airflow.plugins.timezonetrigger.plugin:CronDisplayTimezonePlugin&quot;
edit_runconf_plugin = &quot;gr_airflow.plugins.edit_runconf.plugin:EditRunConfPlugin&quot;"><pre class="notranslate"><code class="notranslate">[project.entry-points."airflow.plugins"]
cron_display_timezone_plugin = "gr_airflow.plugins.timezonetrigger.plugin:CronDisplayTimezonePlugin"
edit_runconf_plugin = "gr_airflow.plugins.edit_runconf.plugin:EditRunConfPlugin"
</code></pre></div>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Centos 8</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Official Apache Airflow Helm Chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>