-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SoCo 0.22.0 fails to install on some platforms due to requirement to build 'yarl' and 'mutlidict' #819
Comments
@bdraco : Do you have any thoughts on this? I'm worried that the inclusion of the new |
How about making it an extra? so you can do something like pip install 'SoCo[asyncio]' extras_require = { Typing this on a mobile so hopefully it makes sense. |
Also FWITW, both yarl and multidict have pure python install options and can be installed as follows: MULTIDICT_NO_EXTENSIONS=1 pip install multidict I think the extra route is the safer one though |
Great -- thanks @bdraco. I'll have a play with removing the hard requirement, and the |
The inclusion of
events_asyncio
in v0.22.0 brought in a dependency on theaiohttp
package, which in turn depends onyarl
andmultidict
.It turns out that both
yarl
andmultidict
have binary wheels, with prebuilt versions available for some platforms (Linux, macOS, Windows), meaning that installs on these platforms will work without error.However, build/installation failures can occur on other platforms, including on Raspberry PIs running PiOS (Raspbian). In order to install successfully, the
build-essential
(compiler, etc.) andpython3-dev
(Python headers) packages must be present:sudo apt install build-essential python3-dev
These new dependencies may also cause install failures on other platforms.
We need to determine whether this is going to be a major problem, and look for workarounds.
The text was updated successfully, but these errors were encountered: