Skip to content

bpo-32521: nis libnsl#5190

Merged
tiran merged 1 commit into
python:masterfrom
tiran:nis_libnsl
Jan 26, 2018
Merged

bpo-32521: nis libnsl#5190
tiran merged 1 commit into
python:masterfrom
tiran:nis_libnsl

Conversation

@tiran

@tiran tiran commented Jan 15, 2018

Copy link
Copy Markdown
Member

The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue32521

@stratakis

Copy link
Copy Markdown
Contributor

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).

Comment thread setup.py Outdated

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be version 2.26. Relevant changes
here and here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"nismodule" => "nis module"?

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

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.

Comment thread setup.py Outdated

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member

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>
@tiran

tiran commented Jan 26, 2018

Copy link
Copy Markdown
Member Author

@vstinner please review again

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@tiran tiran merged commit 29a7df7 into python:master Jan 26, 2018
@bedevere-bot

Copy link
Copy Markdown

@web-flow: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6.
🐍🍒⛏🤖

@tiran tiran deleted the nis_libnsl branch January 26, 2018 22:28
@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @tiran, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 29a7df78277447cf6b898dfa0b1b42f8da7abc0c 3.6

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @tiran, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 29a7df78277447cf6b898dfa0b1b42f8da7abc0c 2.7

tiran added a commit to tiran/cpython that referenced this pull request Jan 26, 2018
The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 29a7df7)
tiran added a commit to tiran/cpython that referenced this pull request Jan 26, 2018
The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 29a7df7)
@bedevere-bot

Copy link
Copy Markdown

GH-5352 is a backport of this pull request to the 3.6 branch.

tiran added a commit to tiran/cpython that referenced this pull request Jan 26, 2018
The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 29a7df7)
@bedevere-bot

Copy link
Copy Markdown

GH-5353 is a backport of this pull request to the 2.7 branch.

@bedevere-bot

Copy link
Copy Markdown

@tiran: Please replace # with GH- in the commit message next time. Thanks!

tiran added a commit that referenced this pull request Jan 27, 2018
* bpo-32521: nis libnsl (#5190)

The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 29a7df7)
tiran added a commit that referenced this pull request Jan 27, 2018
The nismodule is now compatible with new libnsl and headers location

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 29a7df7)
@mingwandroid

mingwandroid commented Apr 26, 2018

Copy link
Copy Markdown
Contributor

This breaks macOS.

edit: Apologies, this is more likely a local issue with our build tooling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants