Skip to content
Merged
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/copilot-fix-3144-2025-6-28-7-2-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"
---

Support python 3.13
18 changes: 9 additions & 9 deletions eng/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resources:
variables:
- template: /eng/pipelines/templates/variables/image.yml
- name: PythonVersion
value: "3.12"
value: "3.13"
- name: AUTOREST_TESTSERVER_COVERAGE_DIRECTORY
value: "$(Build.SourcesDirectory)/autorest.python/packages/autorest.python/coverage/"
- name: PROXY_URL
Expand Down Expand Up @@ -69,16 +69,16 @@ jobs:
Pool: ${{ variables.LINUXPOOL }}
OSVmImage: ${{ variables.LINUXVMIMAGE}}
PythonVersion: "3.11"
Linux_Python3.12:
Linux_Python3.13:
OSName: "Linux"
Pool: ${{ variables.LINUXPOOL }}
OSVmImage: ${{ variables.LINUXVMIMAGE}}
PythonVersion: "3.12"
Windows_Python3.12:
PythonVersion: "3.13"
Windows_Python3.13:
OSName: "Windows"
Pool: ${{ variables.WINDOWSPOOL }}
OSVmImage: ${{ variables.WINDOWSVMIMAGE}}
PythonVersion: "3.12"
PythonVersion: "3.13"

pool:
name: $(Pool)
Expand Down Expand Up @@ -168,16 +168,16 @@ jobs:
Pool: ${{ variables.LINUXPOOL }}
OSVmImage: ${{ variables.LINUXVMIMAGE}}
PythonVersion: "3.11"
Linux_Python312:
Linux_Python313:
OSName: "Linux"
Pool: ${{ variables.LINUXPOOL }}
OSVmImage: ${{ variables.LINUXVMIMAGE}}
PythonVersion: "3.12"
Windows_Python312:
PythonVersion: "3.13"
Windows_Python313:
OSName: "Windows"
Pool: ${{ variables.WINDOWSPOOL }}
OSVmImage: ${{ variables.WINDOWSVMIMAGE}}
PythonVersion: "3.12"
PythonVersion: "3.13"

pool:
name: $(Pool)
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": "~0.14.1-dev.1",
"@typespec/http-client-python": "~0.14.1-dev.2",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "~4.19.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
1 change: 1 addition & 0 deletions packages/autorest.python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
packages=find_packages(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand All @@ -63,7 +64,7 @@
},
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
python_requires=">=3.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand All @@ -63,7 +64,7 @@
},
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
python_requires=">=3.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand All @@ -63,7 +64,7 @@
},
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
python_requires=">=3.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"msrest>=0.7.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pytest
pytest-cov
pytest-asyncio==0.14.0;python_full_version>="3.5.2"
async_generator;python_full_version>="3.5.2"
azure-mgmt-core==1.5.0
azure-mgmt-core==1.6.0
msrest==0.7.1
-e ./Expected/AcceptanceTests/AzureBodyDuration
-e ./Expected/AcceptanceTests/AzureParameterGrouping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ setup(
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/azure/legacy/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py38, py310, py311, py312
envlist=py38, py310, py311, py313
skipsdist=True

[testenv]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include_package_data=True,
install_requires=[
"isodate>=0.6.1",
"azure-mgmt-core>=1.5.0",
"azure-mgmt-core>=1.6.0",
"typing-extensions>=4.6.0",
],
long_description="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pytest
pytest-cov
pytest-asyncio==0.14.0;python_full_version>="3.5.2"
async_generator;python_full_version>="3.5.2"
azure-mgmt-core==1.5.0
azure-mgmt-core==1.6.0
-e ./Expected/AcceptanceTests/AzureBodyDurationVersionTolerant
-e ./Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant
-e ./Expected/AcceptanceTests/AzureReportVersionTolerant
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py38, py310, py311, py312
envlist=py38, py310, py311, py313
skipsdist=True

[testenv]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py38, py310, py311, py312
envlist=py38, py310, py311, py313
skipsdist=True

[testenv]
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/multiapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
aiohttp; python_full_version >= '3.5.2'
azure-common
msrest==0.7.1
azure-mgmt-core==1.5.0
azure-mgmt-core==1.6.0
pytest
pytest-cov
pytest-asyncio==0.14.0;python_full_version>="3.5.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/multiapi/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py38, py310, py311, py312
envlist=py38, py310, py311, py313
skipsdist=True

[testenv]
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/unittests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ isodate>=0.6.1
requests==2.28.2
pytest
pytest-cov
azure-mgmt-core==1.5.0
azure-mgmt-core==1.6.0
-e ../../.
-e ../../generator
-e ../../samples/specification/azure-mgmt-test/test/azure-mgmt-test
Expand Down
2 changes: 1 addition & 1 deletion packages/autorest.python/test/unittests/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py38, py310, py311, py312
envlist=py38, py310, py311, py313
skipsdist=True

[testenv:ci]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand Down
Loading
Loading