Skip to content

macOS wheels don't work on macOS 10.12 #1026

Closed
@RazerM

Description

@RazerM

The wheels report 10.9+ compatibility but don't work on 10.12. The same error happens for the 1.2.0 and 1.2.1 wheels:

Python 3.7.1 (default, Apr  7 2020, 18:00:22)
[Clang 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygit2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...lib/python3.7/site-packages/pygit2/__init__.py", line 30, in <module>
    from ._pygit2 import *
ImportError: dlopen(...lib/python3.7/site-packages/pygit2/_pygit2.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: ...lib/python3.7/site-packages/pygit2/.dylibs/libgit2.1.0.0.dylib
  Expected in: /usr/lib/libSystem.B.dylib
 in ...lib/python3.7/site-packages/pygit2/.dylibs/libgit2.1.0.0.dylib

I guess they use a symbol from a newer libSystem.

(I know the workaround is to do pip install --no-binary pygit2 pygit2).

In case it's related, see pyca/cryptography#5215 and pyca/infra#275

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions