-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-36210: correct logic in setup.py for optional extensions with regard to AIX #12202
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
Conversation
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. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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 |
I have made the requested changes; please review again |
Thanks for making the requested changes! @ncoghlan: please review the changes made to this pull request. |
* 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
Added #16376 as backport. |
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
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