python-mip icon indicating copy to clipboard operation
python-mip copied to clipboard

wheel on PyPI is marked as the "any" platform but is actually platform specific

Open public opened this issue 4 years ago • 1 comments

Describe the bug

The published .whl file is mip-1.13.0-py3-none-any.whl. The any is intended to indicate that this is a pure Python, platform agnostic wheel that will work anywhere.

This is not actually the case and it will not work a wide variety of platforms. For example on any non-x86-64 system such as a new M1 MacBook Pro etc. (But also musl libc based Linuxes like Alpine.)

To Reproduce

Have an M1 MacBook Pro. Install mip. It will fail to load the dynamic library for cbc when trying to solve.

Expected behavior

You are either forced for build cbc from source or a binary is actually available for ARM.

Desktop (please complete the following information):

  • Operating System, version: MacOS
  • Python version: 3.9
  • Python-MIP version (we recommend you to test with the latest version): 1.13.0

public avatar Jul 19 '21 15:07 public

In case you're wondering how to make it work on a Mac M1, see my comment here: https://github.com/coin-or/python-mip/issues/165#issuecomment-1058946026

gewesp avatar Mar 04 '22 08:03 gewesp