Open alexeyhimself opened 3 years ago
I was getting a similar issue with the 0.1.0 version on Python 3.8, but the 0.0.10 works fine.
I my case I'm using --tests-per-worker=auto
instead.
Not sure if https://stackoverflow.com/a/52230415 could solve this problem.
This should be caused as your code try to call requests api in a forked process.
Pay attention to should_bypass_proxies
function in your log. It is a known issue in macOS. Try to add os.environ['no_proxy'] = '*'
before you call any requests api, which is a widely used workaround.
Could not use at all pytest parallel on my Mac. Tried to reinstall, to update it (with pip3). Tried to run in different modes (with and without specified workers), but it didn't help: each run caused Python crash (see below). Running pytest without parallelism is fine. Issue reproducibility: always.
Steps to reproduce:
Actual result:
MacOS system crash report for Python process: