Opened 18 months ago

Last modified 3 months ago

#32010 new defect

GH Actions: local-macos-nohomebrew fails

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

Status badges

Description

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

Change History (8)

comment:1 Changed 16 months ago by Matthias Köppe

Milestone: sage-9.4sage-9.5

comment:2 Changed 15 months ago by Dima Pasechnik

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.

Last edited 15 months ago by Dima Pasechnik (previous) (diff)

comment:3 Changed 15 months ago by Matthias Köppe

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 15 months ago by John Palmieri

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 15 months ago by Matthias Köppe

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

comment:6 Changed 10 months ago by Frédéric Chapoton

Milestone: sage-9.5sage-9.6

bump to 9.6

comment:7 Changed 7 months ago by Matthias Köppe

Milestone: sage-9.6sage-9.7

comment:8 Changed 3 months ago by Matthias Köppe

Milestone: sage-9.7sage-9.8
Note: See TracTickets for help on using tickets.