potiuk commented on PR #54449:
URL: https://github.com/apache/airflow/pull/54449#issuecomment-3205555648

   > Confirmed :
   
   Ah .. not yet (at least not in the current version).  
   You need to appy the `pyproject.toml` changes I suggested as well.
   
   ```python
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:408:
 in resolve
       found = getattr(found, frag)
   E   AttributeError: partially initialized module 'airflow' has no attribute 
'sdk' (most likely due to a circular import)
   
   During handling of the above exception, another exception occurred:
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:410:
 in resolve
       self.importer(used)
   E   ModuleNotFoundError: No module named 'airflow.sdk'
   
   The above exception was the direct cause of the following exception:
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:596:
 in configure
       filters[name] = self.configure_filter(filters[name])
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:742:
 in configure_filter
       result = self.configure_custom(config)
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:487:
 in configure_custom
       c = self.resolve(c)
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:415:
 in resolve
       raise v from e
   E   ValueError: Cannot resolve 
'airflow.sdk._shared.secrets_masker.secrets_masker._secrets_masker': No module 
named 'airflow.sdk'
   
   The above exception was the direct cause of the following exception:
   tests/secrets_masker/test_secrets_masker.py:43: in <module>
       from tests_common.test_utils.config import conf_vars
   ../../devel-common/src/tests_common/test_utils/config.py:23: in <module>
       from airflow import settings
   ../../airflow-core/src/airflow/__init__.py:79: in <module>
       settings.initialize()
   ../../airflow-core/src/airflow/settings.py:640: in initialize
       LOGGING_CLASS_PATH = configure_logging()
   ../../airflow-core/src/airflow/logging_config.py:108: in configure_logging
       raise e
   ../../airflow-core/src/airflow/logging_config.py:103: in configure_logging
       dictConfig(logging_config)
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:942:
 in dictConfig
       dictConfigClass(config).configure()
   
/home/jarek/.local/share/uv/python/cpython-3.12.7-linux-x86_64-gnu/lib/python3.12/logging/config.py:598:
 in configure
       raise ValueError('Unable to configure '
   E   ValueError: Unable to configure filter 'mask_secrets_sdk'
   ```
   
   


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