Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
public opened this issue Jul 19, 2021 · 1 comment
Labels
cbc-platform Related to cbc and platform/architecture specific issue pip Everything that is around pip

Comments

@public
Copy link

public commented Jul 19, 2021

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
@gewesp
Copy link

gewesp commented Mar 4, 2022

In case you're wondering how to make it work on a Mac M1, see my comment here: #165 (comment)

@sebheger sebheger added pip Everything that is around pip cbc-platform Related to cbc and platform/architecture specific issue labels Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cbc-platform Related to cbc and platform/architecture specific issue pip Everything that is around pip
Projects
None yet
Development

No branches or pull requests

3 participants