Date: 07-12-21  Time: 18:55 PM

Author Topic: py39  (Read 3767 times)

0 Members and 1 Guest are viewing this topic.

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #10 on: June 04, 2021, 10:10:02 AM »
Excellent, thanks.

Sorry I missed this bit:
Quote
What OS level of AIX are you running on? Just so I know my limitations.

Here's what I get on the AIX machine I am working with:
Code: [Select]
>oslevel
5.3.0.0
>oslevel -g
Fileset                                 Actual Level        Maintenance Level
-----------------------------------------------------------------------------
bos.rte                                 5.3.11.0            5.3.0.0
>oslevel -s
5300-11-01-0944

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1315
  • Karma: +0/-0
Re: py39
« Reply #11 on: June 04, 2021, 01:23:47 PM »
Ah - good I know that.

Please also give output of:

oslevel -s -q | head

It is going to be a challenge to get 3.9 to build on AIX 5.3 because I only have the "old" compiler (xlCv11).

And I need to know if you are truely only at AIX 5.3 TL11, or perhaps at AIX 5.3 TL12, but missing one or to filesets so it reports TL11

Please let me know if Python3.8 is an option!

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #12 on: June 04, 2021, 02:43:53 PM »
Sure, here's the output:
Code: [Select]
> oslevel -s -q | head
Known Service Packs
-------------------
5300-11-01-0944
5300-11-00-0000
5300-10-01-0921
5300-09-04-0920
5300-09-03-0918
5300-09-02-0849
5300-09-01-0847
5300-08-07-0920
5300-08-06-0918
5300-08-05-0846
I'm afraid this is a really outdated machine; an upgrade to AIX 7 is on the way, but my client is very slow to change. Just saying, I'm trying to get them to update Python from 2.5 (!) to the latest version.

I don't think it would be critical for my situation to have a 64-bit installation (the current one is 32-bit), personally I'd rather prioritize installing the latest version, since it may well be that the next update won't be approved before another 15 years.

Having Python 3.9.5 64-bit would be a great thing, but I'm unable to build it successfully on my client's AIX machine and if the only pre-build package available is 32-bit (who knows, so far), I'll gladly stick to that!

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1315
  • Karma: +0/-0
Re: py39
« Reply #13 on: June 05, 2021, 08:03:18 PM »
Short term, I can have Python 3.8.10 64-bit, or 3.9.5 32-bit.

I’ll have a patch in the 3.8.5 so that you can work with wheels for AIX.

p.s. I see I have to rebuild my build system. Expected everyone to be at TL12 these days. I assume probably not your call, but roughly speaking, no OS maintenance in over 10 years!
« Last Edit: June 06, 2021, 08:24:39 PM by Michael »

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #14 on: June 07, 2021, 10:18:02 AM »
Quote
Short term, I can have Python 3.8.10 64-bit, or 3.9.5 32-bit
I have consulted with other colleagues, we will probably adopt 3.9, even if only 32-bit is available at the moment.

Quote
I’ll have a patch in the 3.8.5 so that you can work with wheels for AIX

Just out of curiosity, what kind of issue would this patch fix? Are there problems with wheel building? (Also, did you mean 3.9.5?)

Quote
I assume probably not your call, but roughly speaking, no OS maintenance in over 10 years!

You're absolutely right, the maintenance is outrageously neglected. AFAIK my client is studying an upgrade to AIX 7.1 but there's a lot of apps to be ported and it will take a long time.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1315
  • Karma: +0/-0
Re: py39
« Reply #15 on: June 07, 2021, 03:38:33 PM »
I have consulted with other colleagues, we will probably adopt 3.9, even if only 32-bit is available at the moment.

Just out of curiosity, what kind of issue would this patch fix? Are there problems with wheel building? (Also, did you mean 3.9.5?)
I meant 3.9.X as it is in all Python 3.9 releases. They changed something in the init code - the bootstrap python coredumps - as I showed in an earlier post.

You're absolutely right, the maintenance is outrageously neglected. AFAIK my client is studying an upgrade to AIX 7.1 but there's a lot of apps to be ported and it will take a long time.

Maybe AIX 7.2 is better - more time as AIX 7.1 will reach end-of-support, my guess, within 3 years.
« Last Edit: June 07, 2021, 06:52:33 PM by Michael »

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #16 on: June 08, 2021, 02:59:30 PM »
Quote
They changed something in the init code - the bootstrap python coredumps - as I showed in an earlier post.

Oh, I see, I'm still not sure I'm understanding what is happening. What do you mean by init code and bootstrap?

Quote
Maybe AIX 7.2 is better - more time as AIX 7.1 will reach end-of-support, my guess, within 3 years.

With no doubt. Unfortunately I'm not in a position to even suggest such things :-)

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #17 on: June 09, 2021, 03:06:39 PM »
If I may, I would like to point out the absence of the readline module in the build: this way the Python interactive console is barely usable, since every directional input dirties the current line instead of triggering the cursor movement (no command history available either).

Is this easily fixable?

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1315
  • Karma: +0/-0
Re: py39
« Reply #18 on: June 09, 2021, 03:59:06 PM »
Fixable - yes. No one has ever asked for it before, so I'll have to build readline for AIX 5 first.

lmico

  • Jr. Member
  • **
  • Posts: 9
  • Karma: +0/-0
Re: py39
« Reply #19 on: June 09, 2021, 04:50:48 PM »
If that's not too tedious for you, that would be great to have :-)