Closed christophe-deleuze closed 2 years ago
Closed because too many changes in requirements and problem with Flower (related to what @fmalina said). Please open distinct PRs for Windows and Bump versions ;)
@ncrocfer I will open distinct PRs for these.
this is the fix required for flower:
@celery.command(name="flower", context_settings=dict(ignore_unknown_options=True))
@click.argument("flower_args", nargs=-1, type=click.UNPROCESSED)
@pass_ctx
def flower(ctx, flower_args):
"""Start the flower instance"""
broker = ctx.app.config["CELERY_CONF"]["broker_url"]
args = [
"celery",
"-b",
broker,
"flower"
]
args += list(flower_args)
os.execvp(args[0], args)
Celery 5.1.2 compliance & fix windows issue on os separator
Note : Windows might only works if 'gunicorn' is replaced with 'waitress'