pypa / pypa/packaging

Add _AIX_platforms() to provide a workable tag for AIX

Open
#188 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement packaging.tags
Dominant language
Python
Stars
751
Forks
324
Avg merge
12h 58m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with distutils.util.get_platform() and trace how platform tags are produced. Determine how AIX exposes the Version, Release, Technology Level, bos.mp64 build date, and bitness needed for the proposed AIX-{:04d}-{:04d}-{:2d} tag. Done means AIX receives a workable tag that distinguishes compatible environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.