stephen-bracken opened a new issue, #66074:
URL: https://github.com/apache/airflow/issues/66074

   ### Under which category would you file this issue?
   
   Task SDK
   
   ### Apache Airflow version
   
   3.2.0
   
   ### What happened and how to reproduce it?
   
   When running `airflow db migrate`, I get the following error:
   ```
   2026-04-28 19:04:39.588      Traceback (most recent call last):
   2026-04-28 19:04:39.588        File "/home/airflow/.local/bin/airflow", line 
3, in <module>
   2026-04-28 19:04:39.588          from airflow.__main__ import main
   2026-04-28 19:04:39.588        File 
"/home/airflow/.local/lib/python3.11/site-packages/airflow/__init__.py", line 
81, in <module>    
   2026-04-28 19:04:39.588          settings.initialize()
   2026-04-28 19:04:39.588        File 
"/home/airflow/.local/lib/python3.11/site-packages/airflow/settings.py", line 
739, in initialize
   2026-04-28 19:04:39.589          conf.mask_secrets()
   2026-04-28 19:04:39.589          ^^^^^^^^^^^^^^^^^
   2026-04-28 19:04:39.589      AttributeError: 'AirflowSDKConfigParser' object 
has no attribute 'mask_secrets'
   ```
   
   This happens because the `AirflowSDKConfigParser` is not inheriting the 
`mask_secrets()` method from the superclass 
`airflow.sdk._shared.configuration.parser.AirflowConfigParser`
   
   reproduction in venv:
   ```
   >>> from airflow.sdk.configuration import AirflowSDKConfigParser
   >>> parser = AirflowSDKConfigParser()
   >>> parser.mask_secrets
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   AttributeError: 'AirflowSDKConfigParser' object has no attribute 
'mask_secrets'
   ```
   
   ### What you think should happen instead?
   
   The `AirflowSDKConfigParser` needs to be fully instantiated with the shared 
config parser on startup to parse the config during setup.
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   ```
   apache-airflow-providers-amazon==9.23.0
   apache-airflow-providers-apache-kafka==1.13.0
   apache-airflow-providers-celery==3.17.1
   apache-airflow-providers-cncf-kubernetes==10.14.0
   apache-airflow-providers-common-compat==1.14.1
   apache-airflow-providers-common-io==1.7.1
   apache-airflow-providers-common-messaging==2.0.2
   apache-airflow-providers-common-sql==1.33.0
   apache-airflow-providers-docker==4.5.3
   apache-airflow-providers-elasticsearch==6.5.0
   apache-airflow-providers-fab==3.5.0
   apache-airflow-providers-ftp==3.14.1
   apache-airflow-providers-git==0.2.4
   apache-airflow-providers-google==20.0.0
   apache-airflow-providers-grpc==3.9.2
   apache-airflow-providers-hashicorp==4.5.0
   apache-airflow-providers-http==6.0.0
   apache-airflow-providers-jenkins==4.2.3
   apache-airflow-providers-keycloak==0.6.0
   apache-airflow-providers-microsoft-azure==13.0.1
   apache-airflow-providers-microsoft-mssql==4.5.0
   apache-airflow-providers-microsoft-psrp==3.2.3
   apache-airflow-providers-mysql==6.5.0
   apache-airflow-providers-odbc==4.12.0
   apache-airflow-providers-openlineage==2.12.0
   apache-airflow-providers-opsgenie==5.10.1
   apache-airflow-providers-postgres==6.6.1
   apache-airflow-providers-redis==4.4.2
   apache-airflow-providers-sendgrid==4.2.1
   apache-airflow-providers-sftp==5.7.1
   apache-airflow-providers-slack==9.8.0
   apache-airflow-providers-smtp==2.4.3
   apache-airflow-providers-snowflake==6.11.0
   apache-airflow-providers-ssh==4.3.2
   apache-airflow-providers-standard==1.12.1
   ```
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   1.33.5
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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