Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-36210: correct logic in setup.py for optional extensions with regard to AIX #12202
Conversation
…rses
This comment has been minimized.
This comment has been minimized.
Question: what is the current status of spwd module in Python? Is this something I should look at seeing if I can emulate in AIX (i.e., not using getspent() etc, functions, but the AIX ones for accessing shadow information). I thought I heard that spwd will be removed - sometime. If spwd is going to stay forever, then the missing announcement may be useful, but asis, it is just some noise. |
This comment has been minimized.
This comment has been minimized.
|
This mostly seems fine to me, but I'd prefer to update the curses_panel logic to make it more obviously free of potential side effects on other platforms. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jun 21, 2019
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
This comment has been minimized.
This comment has been minimized.
I have made the requested changes; please review again |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Jun 21, 2019
Thanks for making the requested changes! @ncoghlan: please review the changes made to this pull request. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Jun 21, 2019
* Switch to officially supported curses from 3rd-party ASIS supported ncurses * stop saying optional modules osaudiodev and spwd are missing on AIX Patch by M.Felt
…ythonGH-12202) patch by M Felt
This comment has been minimized.
This comment has been minimized.
Added #16376 as backport. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Sep 25, 2019
GH-16376 is a backport of this pull request to the 3.8 branch. |
* Switch to officially supported curses from 3rd-party ASIS supported ncurses * stop saying optional modules osaudiodev and spwd are missing on AIX Patch by M.Felt
aixtools commentedMar 6, 2019
•
edited
There are three optional modules that either will never exist (spwd and osaudiodev) or would build correctly if the OS provided library was preferred rather than an optionally installed, non-supported 3rd-party library (ncurses).
This PR sets AIX to build _curses against the IBM supported /usr/lib/libcurses.a and skip the optional _cursus_panel.
setup.py no longer says _spwd and _osaudiodev are missing (something) when building for AIX
https://bugs.python.org/issue36210