fastdiff icon indicating copy to clipboard operation
fastdiff copied to clipboard

Install fails on Alpine linux with Python version 3.5 or higher

Open chadmckenna opened this issue 5 years ago • 4 comments

When trying to install fastdiff as a dependency for snapshottest, I get the following error:

Collecting wasmer; python_version >= "3.5" and platform_machine == "x86_64" and sys_platform == "linux" (from fastdiff>=0.1.4<1->snapshottest~=0.5.0->-r requirements.txt (line 19))
  Could not find a version that satisfies the requirement wasmer; python_version >= "3.5" and platform_machine == "x86_64" and sys_platform == "linux" (from fastdiff>=0.1.4<1->snapshottest~=0.5.0->-r requirements.txt (line 19)) (from versions: )
No matching distribution found for wasmer; python_version >= "3.5" and platform_machine == "x86_64" and sys_platform == "linux" (from fastdiff>=0.1.4<1->snapshottest~=0.5.0->-r requirements.txt (line 19))

For Alpine linux, it appears it can't compile wasmer (see https://github.com/syrusakbary/snapshottest/issues/88) and it's causing an issue. I am also able to install snapshottest when using the Alpine image with Python 3.4.

chadmckenna avatar Jul 16 '19 20:07 chadmckenna

Thanks for the ping! Will take a look into this soon

syrusakbary avatar Jul 17 '19 03:07 syrusakbary

What version of pip / setuptools are you using?

syrusakbary avatar Jul 17 '19 07:07 syrusakbary

Hey, I have the same issue, in a docker container running python:3.7-alpine getting:

[pipenv.exceptions.InstallError]: ['Collecting wasmer==0.3.0 (from -r /tmp/pipenv-hhy8w60g-requirements/pipenv-ywtfh1z1-requirement.txt (line 1))']
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement wasmer==0.3.0 (from -r /tmp/pipenv-hhy8w60g-requirements/pipenv-ywtfh1z1-requirement.txt (line 1)) (from versions: none)', 'ERROR: No matching distribution found for wasmer==0.3.0 (from -r /tmp/pipenv-hhy8w60g-requirements/pipenv-ywtfh1z1-requirement.txt (line 1))']
``

It's using pip 19.1.1.

cramshaw avatar Jul 17 '19 11:07 cramshaw

What version of pip / setuptools are you using?

I'm currently on 19.0.3.

chadmckenna avatar Jul 17 '19 12:07 chadmckenna