urschrei / simplification

Very fast Python line simplification using either the RDP or Visvalingam-Whyatt algorithm implemented in Rust
Other
168 stars 18 forks source link

Simplification build for arm64 python docker image #23

Closed Pitirus closed 1 year ago

Pitirus commented 2 years ago

Is there a possibility to get a python package for arm64 python docker image? I'm working on M1 Mac and all of our services are containerized. To reproduce (on M1 Macs) you can use following commands:

docker run -it --entrypoint bash python
# then inside the container
pip install simplification

I get following output:

ERROR: Could not find a version that satisfies the requirement simplification (from versions: none)
ERROR: No matching distribution found for simplification
urschrei commented 2 years ago

Last time I checked, there wasn't a suitable arm64 manylinux docker image available to build https://github.com/urschrei/rdp, which is a blocker, unfortunately.

urschrei commented 2 years ago

No progress on the Docker image, but 0.5.22 has just been released, which I hope works correctly on M1: https://pypi.org/project/simplification/0.5.22

Please try it and let me know.

Pitirus commented 2 years ago

Doesn't work for me. In the simple PyPI index link I can't see wheel for manylinux2014_aarch64

image

urschrei commented 2 years ago

There hasn't been any progress on an aarch64 Linux wheel. arm64 is currently only supported on macOS.