Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy configuration not removed or updated #46517

Closed
1 of 2 tasks
Lee-W opened this issue Feb 6, 2025 · 1 comment · Fixed by #46544
Closed
1 of 2 tasks

Legacy configuration not removed or updated #46517

Lee-W opened this issue Feb 6, 2025 · 1 comment · Fixed by #46544
Assignees
Labels
affected_version:3.0.0alpha For all 3.0.0 alpha releases area:core good first issue kind:bug This is a clearly a bug

Comments

@Lee-W
Copy link
Member

Lee-W commented Feb 6, 2025

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

@Lee-W Lee-W added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet affected_version:3.0.0alpha For all 3.0.0 alpha releases good first issue and removed needs-triage label for new issues that we didn't triage yet labels Feb 6, 2025
@jason810496
Copy link
Contributor

Hi @Lee-W, I can take this issue !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected_version:3.0.0alpha For all 3.0.0 alpha releases area:core good first issue kind:bug This is a clearly a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants