[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-20 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-45128 (fixed): "test_multiprocessing_fork fails if run sequentially after test_genericalias and test_logging". -- nosy: +vstinner ___ Python tracker

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-07 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +26631 pull_request: https://github.com/python/cpython/pull/28182 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ab58269ab3b784bef33a613cd0a68914065a9134 by Serhiy Storchaka in branch '3.9': [3.9] bpo-45042: Now test classes decorated with `requires_hashdigest` are not skipped (GH-28060) (GH-28169)

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-04 Thread miss-islington
miss-islington added the comment: New changeset e5976dd2e6e966183da59df99978ebcb4b3a32df by Miss Islington (bot) in branch '3.10': bpo-45042: Now test classes decorated with `requires_hashdigest` are not skipped (GH-28060)

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26598 pull_request: https://github.com/python/cpython/pull/28169 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset dd7b816ac87e468e2fa65ce83c2a03fe1da8503e by Nikita Sobolev in branch 'main': bpo-45042: Now test classes decorated with `requires_hashdigest` are not skipped (GH-28060)

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26597 pull_request: https://github.com/python/cpython/pull/28168 ___ Python tracker

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Two new issues created: 1. https://bugs.python.org/issue45053 2. https://bugs.python.org/issue45052 -- ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Łukasz Langa
Łukasz Langa added the comment: FYI, there seem to be two Windows-specific regressions since the tests were unintentionally disabled, namely test_shared_memory_basics and test_checksum_fodder. Following Serhiy's advice, I elect to have those tests skipped for now on Windows and fix them

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Serhiy, yes, you are right. I guess, it is safe to assume that load-time/test-time might make a difference, especially with `_hashlib`. I've commited your suggestion, thanks a lot for your help! -- ___ Python

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is the implementation of the second option: def requires_hashdigest(digestname, openssl=None, usedforsecurity=True): def decorator(func): if isinstance(func, type): setUpClass = func.__dict__.get('setUpClass') if

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nikita. The difference between the original and the proposed in PR 28060 code is that in the original code the conditional was tested at the testing time, while in the proposed code it is tested at the loading time. I do not know what effect

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Looks like it did, two newly-unignored tests are failing: https://github.com/python/cpython/pull/28060#issuecomment-908295411 пн, 30 авг. 2021 г. в 15:16, Antoine Pitrou : > > Antoine Pitrou added the comment: > > Wow. I hope this didn't hide any regression

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Wow. I hope this didn't hide any regression :-( -- ___ Python tracker ___ ___ Python-bugs-list

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +26504 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28060 ___ Python tracker ___

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-30 Thread Nikita Sobolev
Nikita Sobolev added the comment: Looks like that this happens because tests classes are decorated with `@hashlib_helper.requires_hashdigest('md5')`: https://github.com/python/cpython/blob/2a8127cafe1d196f858a3ecabf5f1df3eebf9a12/Lib/test/_test_multiprocessing.py#L4482-L4485 Tests above run

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-08-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Here is a list of multiprocessing tests which are run in 3.8 but are not found in 3.9+: OtherTest.test_answer_challenge_auth_failure OtherTest.test_deliver_challenge_auth_failure TestInitializers.test_manager_initializer