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

GH Actions: local-macos-nohomebrew fails #32010

Open
mkoeppe opened this issue Jun 20, 2021 · 5 comments
Open

GH Actions: local-macos-nohomebrew fails #32010

mkoeppe opened this issue Jun 20, 2021 · 5 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jun 20, 2021

... because we set a too ambitious version number:

  [sage_docbuild-9.1.rc4-74948-gb249c4750f]     File "/Users/runner/work/sage/sage/.tox/local-macos-nobootstrap-minimal/local/lib/python3.9/site-packages/setuptools/config.py", line 548, in _parse_version
  [sage_docbuild-9.1.rc4-74948-gb249c4750f]       raise DistutilsOptionError(tmpl.format(**locals()))
  [sage_docbuild-9.1.rc4-74948-gb249c4750f]   distutils.errors.DistutilsOptionError: Version loaded from file: VERSION.txt does not comply with PEP 440: 9.1.rc4-74948-gb249c4750f
  [sage_docbuild-9.1.rc4-74948-gb249c4750f]   *

Component: porting

Issue created by migration from https://trac.sagemath.org/ticket/32010

@mkoeppe mkoeppe added this to the sage-9.4 milestone Jun 20, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@dimpase
Copy link
Member

dimpase commented Sep 22, 2021

comment:2

we probably need to overhaul Homebrew actions quite a bit. There are various obsolete things, e.g. a macOS version is 11.0 instead of 11, something funny with an old version 11.7 of xcode, etc...

It seems to me that Homebrew packages need explicit installation, too.

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 22, 2021

comment:3

Also, homebrew has recently (again!) broken their python3. Because they hardcode the path to the SDK sysroot, it only works when the current Xcode command line tools are installed

@jhpalmieri
Copy link
Member

comment:4

Is this why cython is failing to compile with messages like

  clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' [-Wmissing-sysroot]

(Failing with homebrew's Python 3, builds okay with /usr/bin/python3.)

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 22, 2021

comment:5

Yes, this is the symptom after a recent upgrade of homebrew.

@fchapoton
Copy link
Contributor

comment:6

bump to 9.6

@fchapoton fchapoton modified the milestones: sage-9.5, sage-9.6 Jan 29, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants