Dvc: build: binary packages failing due to google-resumable-media

Created on 27 Aug 2019  路  9Comments  路  Source: iterative/dvc

Most helpful comment

could it be related to google-resumable-media[requests] not being parsed correctly as google-resumable-media; requests >= 2.18.0, < 3.0.0dev?

googleapis/[email protected]/setup.py#L31

All 9 comments

It installs for me locally.

@Suor * sorry, couldn't resist * :slightly_smiling_face:
image

Managed to reproduce problem on my machine. Seems to me like script is trying to build dvc using base python located on machine, rather than currently used environment. Don't know why yet.

EDIT:
build_posix.sh uses pyinstaller from /usr/local/bin/pyinstaller instead of the one from venv.

EDIT2:
initial conclusions were wrong, seems like its right python

to reproduce, run scirpts/build_posix.sh as super user

could it be related to google-resumable-media[requests] not being parsed correctly as google-resumable-media; requests >= 2.18.0, < 3.0.0dev?

googleapis/[email protected]/setup.py#L31

Forcing google-resumable-media==0.3.2 in setup seems to solve the problem.

Need to fix case with 0.3.3 version.

This was closed by #2454 , isn't it?

@mroutis No, that was a workaround. We still need to solve it properly, most likely, by fixing the pyinstaller.

FIxed by #2449

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shcheklein picture shcheklein  路  3Comments

gregfriedland picture gregfriedland  路  3Comments

dnabanita7 picture dnabanita7  路  3Comments

GildedHonour picture GildedHonour  路  3Comments

mdscruggs picture mdscruggs  路  3Comments