Date: 02-07-20  Time: 08:28 AM

Recent Posts

Pages: [1] 2 3 ... 10
AIXTOOLS / Re: Python and wheels continuing story
« Last post by raghugr on Today at 07:54:25 AM »
Thank you again Michael. I did install the packages from aixtools. I will have a word with our admin if it is the same as they have been trying to resolve the issues I got with installing numpy,


Known Service Packs
AIXTOOLS / Re: Python and wheels continuing story
« Last post by Michael on Today at 05:23:36 AM »
OK. I'll have to build it seperately. Do not have it for py37 yet.
p.s. - what is the oslevel your run on? (oslevel -s -q | head -5).
p.p.s. I assume you are using my packaging of Python.
AIXTOOLS / Re: Python and wheels continuing story
« Last post by raghugr on Yesterday at 09:46:41 PM »
Thank you again Michael for your reply..

Python 3.7 is what I got installed. Below are the list of packages. My end goal is to have pandas. I hope once I have numpy installed, should have pandas issues corrected. Please advise if not so. I am novice to the AIX world.

bcrypt       3.1.7
cffi         1.13.2
cryptography 2.8
Cython       0.29.20
paramiko     2.6.0
pip          20.1.1
pycparser    2.19
PyNaCl       1.3.0
setuptools   40.8.0
six          1.13.0
wheel        0.34.2

AIXTOOLS / Re: Python and wheels continuing story
« Last post by Michael on Yesterday at 08:21:45 PM »
Not tonight - at least I don't think so.
Which version of Python are you using? As wheels are - usually - Python version dependent.
AIXTOOLS / Re: Python and wheels continuing story
« Last post by raghugr on Yesterday at 08:17:04 PM »
Michael this is great. I have been trying to do this on the aix but to no avail.. Can I get this numpy wheel package hosted as I am not able to compile on our aix 7.1..
Did you get this working, i.e. PASS all tests?
If not, would you want my .whl?
Thank you ever so much time for your guidance Michael!

Not working for me quite yet.  I shall try again from the top following the steps you ran.

PASS: core_ristretto255
ERROR: pwhash_scrypt
ERROR: pwhash_scrypt_ll
PASS: scalarmult_ed25519
PASS: scalarmult_ristretto255
PASS: siphashx24
PASS: xchacha20
Testsuite summary for libsodium 1.0.18
# TOTAL: 77
# PASS:  75
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2
Maybe this helps - having a clean build system (that can be trashed, as the Try and Buy compiler can not be reinstalled - they hide it's history that it was installed "somewhere")
especially with a build systems that is "lowest level" supported by your environment!
Build there (as wheels), then rename (aka link) on the target host using this first draft -
Code: [Select]
#!/usr/bin/env python3
Examine arguments for aix pep425 tags
and propose ln (link) commands to give a new name
to an existing wheel for AIX.

Copyright 2020 by AIXTOOLS.NET, Michael Felt

import sys, glob, sysconfig

# save runttime-tag and reverse a copy for comparision
rt_tag = sysconfig.get_platform().split("-")
_tag = list(rt_tag)

# loop through all arguments and look for a AIX tags
for idx in range(1,len(sys.argv)):
  for arg in glob.glob(sys.argv[idx]):
    if not wheel[-1].startswith("aix_"):
    # have a potential tag, reverse tag for comparision

    # if the tags are equal, or they are not 32-bit|64-bit - continue
    if (_tag == file_tag) or _tag[0] not in ["32", "64"]:

    # if the running tag is greater AND same bit-size link names
    elif (_tag > file_tag) and _tag[0] == file_tag[0]:
      wheel[-1] = "_".join(rt_tag) + ".whl"
      print("ln {} {}".format(arg, "-".join(wheel)))
And, as I am looking at a more economical way to support aixtools - I am going to experiment, at least as far as python goes - with opening issues on - for things that can be solved via packaging (of Python).
I guess I'll do the same with (which is pypa (aka pip et al)) related.
Thanks Michael.  I'm not sure I'd have ever worked out the need for GNU tar.
Actually, it looks successful...
Code: [Select]
(py38) root@x065:[/data/prj/python/py38/download/PyNaCl-1.4.0]ls -l ../*.gz dist
-rw-r--r--   1 root     felt        3416950 Jun 27 08:56 ../PyNaCl-1.4.0.tar.gz
-rw-r--r--   1 root     felt         463065 Jun 27 08:56 ../cffi-1.14.0.tar.gz

total 7184
-rw-r--r--   1 root     system       256173 Jun 27 09:25 PyNaCl-1.4.0-cp38-cp38-aix_5307_0747_64.whl
-rw-r--r--   1 root     system      3415014 Jun 27 09:23 PyNaCl-1.4.0.tar.gz
So, I'll rename the cffi and PyNaCl wheels and install them on my test server.
Pages: [1] 2 3 ... 10