-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
tox.ini: Add local-macos-nohomebrew environments, deployment targets 10.14, 10.15, 11.1 #31567
Comments
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Commit: |
Author: Matthias Koeppe |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:8
This is best tested together with #31552, #31562, which do some of the necessary isolation work. More isolation work is needed at least for |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
pillow still finds various libraries in |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:24
Fixed pillow. Now I can build a wheel in #31396 that does not have any dependencies on shared libraries in |
comment:25
For what it's worth, I see a few suspicious items in the log files. (This is on a system with homebrew and with
|
comment:26
The xz include is on purpose -- see comment added in |
comment:27
Replying to @jhpalmieri:
Yes, this a good setting for testing this ticket. The build using tox is designed to be isolated from the effects of
This is probably https://github.com/cvxopt/cvxopt/blob/master/setup.py#L55 in combination with a bug in our build system - #31584. |
Reviewer: John Palmieri |
comment:30
Okay, this looks good to me. |
comment:31
Thanks! |
comment:32
By the way, should commands like |
comment:33
I think it should not because |
comment:34
That makes sense. Maybe I need to learn more about tox. What command should I use if I want to restart |
comment:35
Replying to @jhpalmieri:
That works, but you can also pass the |
comment:36
Great, thanks! |
Changed branch from u/mkoeppe/tox_ini__add_local_macos_nohomebrew_environments to |
This will do a "best effort" isolation to avoid using a homebrew installation in
/usr/local
for anything except bootstrapping and unpacking xz tarballs + a little trick for liblzma.h, which is missing on macOS.To test:
It can then be checked that no libraries from /usr/local leak in, using
(Building R is disabled because the R package build still pokes around in /usr/local and finds libintl and liblzma.)
To set specific deployment targets, use:
... and with python3.7 from XCode:
(Remove
config.status
from the end of these lines to have the actual build done.)These environments allow building Sage for older macOS versions, for example for building a 10.14 distribution on a 10.15 machine. The wheels are then correctly tagged, for example
pplpy-0.8.6-cp38-cp38-macosx_10_14_x86_64.whl
.Cannot go in the opposite direction (building for 11 on a 10.15 machine) -- because pip will refuse to install a previously built wheel that is tagged for 11.)
Depends on #31552
Depends on #31562
Depends on #31409
Depends on #31584
CC: @jhpalmieri @zlscherr
Component: porting
Author: Matthias Koeppe
Branch/Commit:
ed1a089
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/31567
The text was updated successfully, but these errors were encountered: