Initial runtests.py run fails on macOS - ModuleNotFoundError: No module named 'h11'
pquentin opened this issue · comments
On macOS (10.13), running runtests.py
fails because h11 is not installed correctly. This has been true since the beginning of runtests.py, even though I'm only reporting it now.
When installing the dev requirements, I expect "Successfully installed h11-0.7.0+dev" but I see "Successfully installed h11". Even though pip reports success, h11
and h11-0.7.0+dev-py3.6.egg-info
are not in test-venv-cp36m-macosx_10_13_x86_64/lib/python3.6/site-packages
.
Workarounds:
- Using
venv
instead ofvirtualenv
, but we want to support Python 2 eventually so that's not useful - Install h11 manually in the newly created venv
- Activate the newly created venv, install an updated wheel, then run
runtests.py
I tried to use activate_this.py without much success. I've wasted a lot of time with this issue, so I'm not planning to investigate further, but I thought I would report what I've tried.
Actually njsmith/h11@75e271c is needed, which was added for the urllib3 tests and is the reason why we're installing from git in the first place. Maybe consider releasing a new h11 version?