Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .chronus/changes/py1-2026-3-14-15-3-10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: internal
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

bumping pylint/mypy versions
8 changes: 8 additions & 0 deletions .chronus/changes/python-refine-api-version-doc-2026-4-15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Refine `api_version` argument doc to show `None` as default value and include note about operation's default API version being used when not set
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ def _update_content_type_parameter(
param["language"]["default"]["description"] = description
return param

def _update_parameters_helper(
def _update_parameters_helper( # pylint: disable=too-many-positional-arguments
self,
parameters: List[Dict[str, Any]],
body_parameter: Optional[Dict[str, Any]],
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
"dependencies": {
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjE1ODIzMi9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjE2MTI1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "^4.21.0"
Expand Down
17 changes: 9 additions & 8 deletions packages/typespec-python/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +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
mypy==1.13.0
pyright==1.1.408
pylint==4.0.5
tox==4.16.0
tox-uv
mypy==1.20.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
4 changes: 2 additions & 2 deletions packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@typespec/xml": ">=0.81.0 <1.0.0"
},
"dependencies": {
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjE1ODIzMi9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjE2MTI1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz",
"fs-extra": "~11.2.0",
"js-yaml": "~4.1.0",
"semver": "~7.6.2",
Expand Down Expand Up @@ -106,4 +106,4 @@
"typescript-eslint": "^8.49.0",
"vitest": "^4.0.15"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def test_v2(client: AddedClient):
def test_interface_v2(client: AddedClient):
assert client.interface_v2.v2_in_interface(
ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar")
) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar")
) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar")
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def test_custom_method():
"level": 0,
"extension": [{"level": 1, "extension": [{"level": 2}]}, {"level": 1}],
}
)
)
2 changes: 1 addition & 1 deletion packages/typespec-python/tests/requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Linting dependencies
-r base.txt
pylint==4.0.4
black==24.8.0
black==26.3.1
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading