Renaming OSX wheels on pypi to make them more general

In article
<CAH6Pt5r_ZP8a-8U9TLBaRvH=PBbLYKSQMsbSECa+zMnE+vRCcQ@...150...>,
Matthew Brett <matthew.brett@...149...>
wrote:

Hi,

> In article
> <CALGmxEL6geHVqGibWbUir3tovKs4KeGuW-qeTv5KMcsR40r-bQ-JsoAwUIsXosN+BqQ9rBEUg@
> public.gmane.org>,
>
>>
>> > > what is this going to do on OS-X 10.7 and 10.8 systems running
>> > > homebrew
>> > or
>> > > macports pythons? It seems this list could get pretty long!
>> >
>> Yes, it could, but this list:
>> >
>> > so we would have to add all those if we wanted to support them...
>>
>>
>>
>> > https://www.adium.im/sparkle/?year=2014&week=22&graph=bar#osVersion
>> >
>> >
>> very interesting stats! I wonder how representative those are? Makes we
>> think we can drop 32 bit support, too. Maybe the newest 2.7 py.org
>> binaries
>> could be 64 bit only. It would simplify things a bit.
>
> I hope you will not drop 32-bit support yet.. I still use it to
> distribute some Tkinter apps. All recent versions of ActiveState Tcl/Tk
> 8.5 have a nasty crashing bug that I have not found a workaround for,
> and old enough versions that don't have the bug need to run in 32-bit
> mode on Mavericks.

Do you need 32 bit support for the wheels or just for the MacPython
binaries? It's getting harder to build 32 / 64 bit universal
binaries these days...

What I need is a python, numpy, and matplotlib that support 32-bit and
(preferably) 64-bit for MacOS X 10.6 and later. I have been using
python.org python and the standard binary installers until now.

Until Mavericks I was using 64-bit mode. Unfortunately 32-bit is
required for older versions of Tcl/Tk to run under Mavericks and as I
noted, I can't use recent versions due to due to a bug (example
appended) that I've not found a workaround for.

I realize I'm in an unusual situation, and I"m not the one building the
binaries and trying to deal with the ATLAS headaches. If worst comes to
worst we can stay at the current version of numpy and matplotlib (at
least for now). Long term we should probably switch away from Tcl/TK,
though that would be a huge undertaking, or hire somebody to fix the
Tcl/Tk bug.

-- Russell

# tcl menu crash; run in wish and push the Change Font button
menu .parentMenu
menu .parentMenu.apple -tearoff 0
# the following line is optional, but shows the menu is created
.parentMenu add cascade -label Wish -menu .parentMenu.apple
font create testFont
option add "*Button.font" testFont
button .btn -text "Change Font" -command { font configure testFont -size
20 }
pack .btn
. configure -menu .parentMenu

···

On Tue, Jun 3, 2014 at 1:00 PM, Russell E. Owen > <rowen@...748...> wrote:
> Chris Barker <chris.barker@...236...> wrote:
>> On Mon, Jun 2, 2014 at 5:28 PM, Matthew Brett > >> <matthew.brett@...149...> > >> wrote:

What I need is a python, numpy, and matplotlib that support 32-bit and
(preferably) 64-bit for MacOS X 10.6 and later. I have been using
python.org python and the standard binary installers until now.

well we (that is, Matthew) have scripts that build those, so no reason not
to keep doing it.

Until Mavericks I was using 64-bit mode. Unfortunately 32-bit is
required for older versions of Tcl/Tk to run under Mavericks

kind of ironic that the latest OS doesn't end up supporting 64 bit!

I realize I'm in an unusual situation,

maybe -- but tkInter is part of the standard library, so we probably do
want to support it! If nothing else, various folks that teach Python use
the turtle module early on -- and one of the use cases for
easy-to-fine-and-install binaries is newbies...

and I'm not the one building the
binaries and trying to deal with the ATLAS headaches. If worst comes to
worst we can stay at the current version of numpy and matplotlib (at
least for now). Long term we should probably switch away from Tcl/TK,
though that would be a huge undertaking, or hire somebody to fix the
Tcl/Tk bug.

Is Tcl/Tk that unused that this isn't getting addressed? kind of Sad,
though I was never a big fan -- at least once I discovered Python...

-Chris

···

On Wed, Jun 4, 2014 at 2:12 PM, Russell E. Owen <rowen@...748...> wrote:

--

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@...236...

Hi,

What I need is a python, numpy, and matplotlib that support 32-bit and
(preferably) 64-bit for MacOS X 10.6 and later. I have been using
python.org python and the standard binary installers until now.

well we (that is, Matthew) have scripts that build those, so no reason not
to keep doing it.

Until Mavericks I was using 64-bit mode. Unfortunately 32-bit is
required for older versions of Tcl/Tk to run under Mavericks

kind of ironic that the latest OS doesn't end up supporting 64 bit!

I realize I'm in an unusual situation,

maybe -- but tkInter is part of the standard library, so we probably do want
to support it! If nothing else, various folks that teach Python use the
turtle module early on -- and one of the use cases for
easy-to-fine-and-install binaries is newbies...

Updating for those of you not on the numpy mailing list - I've
uploaded 32 / 64 bit numpy / scipy wheels to pypi, so we should be
good for 32-bit compatibility now. I hope that will continue for at
least a couple of years, because I've automated the 32 / 64 bit build
process [1] and added 32-bit tests to my scipy-stack test rig [2].

So, I think it is time to rename the matplotlib wheels as I proposed
at the beginning of the thread. I propose to do that tomorrow unless
anyone can think of a reason not to.

Cheers,

Matthew

[1] https://github.com/matthew-brett/numpy-atlas-binaries
[2] https://travis-ci.org/matthew-brett/scipy-stack-osx-testing

···

On Thu, Jun 5, 2014 at 5:18 AM, Chris Barker <chris.barker@...236...> wrote:

On Wed, Jun 4, 2014 at 2:12 PM, Russell E. Owen <rowen@...748...> wrote:

Done - please let me know if you have any problems.

Matthew

···

On Fri, Jun 20, 2014 at 12:01 PM, Matthew Brett <matthew.brett@...149...> wrote:

Hi,

On Thu, Jun 5, 2014 at 5:18 AM, Chris Barker <chris.barker@...236...> wrote:

On Wed, Jun 4, 2014 at 2:12 PM, Russell E. Owen <rowen@...748...> wrote:

What I need is a python, numpy, and matplotlib that support 32-bit and
(preferably) 64-bit for MacOS X 10.6 and later. I have been using
python.org python and the standard binary installers until now.

well we (that is, Matthew) have scripts that build those, so no reason not
to keep doing it.

Until Mavericks I was using 64-bit mode. Unfortunately 32-bit is
required for older versions of Tcl/Tk to run under Mavericks

kind of ironic that the latest OS doesn't end up supporting 64 bit!

I realize I'm in an unusual situation,

maybe -- but tkInter is part of the standard library, so we probably do want
to support it! If nothing else, various folks that teach Python use the
turtle module early on -- and one of the use cases for
easy-to-fine-and-install binaries is newbies...

Updating for those of you not on the numpy mailing list - I've
uploaded 32 / 64 bit numpy / scipy wheels to pypi, so we should be
good for 32-bit compatibility now. I hope that will continue for at
least a couple of years, because I've automated the 32 / 64 bit build
process [1] and added 32-bit tests to my scipy-stack test rig [2].

So, I think it is time to rename the matplotlib wheels as I proposed
at the beginning of the thread. I propose to do that tomorrow unless
anyone can think of a reason not to.