Skip to content

Legacy configuration not removed or updated #46517

@Lee-W

Description

@Lee-W

Apache Airflow version

3.0.0a1

If "Other Airflow 2 version" selected, which one?

3.0.0a1

What happened?

After running airflow config lint, we can still find the following config have not yet been migrated.

Found issues in your airflow.cfg:
  - Removed deprecated `cookie_samesite` configuration parameter from `webserver` section.
  - `dag_dir_list_interval` configuration parameter moved from `scheduler` section to `dag_processor` section as `refresh_interval`.

Please update your configuration file accordingly.

What you think should happen instead?

airflow config lint should not raise any error.

How to reproduce

uv venv --python 3.12

uv pip install \
    --find-links https://dist.apache.org/repos/dist/dev/airflow/3.0.0a1/ \
    apache-airflow==3.0.0a1 \
    apache-airflow-task-sdk==1.0.0a1 \
    apache-airflow-providers-standard==0.1.0a1 \
    apache-airflow-providers-fab==2.0.0a1 \
    apache-airflow-providers-celery==3.11.0a1
export AIRFLOW_HOME=`pwd`

uv run airflow db migrate
uv run airflow standalone

uv run airflow config lint

Operating System

macOS 15.3

Versions of Apache Airflow Providers

apache-airflow-providers-celery==3.11.0a1
apache-airflow-providers-common-compat==1.3.0
apache-airflow-providers-common-io==1.5.0
apache-airflow-providers-common-sql==1.21.0
apache-airflow-providers-fab==2.0.0a1
apache-airflow-providers-ftp==3.12.0
apache-airflow-providers-http==5.0.0
apache-airflow-providers-imap==3.8.0
apache-airflow-providers-smtp==1.9.0
apache-airflow-providers-sqlite==4.0.0
apache-airflow-providers-standard==0.1.0a1

Deployment

Other

Deployment details

airflow standalone

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions