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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: fix
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Fix dependencies of pyproject.toml for ARM SDK
4 changes: 2 additions & 2 deletions 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTI4ODIwNS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTI5MDE1NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "~4.19.1"
Expand All @@ -47,4 +47,4 @@
"requirements.txt",
"generator/"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"msrest>=0.7.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"msrest>=0.7.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"msrest>=0.7.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"msrest>=0.7.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
5 changes: 5 additions & 0 deletions packages/autorest.python/test/unittests/test_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,8 @@ def test_package_mode_for_azure_mgmt_pyproject():
packaging = pyproject_data.get("packaging", {})
assert packaging.get("is_stable") is False, "is_stable shall be kept in pyproject.toml"
assert packaging.get("is_arm") is True, "is_arm shall be kept in pyproject.toml"

dependencies = pyproject_data.get("project", {}).get("dependencies", [])
assert any(
dep.startswith("azure-mgmt-core") for dep in dependencies
), "azure-mgmt-core dependencies shall be kept in pyproject.toml"
4 changes: 2 additions & 2 deletions packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"js-yaml": "~4.1.0",
"semver": "~7.6.2",
"tsx": "~4.19.1",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTI4ODIwNS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTI5MDE1NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz",
"fs-extra": "~11.2.0"
},
"devDependencies": {
Expand Down Expand Up @@ -103,4 +103,4 @@
"chalk": "5.3.0",
"@types/fs-extra": "11.0.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"isodate>=0.6.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"isodate>=0.6.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"isodate>=0.6.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"isodate>=0.6.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ keywords = ["azure", "azure sdk"]

dependencies = [
"isodate>=0.6.1",
"azure-core>=1.35.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
]
dynamic = [
Expand Down
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