Skip to content

Add _AIX_platforms() to provide a workable tag for AIX #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aixtools opened this issue Aug 25, 2019 · 3 comments
Open

Add _AIX_platforms() to provide a workable tag for AIX #188

aixtools opened this issue Aug 25, 2019 · 3 comments

Comments

@aixtools
Copy link

aixtools commented Aug 25, 2019

The distutils.util.get_platform() is insufficient for AIX, e.g., it does not provide any idea of bitness.

AIX has, built-in, support for binary compatibility from old to new - so the tag needs to include sufficient detail to know if a potential package is older, the same, or newer than the current running environment.

The proposed tag is:
"AIX-{:04d}-{:04d}-{:2d}".format(vrtl,builddate,bitsize)

where vrtl is the Version,Release,Technology_Level; builddate is the AIX builddate of bos.mp64, and bitsize is 32 if sys.maxsize == 2147483647

@chrahunt
Copy link
Member

Related to pypa/pip#6922.

@pradyunsg
Copy link
Member

Yet Another Repository

Yea, that's the problem packaging.tags is meant to solve. Until the related tooling adopts it though, it is YAR, as you point out.

p.s. - will this also be used by pypa/wheel - to replaec the pep425tags support there?

Yes. packaging.tags is the intended replacement for pep425tags.py files in all these projects.

@pradyunsg
Copy link
Member

There's a broader discussion happening about this at pypa/pip#6922 (comment).

@aixtools aixtools changed the title Add _aix_platforms() to provide a workable tag for AIX Add _AIX_platforms() to provide a workable tag for AIX Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants