Skip to content

gh-135497: fix MAXLOGNAME detection in configure #135508

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

Merged
merged 2 commits into from
Jun 14, 2025

Conversation

alebcay
Copy link
Contributor

@alebcay alebcay commented Jun 14, 2025

@python-cla-bot
Copy link

python-cla-bot bot commented Jun 14, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Jun 14, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Please, add a NEWS entry :)

@alebcay alebcay force-pushed the fix-maxlogname-detection branch from 2326807 to 47b64df Compare June 14, 2025 14:23
Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Small nit and LGTM.

@picnixz picnixz added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jun 14, 2025
@alebcay
Copy link
Contributor Author

alebcay commented Jun 14, 2025

Thanks for the pointer, still getting the hang of things around here :)

I've filed the news entry under Library, since the original issue/PR where the getlogin change was introduced is also filed under Library. If there is a more suitable place to put it, I'm happy to move it.

@alebcay alebcay force-pushed the fix-maxlogname-detection branch from 47b64df to d835360 Compare June 14, 2025 14:25
@picnixz
Copy link
Member

picnixz commented Jun 14, 2025

I've filed the news entry under Library, since the original issue/PR where the getlogin change was introduced is also filed under Library. If there is a more suitable place to put it, I'm happy to move it.

You could add another NEWS entry under 'Build' indicating that we now correctly detect MAXLOGNAME constant (without mentioning getlogin_r). But otherwise, I think it's fine as it is.

@alebcay alebcay force-pushed the fix-maxlogname-detection branch from d835360 to 33048e9 Compare June 14, 2025 14:32
@picnixz picnixz enabled auto-merge (squash) June 14, 2025 15:47
@picnixz picnixz merged commit 2e15a50 into python:main Jun 14, 2025
35 checks passed
@miss-islington-app
Copy link

Thanks @alebcay for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 14, 2025
…GH-135508)

(cherry picked from commit 2e15a50)

Co-authored-by: Caleb Xu <calebcenter@live.com>
@bedevere-app
Copy link

bedevere-app bot commented Jun 14, 2025

GH-135516 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 14, 2025
…GH-135508)

(cherry picked from commit 2e15a50)

Co-authored-by: Caleb Xu <calebcenter@live.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jun 14, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jun 14, 2025

GH-135517 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 14, 2025
picnixz pushed a commit that referenced this pull request Jun 14, 2025
…5508) (#135517)

gh-135497: fix `MAXLOGNAME` detection in `configure.ac` (GH-135508)
(cherry picked from commit 2e15a50)

Co-authored-by: Caleb Xu <calebcenter@live.com>
picnixz pushed a commit that referenced this pull request Jun 14, 2025
…5508) (#135516)

gh-135497: fix `MAXLOGNAME` detection in `configure.ac` (GH-135508)
(cherry picked from commit 2e15a50)

Co-authored-by: Caleb Xu <calebcenter@live.com>
shuimu5418 pushed a commit to shuimu5418/cpython001 that referenced this pull request Jun 16, 2025
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.

3 participants