Skip to content

update black#9973

Closed
l0lawrence wants to merge 5 commits intomicrosoft:mainfrom
l0lawrence:updateblack
Closed

update black#9973
l0lawrence wants to merge 5 commits intomicrosoft:mainfrom
l0lawrence:updateblack

Conversation

@l0lawrence
Copy link
Member

@l0lawrence l0lawrence commented Mar 9, 2026

black to 26 - requires python 3.10

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Mar 9, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 9, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@9973

commit: 316ddbc

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - internal ✏️

updating black version

@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 9, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

pytest==8.3.2
coverage==7.6.1
black==24.8.0
black==26.3.0
Copy link
Contributor

Choose a reason for hiding this comment

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

@l0lawrence Any context about why we need to upgrade to black 26 which requires python 3.10? Since autorest.python repo has CI items which runs in python3.9, this PR will break them.

Copy link
Member Author

Choose a reason for hiding this comment

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

So there was an issue with black segfaulting on wsl ubuntu 24.04 in the current version we have pinned, but upgrading to a higher version fixed it. Since we drop 3.9 in May, I opened the prs against the most recent version of black

@l0lawrence
Copy link
Member Author

Closing black version seems to work without tsp-client, owner going to file an issue

@l0lawrence l0lawrence closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants