Skip to content

Conversation

@SuccessMoses
Copy link
Contributor

Fixes #43794

In airflow version 2.10, removed deprecation warning for sql_alchemy_conn and others in [core] instead of [database] in airflow.cfg

@SuccessMoses SuccessMoses marked this pull request as draft November 15, 2024 14:41
@potiuk
Copy link
Member

potiuk commented Nov 16, 2024

It's not the right fix. Rather than removing the old values from deprecated list, we should suppress the warnings in this particular case where we check for sensitive values.

@zachliu
Copy link
Contributor

zachliu commented Nov 16, 2024

It's not the right fix. Rather than removing the old values from deprecated list, we should suppress the warnings in this particular case where we check for sensitive values.

isn't this my bandit fix? 😁 i just added with self.suppress_future_warnings(): before

value = self.get(section, key, suppress_warnings=True)

@potiuk
Copy link
Member

potiuk commented Nov 16, 2024

isn't this my bandit fix? 😁 i just added with self.suppress_future_warnings(): before

Yep. That's what it should be

@zachliu
Copy link
Contributor

zachliu commented Nov 18, 2024

suppress the warnings in this particular case where we check for sensitive values.

okie doke

#44148

github-actions bot pushed a commit that referenced this pull request Nov 19, 2024
#44148)

(cherry picked from commit 9eaeb1c)

Co-authored-by: Zach Liu <zachliu@users.noreply.github.com>
https: //github.com//pull/44061#issuecomment-2480320259
potiuk pushed a commit that referenced this pull request Nov 19, 2024
#44148) (#44167)

(cherry picked from commit 9eaeb1c)


https: //github.com//pull/44061#issuecomment-2480320259

Co-authored-by: Zach Liu <zachliu@users.noreply.github.com>
@potiuk potiuk closed this Nov 19, 2024
@potiuk
Copy link
Member

potiuk commented Nov 19, 2024

Closing. Fixed by #44148

utkarsharma2 pushed a commit that referenced this pull request Dec 4, 2024
#44148) (#44167)

(cherry picked from commit 9eaeb1c)


https: //github.com//pull/44061#issuecomment-2480320259

Co-authored-by: Zach Liu <zachliu@users.noreply.github.com>
utkarsharma2 pushed a commit that referenced this pull request Dec 9, 2024
#44148) (#44167)

(cherry picked from commit 9eaeb1c)


https: //github.com//pull/44061#issuecomment-2480320259

Co-authored-by: Zach Liu <zachliu@users.noreply.github.com>
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request May 6, 2025
…s (#44148) (#44167)

(cherry picked from commit 9eaeb1c3098e364f940dbbf36e8f7fc72a262eee)

https: //github.com/apache/airflow/pull/44061#issuecomment-2480320259

Co-authored-by: Zach Liu <zachliu@users.noreply.github.com>
GitOrigin-RevId: 86e0da87c8e2294be4737c222eeff56758638658
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request May 27, 2025
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 23, 2025
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants