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

Recent Posts

Pages: [1] 2 3 ... 10
1
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,

oslevel

Known Service Packs
-------------------
7100-05-02-1810
7100-05-02-1806
7100-05-01-1731
7100-05-00-0000
7100-04-06-1806
2
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.
3
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

4
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.
5
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..
6
Did you get this working, i.e. PASS all tests?
If not, would you want my .whl?
7
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.

<snip>
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
<SNIP>
8
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)
_tag.reverse()

# 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]):
    wheel=arg.split("-")
    if not wheel[-1].startswith("aix_"):
        continue
    # have a potential tag, reverse tag for comparision
    file_tag=wheel[-1].split(".")[0].split("_")
    file_tag.reverse()

    # 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"]:
      continue

    # 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 https://github.com/aixtools/cpython - for things that can be solved via packaging (of Python).
I guess I'll do the same with https://github.com/aixtools/packaging (which is pypa (aka pip et al)) related.
9
Thanks Michael.  I'm not sure I'd have ever worked out the need for GNU tar.
10
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

dist:
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