bpo-43666: Lib/_aix_support.py routines may fail in a WPAR environment (GH-25095) (#25880)

Since WPAR and LPAR both have a builddate for teh fileset bos.rte
The name of the fileset checked is modified.
To prevent a similiar situation (no builddate in ODM) a value
sufficient for pep425 activity if retrieved buildate is zero or NULL
Patch by M Felt.
(cherry picked from commit 5017cde20e)

Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-05-04 02:00:47 -07:00 committed by GitHub
parent 7ec94cdd1f
commit 7a92beea2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 12 deletions

View file

@ -0,0 +1,6 @@
AIX: `Lib/_aix_support.get_platform()` may fail in an AIX WPAR.
The fileset bos.rte appears to have a builddate in both LPAR and WPAR
so this fileset is queried rather than bos.mp64.
To prevent a similiar situation (no builddate in ODM) a value (9988)
sufficient for completing a build is provided.
Patch by M Felt.