dheerajturaga commented on code in PR #60675:
URL: https://github.com/apache/airflow/pull/60675#discussion_r2729408062


##########
providers/celery/src/airflow/providers/celery/cli/celery_command.py:
##########
@@ -218,8 +237,8 @@ def worker(args):
     autoscale = args.autoscale
     skip_serve_logs = args.skip_serve_logs
 
-    if autoscale is None and conf.has_option("celery", "worker_autoscale"):
-        autoscale = conf.get("celery", "worker_autoscale")
+    if autoscale is None and config.has_option("celery", "worker_autoscale"):

Review Comment:
   this is what I'm using for these backward compatibility tests:
   
   Build the local airflow wheel:
   `breeze release-management prepare-provider-distributions --skip-tag-check 
celery`
   
   Start specific airflow version:
   `breeze start-airflow -d -e --user-airflow-version 3.1.3 --executor 
CeleryExecutor --airflow-extras celery`
   
   then within the container, shutdown the airflow celery worker. Then `pip 
install ./dist/<celery>.whl`
   
   then launch the worker with `airflow celery worker --team my_team`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to