Taragolis commented on PR #38905: URL: https://github.com/apache/airflow/pull/38905#issuecomment-2057430746
Feel difference **Python 3.12 (non-db)** ```console ================== Warning summary. Total: 4,670, Unique: 329 ================== airflow: total 133, unique 16 other: total 3,737, unique 24 providers: total 222, unique 44 tests: total 578, unique 245 Warnings saved into /files/warnings-all-none.txt file. ``` **Python 3.11 (non-db)** ```console ================== Warning summary. Total: 1,136, Unique: 320 ================== airflow: total 132, unique 15 other: total 204, unique 17 providers: total 224, unique 45 tests: total 576, unique 243 Warnings saved into /files/warnings-all-none.txt file. ``` **Python 3.8 (non-db)** ```console ================== Warning summary. Total: 1,134, Unique: 320 ================== airflow: total 132, unique 15 other: total 203, unique 18 providers: total 223, unique 44 tests: total 576, unique 243 Warnings saved into /files/warnings-all-none.txt file. ``` The differences mostly because some upstream dependency still use `datetime.datetime.utcnow()` (e.g. botocore), some deprecated constant from ast module (werkzeug, should be resolved as soon as we will able to update to newer version) And also fork from multithreading, which are "deprecated" in Python 3.12: https://discuss.python.org/t/concerns-regarding-deprecation-of-fork-with-alive-threads/33555 ```console {"category": "DeprecationWarning", "message": "This process (pid=99) is multi-threaded, use of fork() may lead to deadlocks in the child.", "node_id": "tests/secrets/test_cache.py::TestSecretCache::test_cache_accessible_from_other_process", "filename": "/usr/local/lib/python3.12/multiprocessing/popen_fork.py", "lineno": 66} {"category": "DeprecationWarning", "message": "This process (pid=99) is multi-threaded, use of fork() may lead to deadlocks in the child.", "node_id": "tests/providers/celery/executors/test_celery_kubernetes_executor.py::TestCeleryKubernetesExecutor::test_queue_command", "filename": "/usr/local/lib/python3.12/multiprocessing/popen_fork.py", "lineno": 66} {"category": "DeprecationWarning", "message": "This process (pid=99) is multi-threaded, use of fork() may lead to deadlocks in the child.", "node_id": "tests/providers/celery/executors/test_celery_kubernetes_executor.py::TestCeleryKubernetesExecutor::test_job_id_setter", "filename": "/usr/local/lib/python3.12/multiprocessing/popen_fork.py", "lineno": 66} {"category": "DeprecationWarning", "message": "This process (pid=99) is multi-threaded, use of fork() may lead to deadlocks in the child.", "node_id": "tests/providers/celery/executors/test_celery_kubernetes_executor.py::TestCeleryKubernetesExecutor::test_send_callback", "filename": "/usr/local/lib/python3.12/multiprocessing/popen_fork.py", "lineno": 66} ``` -- 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]
