Uh oh!
There was an error while loading. Please reload this page.
gh-132719: Skip multiprocessing test if missing ctypes - #132842
Conversation
Skip test_lock_locked_2processes() if multiprocessing.sharedctypes is missing (need ctypes).
vstinner
commented
Apr 23, 2025
Example of error: https://buildbot.python.org/#/builders/1232/builds/5434 |
I also contacted the FreeBSD buildbot owner to ask him if he can install libffi (ctypes dependency). |
…132842) Skip test_rlock_locked_2processes() if multiprocessing.sharedctypes is missing (need ctypes).
vstinner
commented
Apr 23, 2025
Oh no, I missed the rlock test: I wrote #132846 to skip also the rlock test. |
YvesDup
commented
Apr 23, 2025
I can rewrite these tests without |
vstinner
commented
Apr 23, 2025
It seems safer to always use |
YvesDup
commented
Apr 23, 2025
I can use a |
Ah, I understood that you asked to choice between |
YvesDup
commented
Apr 23, 2025
I understand that there are 2 problems when
That's why I suggest using a |
vstinner
commented
Apr 23, 2025
It's ok to skip tests when ctypes is missing. Ctypes should be available most of the time. |
vstinner
commented
Apr 23, 2025
I merged my PR to skip rlock test to repair FreeBSD buildbots, but feel free to propose a PR if you want to avoid ctypes in the tests. |
YvesDup
commented
Apr 23, 2025
It is okay for to skip these test. Thank for the fix |
Skip test_lock_locked_2processes() if multiprocessing.sharedctypes is missing (need ctypes).