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

macOS 11.2 M1: local build error #20

Closed
eliheuer opened this issue Jul 9, 2021 · 2 comments
Closed

macOS 11.2 M1: local build error #20

eliheuer opened this issue Jul 9, 2021 · 2 comments

Comments

@eliheuer
Copy link
Contributor

eliheuer commented Jul 9, 2021

As mentioned in this issue I can't use GitHub actions with a private repo, so I'm trying to build locally on macOS 11.2(M1).

Following the build instructions, when I try to build this repo I get the following error:

INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of fontmake to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 2) because these package versions have conflicting dependencies.

The conflict is caused by:
    fontbakery 0.7.38 depends on cmarkgfm
    fontbakery 0.7.37 depends on cmarkgfm
    fontbakery 0.7.36 depends on cmarkgfm
    fontbakery 0.7.35 depends on cmarkgfm
    fontbakery 0.7.34 depends on ttfautohint-py
    fontbakery 0.7.33 depends on ttfautohint-py
    fontbakery 0.7.32 depends on ttfautohint-py
    fontbakery 0.7.31 depends on ttfautohint-py
    fontbakery 0.7.30 depends on ttfautohint-py
    fontbakery 0.7.29 depends on ttfautohint-py
    fontbakery 0.7.28 depends on ttfautohint-py
    fontbakery 0.7.27 depends on ttfautohint-py
    fontbakery 0.7.26 depends on ttfautohint-py
    fontbakery 0.7.25 depends on ttfautohint-py
    fontbakery 0.7.24 depends on ttfautohint-py
    fontbakery 0.7.23 depends on ttfautohint-py
    fontbakery 0.7.22 depends on ttfautohint-py
    fontbakery 0.7.21 depends on ttfautohint-py
    fontbakery 0.7.20 depends on ttfautohint-py
    fontbakery 0.7.19 depends on ttfautohint-py
    fontbakery 0.7.18 depends on ttfautohint-py
    fontbakery 0.7.17 depends on ttfautohint-py
    fontbakery 0.7.16 depends on ttfautohint-py
    fontbakery 0.7.15 depends on ttfautohint-py
    fontbakery 0.7.14 depends on ttfautohint-py
    fontbakery 0.7.13 depends on ttfautohint-py
    fontbakery 0.7.12 depends on ttfautohint-py
    fontbakery 0.7.11 depends on ttfautohint-py
    fontbakery 0.7.10 depends on ttfautohint-py
    fontbakery 0.7.9 depends on ttfautohint-py
    fontbakery 0.7.8 depends on ttfautohint-py
    fontbakery 0.7.7 depends on ttfautohint-py
    fontbakery 0.7.6 depends on ttfautohint-py
    fontbakery 0.7.5 depends on ttfautohint-py
    fontbakery 0.7.4 depends on ttfautohint-py
    fontbakery 0.7.3 depends on ttfautohint-py
    fontbakery 0.7.2 depends on ttfautohint-py
    fontbakery 0.7.1 depends on ttfautohint-py
    fontbakery 0.7.0 depends on ttfautohint-py

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
make: *** [venv/touchfile] Error 1
@eliheuer
Copy link
Contributor Author

eliheuer commented Jul 9, 2021

I just tried this on macOS 10.14.6 and the build instruction worked as expected with make build.

@simoncozens
Copy link
Contributor

This is our old friend, the ttfautohint-on-M1 issue. I am working on it. We now have access to the macOS11 build environment for GitHub so should be able to generate universal binary wheels. See fonttools/ttfautohint-py#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants