Skip to content
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

gh-118876: Set ns.temp before invoking its is_absolute method #118880

Merged
merged 1 commit into from
May 13, 2024

Conversation

i-shenl
Copy link
Contributor

@i-shenl i-shenl commented May 10, 2024

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.

@i-shenl i-shenl requested a review from a team as a code owner May 10, 2024 06:15
Copy link

cpython-cla-bot bot commented May 10, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

bedevere-app bot commented May 10, 2024

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.

Comment on lines -628 to -629
# Put temp on a Dev Drive for speed if we're copying to one.
# If not, the regular temp dir will have to do.
Copy link
Member

Choose a reason for hiding this comment

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

Can you move this as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@bedevere-app
Copy link

bedevere-app bot commented May 10, 2024

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.

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
@bedevere-app
Copy link

bedevere-app bot commented May 10, 2024

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.

@zooba zooba merged commit d8a82cc into python:main May 13, 2024
33 checks passed
@zooba zooba added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels May 13, 2024
@miss-islington-app
Copy link

Thanks @i-shenl for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @i-shenl for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 13, 2024
…nGH-118880)

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cc)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 13, 2024
…nGH-118880)

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cc)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
@bedevere-app
Copy link

bedevere-app bot commented May 13, 2024

GH-118994 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label May 13, 2024
@bedevere-app
Copy link

bedevere-app bot commented May 13, 2024

GH-118995 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 May 13, 2024
zooba pushed a commit that referenced this pull request May 13, 2024
Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cc)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
zooba pushed a commit that referenced this pull request May 13, 2024
Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cc)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants