Comments (5)
Do you mean, set the value of MACOSX_DEPLOYMENT_TARGET ? That's normally done when building against Python - the flag value comes from Python's configuration, but I believe you can set this variable in your .travis.yml file, before your builds, and it should work. Did you try already?
from multibuild.
Thanks, with that flag set to 10.12 I can successfully build a wheel: macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.
Is it possible to build a wheel for 10.12?
from multibuild.
Erm - if you really set MACOSX_DEPLOYMENT_TARGET, and it worked, then that wheel should be compatible with 10.12 and above, only. I can't remember the details of how the filename gets its flags, but if it's only >= 10.12 compatible, then you can / should rename it to reflect that, in case some innocent 10.11 user tries to install it via pip.
I guess what you want to do, is set MACOSX_DEPLOYMENT_TARGET to the minimum it will build on (maybe 10.9?) and name accordingly.
from multibuild.
Here is the log for build on travis: https://travis-ci.org/google/protobuf/jobs/337078207
You can find one line is: creating build/lib.macosx-10.6-intel-2.7
On my local mac (10.12), it's 10.12-x86-64-2.7.
Is there any macro I can use to change the behavior on travis to the same as my local mac?
from multibuild.
I believe that the wheel you have built will in fact be compatible with OSX 10.9 and above. You can test that by running the tests on a travis xcode image running 10.9.
I believe therefore, that the wheel name is not a correct indicator of compatibility. Specifically, I think the 10.6 label comes from the Python.org Python installer that gets downloaded during the multibuild build.
You can just rename the wheel in your script to have platform part macosx_10_9_intel
, this should then be picked up by installing systems >= 10.9 - is that what you intend?
from multibuild.
Related Issues (20)
- Testing manylinux_2_24 HOT 6
- Move to github actions for windows, mac, linux (x86, x86_64) HOT 5
- Port CI to Github Actions HOT 8
- get_modern_cmake - version 3?
- Cent OS 5 repos gone, manylinux1 builds fail HOT 1
- Trouble building 3.10 wheels on OSX HOT 8
- Building thin arm64 wheels for MacOS 12+ HOT 5
- PLAT=x86_64 generates universal wheel for OSX & Python 3.10
- No supported wheels found for macOS arm64 HOT 1
- Recent git update has broken builds using docker images HOT 16
- Undefined symbol error with manylinux_2_28 wheel on Ubuntu 20.04 HOT 2
- LAPACK library is not found for macos builds HOT 5
- xenial_arm64v8:latest image is missing Py3.11 binary HOT 3
- Running safety prints a scary warning HOT 7
- platform = arm64 or universal2 both create x86_64 wheels HOT 1
- Use alpine 3.18 images by default for test
- python 3.11 and 3.12 builds failing on macosx and linux
- ./common_utils.sh: line 83: python: command not found HOT 4
- musllinux_1_1 is EOL, should use musllinux_1_2
- Safety is misreporting a disputed CVE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multibuild.