potiuk commented on PR #60087: URL: https://github.com/apache/airflow/pull/60087#issuecomment-3708395857
> Actually it is not on MacOS, I am on Linux. Let me clarify. It **may** fail on MacOS and other platforms, but CPython developers decided to turn it into a warning for all of them in https://github.com/python/cpython/pull/100229 . They decided to do it, because the problem is generally non-fixable on MacOS. It's unlikely you will handle it differently for those platform and decided to eventually make it into an error when you have threads running and fork (but for now it's a deprecation warning) - precisely because it is unreliable on some platforms and there is no way to fix it for those platforms. On MacOS it started to break as of 2018 (original article by Barry Warsaw https://www.wefearchange.org/2018/11/forkmacos.rst ) in Objective-C runtime changes for High Sierra. Here is a detailed discussion about it: https://discuss.python.org/t/concerns-regarding-deprecation-of-fork-with-alive-threads/33555/14 But bottomline, the idea is to raise the warning in BOTH Linux and MacOS, as a "soft nudge" for developers (i.e. us) to do something with it because it is known to cause problems (https://github.com/apache/airflow/issues?q=is%3Aissue%20SIGSEGV -> 15 issues raised so far) So silencing it, is removing the nudge. -- 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]
