OS-X builds for 3.7.0
Ned, It looks like you're still building OS-X the same way as in the past: Intel 32+64 bit, 10.6 compatibility Is that right? Might it be time for an update? Do we still need to support 32 bit? From: https://apple.stackexchange.com/questions/99640/how-old-are-macs-that-cannot... There has not been a 32 bit-only Mac sold since 2006, and a out-of the box 32 bit OS since 2006 or 2007 I can't find out what the older OS version Apple supports, but I know my IT dept has been making me upgrade, so I"m going to guess 10.8 or newer... And maybe we could even get rid of the "Framework" builds...... -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov
On Tue, Jan 30, 2018 at 5:42 PM, Chris Barker <chris.barker@noaa.gov> wrote:
Ned,
It looks like you're still building OS-X the same way as in the past:
Intel 32+64 bit, 10.6 compatibility
Is that right?
Might it be time for an update?
Do we still need to support 32 bit? From:
https://apple.stackexchange.com/questions/99640/how-old-are-macs-that-cannot...
There has not been a 32 bit-only Mac sold since 2006, and a out-of the box 32 bit OS since 2006 or 2007
I can't find out what the older OS version Apple supports, but I know my IT dept has been making me upgrade, so I"m going to guess 10.8 or newer...
And maybe we could even get rid of the "Framework" builds......
While we're making such macOS-build requests, any chance of building a static interpreter too? We've been doing that on the Anaconda Distribution since the 5.0 release in September and it seems to be working well.
-CHB
--
Christopher Barker, Ph.D. Oceanographer
Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/mingw.android%40gmail.com
On Tue, Jan 30, 2018 at 6:50 PM, Ray Donnelly <mingw.android@gmail.com> wrote:
While we're making such macOS-build requests, any chance of building a static interpreter too? We've been doing that on the Anaconda Distribution since the 5.0 release in September and it seems to be working well.
PyPy is also currently eyeing doing their macOS builds better: https://bitbucket.org/pypy/pypy/issues/2734/establish-a-build-and-release-pi... What do the Anaconda static builds get built on? -- Joni Orponen
On Tue, Jan 30, 2018 at 09:42:07AM -0800, Chris Barker wrote:
IT dept has been making me upgrade, so I"m going to guess 10.8 or newer...
OSX is in a sad state linking to system libs on the later releases -- maybe 10.11 and on, not sure of the exact release -- they stopped shipping the headers for things like ssl and ffi since they don't want 3rd parties linking to deprecated versions of those libraries versus, in the case of ssl, their newer security framework. Recommendation is to bundle what you need if you're not using the framework -- something to think about. thx m -- Matt Billenstein matt@vazor.com http://www.vazor.com/
On Tue, Jan 30, 2018 at 7:08 PM, Matt Billenstein <matt@vazor.com> wrote:
OSX is in a sad state linking to system libs on the later releases -- maybe 10.11 and on, not sure of the exact release -- they stopped shipping the headers for things like ssl and ffi since they don't want 3rd parties linking to deprecated versions of those libraries versus, in the case of ssl, their newer security framework. Recommendation is to bundle what you need if you're not using the framework -- something to think about.
There are also some practical issues with trying to distribute software using some deprecated Cocoa APIs or weak linked syscalls. The pythonmac-sig thead I linked to earlier has pointers to how to flare those up if one ever needs to distribute Python to a specific macOS version target range while compiling on a newer macOS. It would be nice to do more things the Apple way, including porting to modern runtime feature availability check cascades of the Cocoa APIs and using the Apple provided system Frameworks. This seems like a rather major workload and should be targeting 3.8. I'm willing to participate in that effort. The availability of syscalls across targets when cross-compiling for an older target is a more generic build system problem and I'm not sure if Python should do anything other than just document it being a thing. I'm personally fine patching pyconfig.h after running the configure script for this special case. As suggested on pythonmac-sig, I'd like to see 10.11 get chosen as the macOS to build on as it provides a decent balance between hardware compatibility and being new(er). -- Joni Orponen
It would be nice to do more things the Apple way, including porting to modern runtime feature availability check cascades of the Cocoa APIs and using the Apple provided system Frameworks. This seems like a rather major workload and should be targeting 3.8.
Yeah — too much to do for 3.7 at this stage. But what about dropping 32 bit and maybe bumping the OS up? Maybe 10.11 is too new, but something newer than 10.6? Or maybe 10.11 is a good target — looks like it’s been around 2+ years, and Apple now provides free updates. -CHB
On Tue, Jan 30, 2018 at 6:42 PM, Chris Barker <chris.barker@noaa.gov> wrote:
And maybe we could even get rid of the "Framework" builds......
Please do not. These make life easier for doing things the Apple way for signed sandboxed applications. Joining the discussion here from a ~cross-post on pythonmac-sig: https://mail.python.org/pipermail/pythonmac-sig/2018-January/024283.html -- Joni Orponen
And maybe we could even get rid of the "Framework" builds......
Please do not. These make life easier for doing things the Apple way for signed sandboxed applications. Thanks — good to hear there is a good reason for them. I’ve always thought that Frameworks were designed with other use-casss, and didn’t really help with Python. For the record, are you re-distributing the python.org builds, or re-building yourself? -CHB Joining the discussion here from a ~cross-post on pythonmac-sig: https://mail.python.org/pipermail/pythonmac-sig/2018-January/024283.html -- Joni Orponen _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/chris.barker%40noaa.gov
On Wed, Jan 31, 2018 at 12:43 AM, Chris Barker - NOAA Federal < chris.barker@noaa.gov> wrote:
And maybe we could even get rid of the "Framework" builds......
Please do not. These make life easier for doing things the Apple way for signed sandboxed applications.
Thanks — good to hear there is a good reason for them. I’ve always thought that Frameworks were designed with other use-casss, and didn’t really help with Python.
For the record, are you re-distributing the python.org builds, or re-building yourself?
We are re-building ourselves. Seems we've cooked up something not too unsimilar to what Anaconda is doing, but less generic and covering less corner cases. -- Joni Orponen
On Wed, Jan 31, 2018 at 3:13 AM, Joni Orponen <j.orponen@4teamwork.ch> wrote:
On Wed, Jan 31, 2018 at 12:43 AM, Chris Barker - NOAA Federal < chris.barker@noaa.gov> wrote:
And maybe we could even get rid of the "Framework" builds......
Please do not. These make life easier for doing things the Apple way for signed sandboxed applications.
For the record, are you re-distributing the python.org builds, or re-building yourself?
We are re-building ourselves.
Then it makes no difference to you if the pyton.org binaries are Framework builds... though maybe you want the configure target available. -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chris.Barker@noaa.gov
On Thu, Feb 1, 2018 at 12:18 AM, Chris Barker <chris.barker@noaa.gov> wrote:
On Wed, Jan 31, 2018 at 3:13 AM, Joni Orponen <j.orponen@4teamwork.ch> wrote:
On Wed, Jan 31, 2018 at 12:43 AM, Chris Barker - NOAA Federal < chris.barker@noaa.gov> wrote:
And maybe we could even get rid of the "Framework" builds......
Please do not. These make life easier for doing things the Apple way for signed sandboxed applications.
For the record, are you re-distributing the python.org builds, or re-building yourself?
We are re-building ourselves.
Then it makes no difference to you if the pyton.org binaries are Framework builds... though maybe you want the configure target available.
And if the official distribution distributes a Framework, the configure target and build for that are also actually maintained, which will keep them likelier usable. Would we not be doing a couple of very specific things, we'd be able to use the distributed Framework as well. It is not unconceivable we could use it as-is in the future or for other projects. -- Joni Orponen
On 30 Jan 2018, at 18:42, Chris Barker <Chris.Barker@noaa.gov> wrote:
Ned,
It looks like you're still building OS-X the same way as in the past:
Intel 32+64 bit, 10.6 compatibility
Is that right?
Might it be time for an update?
Do we still need to support 32 bit? From:
https://apple.stackexchange.com/questions/99640/how-old-are-macs-that-cannot... <https://apple.stackexchange.com/questions/99640/how-old-are-macs-that-cannot...>
There has not been a 32 bit-only Mac sold since 2006, and a out-of the box 32 bit OS since 2006 or 2007
I can't find out what the older OS version Apple supports, but I know my IT dept has been making me upgrade, so I"m going to guess 10.8 or newer…
A binary with a newer deployment target than 10.6 would be nice because AFAIK the installers are still build on a system running that old version of OSX. This results in binaries that cannot access newer system APIs like openat (and hence don’t support the “dir_fd” parameter in a number of function in the os module.
And maybe we could even get rid of the "Framework" builds……
Why? IMHO Framework builds are a nice way to get isolated side-by-side installations. Furthermore a number of Apple APIs (including the GUI libraries) don’t work unless you’re running from an application bundle, which the framework builds arranges for and normal unix builds don’t. Ronald
participants (6)
-
Chris Barker
-
Chris Barker - NOAA Federal
-
Joni Orponen
-
Matt Billenstein
-
Ray Donnelly
-
Ronald Oussoren