Skip to content

[python] add back sphinx, apiview, further testing improvements#10283

Merged
iscai-msft merged 4 commits intomicrosoft:mainfrom
iscai-msft:python/furtherTestImprovements
Apr 7, 2026
Merged

[python] add back sphinx, apiview, further testing improvements#10283
iscai-msft merged 4 commits intomicrosoft:mainfrom
iscai-msft:python/furtherTestImprovements

Conversation

@iscai-msft
Copy link
Copy Markdown
Member

No description provided.

@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 Apr 7, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 7, 2026

Open in StackBlitz

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

commit: 8935264

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

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

Parallelize test execution and add back sphinx and apiview checks"

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Apr 7, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@iscai-msft iscai-msft enabled auto-merge April 7, 2026 18:44
@iscai-msft iscai-msft added this pull request to the merge queue Apr 7, 2026
Merged via the queue into microsoft:main with commit 51a539c Apr 7, 2026
36 checks passed
@iscai-msft iscai-msft deleted the python/furtherTestImprovements branch April 7, 2026 19:58
commands =
python {tox_root}/install_packages.py azure {tox_root}
pytest mock_api/azure mock_api/shared -v {posargs}
pytest mock_api/azure mock_api/shared -v -n auto -n auto {posargs}
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.

duplicated -n auto @iscai-msft

commands =
python {tox_root}/install_packages.py unbranded {tox_root}
pytest mock_api/unbranded mock_api/shared -v {posargs}
pytest mock_api/unbranded mock_api/shared -v -n auto -n auto {posargs}
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.

msyyc added a commit to Azure/autorest.python that referenced this pull request Apr 8, 2026
- Replace xdist workerinput check with filelock-based server coordination
  in conftest.py for reliable multi-process server management
- Add parallel test execution (-n auto) to all pytest commands in tox.ini
- Add filelock>=3.12.0 dependency to base.txt

Ported from: microsoft/typespec#10283

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@msyyc
Copy link
Copy Markdown
Contributor

msyyc commented Apr 8, 2026

I made a PR to apply similar change into autorest.python repo Azure/autorest.python#3424
CC @iscai-msft

msyyc added a commit to Azure/autorest.python that referenced this pull request Apr 8, 2026
* Apply testing improvements from typespec PR #10283

- Replace xdist workerinput check with filelock-based server coordination
  in conftest.py for reliable multi-process server management
- Add parallel test execution (-n auto) to all pytest commands in tox.ini
- Add filelock>=3.12.0 dependency to base.txt

Ported from: microsoft/typespec#10283

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* update

* add changelog

* Update dependencies

* Sync shared files from typespec repo (2026-04-08 07:46:39)

* Add changelog

* Update dependencies (2026-04-08 07:47:45)

* Fix publish pipeline test paths for typespec-python

The typespec-python test directory was restructured from separate
test/azure/ and test/unbranded/ directories into a consolidated
tests/ directory with ci-azure and ci-unbranded tox environments.
Update publish-release.yml to match the new structure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: AutoPrFromHttpClientPython <AutoPrFromHttpClientPython>
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.

4 participants