Opened 14 months ago

Last modified 4 months ago

#32010 new defect

GH Actions: local-macos-nohomebrew fails

Reported by: mkoeppe Owned by:
Priority: minor Milestone: sage-9.7
Component: porting Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


... 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/", 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]   *

Change History (7)

comment:1 Changed 12 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

comment:2 Changed 11 months ago by dimpase

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...

Version 0, edited 11 months ago by dimpase (next)

comment:3 Changed 11 months ago by mkoeppe

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

comment:4 Changed 11 months ago by jhpalmieri

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.)

comment:5 Changed 11 months ago by mkoeppe

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

comment:6 Changed 7 months ago by chapoton

  • Milestone changed from sage-9.5 to sage-9.6

bump to 9.6

comment:7 Changed 4 months ago by mkoeppe

  • Milestone changed from sage-9.6 to sage-9.7
Note: See TracTickets for help on using tickets.