Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f23b685
add sync script
msyyc May 7, 2026
bd5719c
sync eng folder
msyyc May 7, 2026
f32768c
remove tests folder
msyyc May 7, 2026
4037f65
remove tests folder
msyyc May 7, 2026
fb02678
update
msyyc May 7, 2026
d13cc81
update
msyyc May 8, 2026
e9b6f3d
update
msyyc May 8, 2026
5e46f46
update
msyyc May 8, 2026
e740a1a
update
msyyc May 8, 2026
7b1e6bd
update
msyyc May 8, 2026
5da2566
format
msyyc May 8, 2026
374d326
update sync
msyyc May 8, 2026
a5861e7
update codeowner for typespec-python
msyyc May 8, 2026
a6fba3e
update sync script
msyyc May 8, 2026
20afd6c
Update .gitignore
msyyc May 8, 2026
ee7f737
Update run-python3.ts
msyyc May 8, 2026
18c4421
Merge branch 'main' into python-update-eng
msyyc May 8, 2026
7167e87
add changelog
msyyc May 8, 2026
890479a
format
msyyc May 8, 2026
4ad8b90
update
msyyc May 8, 2026
86253df
update setup-python
msyyc May 9, 2026
003f6d4
pin uv version
msyyc May 9, 2026
6b0f35a
Revert "pin uv version"
msyyc May 9, 2026
aff58bf
Revert "update setup-python"
msyyc May 9, 2026
bde5c8d
Restore Azure's working install_packages.py and exclude from sync
msyyc May 9, 2026
fa2d16f
update
msyyc May 9, 2026
ea5755e
fix package.json
msyyc May 9, 2026
54a1ff6
fix ci
msyyc May 9, 2026
59ad193
update
msyyc May 9, 2026
90e08a8
Update sync.ts/gitignore comments to reflect tox.ini and generator/ b…
msyyc May 9, 2026
ab17822
Exclude tests/mock_api/unbranded/test_unbranded.py from sync
msyyc May 9, 2026
a64737e
Merge branch 'main' into python-update-eng
msyyc May 9, 2026
72425b4
add debug configuration for typespec-python
msyyc May 9, 2026
8e300c1
Merge branch 'main' into python-update-eng
msyyc May 25, 2026
ec68084
Backmerge release/may-2026 (tcgc@0.68.2 hotfix) (#4489)
tadelesh May 25, 2026
5c22b43
update ignore
msyyc May 26, 2026
6594dcd
new test cases
msyyc May 26, 2026
ec72149
Merge branch 'main' into python-update-eng
msyyc May 26, 2026
0ccba1c
update gitignore
msyyc May 26, 2026
a01cf7a
update
msyyc May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .chronus/changes/python-update-eng-2026-4-8-17-7-57.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/typespec-python"
---

Simplify eng system for typespec-python
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
* @bterlson @markcowl @allenjzhang @timotheeguerin
* @bterlson @markcowl @timotheeguerin

/packages/typespec-client-generator-core @lmazuel @m-nash @iscai-msft @srnagar @joheredi
/packages/azure-http-specs/specs/ @iscai-msft @lmazuel @m-nash @joheredi @srnagar @weidongxu-microsoft @tadelesh @jhendrixMSFT

/docs/howtos/DataPlane*/ @lmazuel @m-nash @iscai-msft @srnagar @joheredi

/packages/typespec-python @iscai-msft @msyyc @tadelesh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,4 @@ packages/samples/test/output/azure/templates-contoso/setup.*

# python emitter
packages/typespec-python/tests/generated/**
packages/typespec-python/alpha
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,21 @@
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}/packages/typespec-azure-vscode"],
"sourceMaps": true
},
{
"name": "typespec-python",
"request": "launch",
"args": [
"compile",
"${workspaceFolder}/packages/typespec-python/alpha/client.tsp",
"--emit=${workspaceFolder}/packages/typespec-python",
"--option=@azure-tools/typespec-python.flavor=azure"
],
"program": "${workspaceRoot}/core/packages/compiler/entrypoints/cli.js",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"smartStep": true,
"sourceMaps": true
}
],
"compounds": [
Expand Down
16 changes: 8 additions & 8 deletions packages/typespec-python/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# shall keep aligned with dev_requirements.txt of @typspec/http-client-python
pyright==1.1.391
pylint==3.2.7
tox==4.23.2
pyright==1.1.407
pylint==4.0.4
tox==4.16.0
tox-uv
mypy==1.13.0
mypy==1.19.1
colorama==0.4.6
debugpy==1.8.12
pytest==8.3.4
debugpy==1.8.2
pytest==8.3.2
coverage==7.6.1
black==24.8.0
black==26.3.1
ptvsd==4.3.2
types-PyYAML==6.0.12.20241230
types-PyYAML==6.0.12.8

# additional dependency needed for development
setuptools
7 changes: 4 additions & 3 deletions packages/typespec-python/eng/scripts/ci/config/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# global configurations
[mypy]
python_version = 3.9
python_version = 3.10
# Exclude mypy check for sub client tests
exclude = (.*azure/clientgenerator/core/clientinitialization/operations/_operations\.py|.*azure/clientgenerator/core/clientinitialization/aio/operations/_operations\.py)

exclude = .*/clientinitialization/.*\.py

# module level configurations
[mypy-jsonrpc.*]
Expand Down Expand Up @@ -38,3 +37,5 @@ ignore_missing_imports = True

[mypy-yaml.*]
ignore_missing_imports = True


4 changes: 2 additions & 2 deletions packages/typespec-python/eng/scripts/ci/config/pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MASTER]
py-version=3.9
py-version=3.10
ignore-patterns=test_*,conftest,setup
reports=no

Expand All @@ -17,7 +17,7 @@ enable=useless-suppression
# too-many-arguments: Due to the nature of the CLI many commands have large arguments set which reflect in large arguments set in corresponding methods.
# too-many-lines: Due to code generation many files end up with too many lines.
# Let's black deal with bad-continuation
disable=missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,disallowed-name,consider-using-max-builtin,unknown-option-value,file-needs-copyright-header
disable=missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,too-few-public-methods,consider-using-f-string,super-with-arguments,redefined-builtin,import-outside-toplevel,client-suffix-needed,unnecessary-dunder-call,unnecessary-ellipsis,disallowed-name,consider-using-max-builtin,unknown-option-value,file-needs-copyright-header,too-many-positional-arguments

[FORMAT]
max-line-length=120
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"reportUnnecessaryCast": "warning",
"reportTypeCommentUsage": true,
"reportMissingImports": false,
"reportAttributeAccessIssue": false,
"pythonVersion": "3.9",
"exclude": ["**/build/**"]
"pythonVersion": "3.10"
}
Loading
Loading