fastdiff
fastdiff copied to clipboard
Install fails on Alpine linux with Python version 3.5 or higher
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.
Thanks for the ping! Will take a look into this soon
What version of pip / setuptools are you using?
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.
What version of pip / setuptools are you using?
I'm currently on 19.0.3.