xBis7 commented on PR #53722:
URL: https://github.com/apache/airflow/pull/53722#issuecomment-3124269131
I see a weird error on the pre-commit static code checks
```
Run mypy for
providers......................................................Failed
- hook id: mypy-providers
- exit code: 1
Using 'uv' to install Airflow
Using airflow version from current sources
providers/edge3/src/airflow/providers/edge3/models/edge_worker.py:31: error:
Module "airflow.utils" has no attribute "timezone" [attr-defined]
from airflow.utils import timezone
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
providers/edge3/src/airflow/providers/edge3/worker_api/routes/worker.py:44:
error:
Module "airflow.utils" has no attribute "timezone" [attr-defined]
from airflow.utils import timezone
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in 2 files (checked 2 source files)
Error 1 returned
If you see strange stacktraces above, and can't reproduce it, please run
this command and try again:
breeze ci-image build --python 3.10
You can also run `breeze down --cleanup-mypy-cache` to clean up the cache
used.
```
I can see that this is used everywhere. I skipped the check for the commit
and pushed the changes but if it fails on the CI, I'll look for a fix.
--
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]