-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
bpo-32521: nis libnsl #5190
bpo-32521: nis libnsl #5190
Conversation
Backported the PR to the Fedora build of python3 and I can confirm that the nis module compiles successfully after adding the appropriate packages, where the headers reside now, as BuildRequires (libnsl2-devel and libtirpc-devel). |
setup.py
Outdated
library_dirs = [] | ||
includes_dirs = [] | ||
|
||
# Latest glibc has moved Sun RPC headers into tircp and nsl sub |
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.
Would you mind to document the version in which the chanhe was made?
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.
Add maybe also "bpo-32521: " prefix to add even more context.
@@ -0,0 +1 @@ | |||
The nismodule is now compatible with new libnsl and headers location. |
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.
Again, would you mind to mention the glibc version here?
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.
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.
"nismodule" => "nis module"?
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.
LGTM, but a few remaining nit picks.
setup.py
Outdated
library_dirs = [] | ||
includes_dirs = [] | ||
|
||
# glibc has deprecated Sun RPC for some time. Fedora 28 moved |
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.
You may add "bpo-32521: " prefix here.
@@ -0,0 +1 @@ | |||
The nismodule is now compatible with new libnsl and headers location. |
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.
"nismodule" => "nis module"?
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>
@vstinner please review again |
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.
LGTM.
@web-flow: Please replace |
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6. |
Sorry, @tiran, I could not cleanly backport this to |
Sorry, @tiran, I could not cleanly backport this to |
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 29a7df7)
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 29a7df7)
GH-5352 is a backport of this pull request to the 3.6 branch. |
The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 29a7df7)
GH-5353 is a backport of this pull request to the 2.7 branch. |
@tiran: Please replace |
This breaks macOS. edit: Apologies, this is more likely a local issue with our build tooling. |
The nismodule is now compatible with new libnsl and headers location
Signed-off-by: Christian Heimes christian@python.org
https://bugs.python.org/issue32521