Skip to content

Use the chiseled-extras image so imports of __future__ are first.#6633

Merged
baywet merged 4 commits intomicrosoft:mainfrom
rcleveng:main
Jun 9, 2025
Merged

Use the chiseled-extras image so imports of __future__ are first.#6633
baywet merged 4 commits intomicrosoft:mainfrom
rcleveng:main

Conversation

@rcleveng
Copy link
Contributor

@rcleveng rcleveng commented Jun 9, 2025

Fixes #4600
closes #4802
This only reproduces with the chiseled image, both the non-chiseled and the chiseled-extras image do not reproduce this issue. Additionally the same binaries run without a docker image also do not exhibit this issue.

Fixes microsoft#4600
This only reproduces with the chiseled image, both the non-chiseled
and the chiseled-extras image do not reproduce this issue.
Additionally the same binaries run without a docker image also do
not exhibit this issue.
@rcleveng rcleveng requested a review from a team as a code owner June 9, 2025 19:14
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

Can you also add an entry in the changelog please (unreleased, changed)

@rcleveng
Copy link
Contributor Author

rcleveng commented Jun 9, 2025

@microsoft-github-policy-service agree

@rcleveng
Copy link
Contributor Author

rcleveng commented Jun 9, 2025

Thanks for the contribution!

Can you also add an entry in the changelog please (unreleased, changed)

Done

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thank you for making the changes!

@baywet baywet enabled auto-merge (squash) June 9, 2025 19:39
@baywet baywet merged commit 00f8f0e into microsoft:main Jun 9, 2025
290 checks passed
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.

[Python] SyntaxError: from __future__ imports must occur at the beginning of the file

2 participants