Opened 12 months ago
Last modified 8 weeks 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: |
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 (7)
comment:1 Changed 10 months ago by
- Milestone changed from sage-9.4 to sage-9.5
comment:2 Changed 9 months ago by
comment:3 Changed 9 months ago by
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 9 months ago by
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 9 months ago by
Yes, this is the symptom after a recent upgrade of homebrew.
comment:7 Changed 8 weeks ago by
- Milestone changed from sage-9.6 to sage-9.7
Note: See
TracTickets for help on using
tickets.
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.