SpectoLabs / hoverpy

Python library for Hoverfly (now obsolete)
Apache License 2.0
79 stars 9 forks source link

Hoverpy does not run on M1 machines #20

Open mjlabe opened 1 year ago

mjlabe commented 1 year ago

I have Hoverfly installed and I am trying to run the example test, but I get:

DOWNLOADING HOVERFLY FROM https://github.com/SpectoLabs/hoverfly/releases/download/v0.10.1/hoverfly_bundle_OSX_arm64.zip TO /tmp/tmpha1omii0 Same thing with docker:

DOWNLOADING HOVERFLY FROM https://github.com/SpectoLabs/hoverfly/releases/download/v0.10.1/hoverfly_bundle_linux_aarch64.zip TO /tmp/tmphd3cg4ph

hoverfly --version v1.5.2

I am trying to run this script: https://docs.hoverfly.io/en/latest/pages/bindings/python.html

The pip package is installed: hoverpy 0.2.2 hoverpy-0.2.2-py3.10.egg-info

I also tried following the installation instructions here: https://github.com/SpectoLabs/hoverpy/blob/master/docs/pages/installation.rst

And received essentially the same error when running python setup.py test:

DOWNLOADING HOVERFLY FROM https://github.com/SpectoLabs/hoverfly/releases/download/v0.10.1/hoverfly_bundle_OSX_arm64.zip TO /var/folders/fp/v5mqcc0x1d92j597l1qgw7hr0000gp/T/tmp0o7l12f3

It successfully downloaded with --platform linux/amd64.

Python 3.10 (Mac, brew installed), 3.11 (Docker), M1 Mac

eltioemil commented 5 months ago

Had the same issue, but came here and this project looks abandoned. The problem is that this version doesn't have an arm build, so it fails when it tries to download it.