Aiohttp: sdist build gets crashed under pip>=19 in dev mode

Created on 28 Jan 2019  路  7Comments  路  Source: aio-libs/aiohttp

Long story short

We have cython as an optional dependency. That's why we install it as a pre-requisite in the CI, as a separate step.
New pip creates a separate build virtualenv which doesn't have access to the place with cython installed which causes it to crash.

Expected behaviour

It succeeds

Actual behaviour

It tracebacks

Steps to reproduce

Your environment

Travis CI (doesn't really matter actually)

bug infra meta pr-rejected

All 7 comments

GitMate.io thinks the contributor most likely able to help you is @asvetlov.

Possibly related issues are https://github.com/aio-libs/aiohttp/issues/3413 (ServerDisconnectedError with get compress=True), https://github.com/aio-libs/aiohttp/issues/3241 (Failed building wheel for aiohttp==3.4.3), https://github.com/aio-libs/aiohttp/issues/117 (HTTP GET + compress=True = 501), https://github.com/aio-libs/aiohttp/issues/2907 (Random crash occurs), and https://github.com/aio-libs/aiohttp/issues/469 (how to get the post data).

Temporary workaround: 9e23cf85.

@asvetlov I strongly recommend not doing any releases until this is addressed properly. I didn't add a change note because I hope that it'll be reverted by the time of release.

pip install -U 'pip<19' doesn't work for some reason under Windows: https://ci.appveyor.com/project/aio-libs/aiohttp/build/job/26xnep0pwnpb8ttk#L9. But that workaround at least fixed Travis CI so it's usable now.

pip install -U 'pip<19' doesn't work for some reason under Windows:

Addressed with d5d5d167c65e9b7dbeaa9769634cb5ae37dfbd8a

@pradyunsg could you please link the upstream issue here?

Yeps! pypa/pip#6144

Was this page helpful?
0 / 5 - 0 ratings