Skip to content

Commit 54db13c

Browse files
Python: add support for Python 3.14 (microsoft#1904)
* add tests for py3.14 and add classifier * remove macos * allow openai v2
1 parent 51b32ed commit 54db13c

15 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/workflows/python-code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: ["3.10"]
21+
python-version: ["3.10", "3.14"]
2222
runs-on: ubuntu-latest
2323
continue-on-error: true
2424
defaults:

.github/workflows/python-lab-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
strategy:
4949
fail-fast: true
5050
matrix:
51-
python-version: ["3.10", "3.11", "3.12", "3.13"]
51+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
5252
# TODO(ekzhu): re-enable macos-latest when this is fixed: https://github.com/actions/runner-images/issues/11881
5353
os: [ubuntu-latest, windows-latest]
5454
env:

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
python-version: ["3.10", "3.11", "3.12", "3.13"]
19+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2020
# todo: add macos-latest when problems are resolved
2121
os: [ubuntu-latest, windows-latest]
2222
env:

python/packages/a2a/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [

python/packages/anthropic/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [

python/packages/azure-ai/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [

python/packages/copilotstudio/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [

python/packages/core/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [
@@ -32,7 +33,7 @@ dependencies = [
3233
"opentelemetry-exporter-otlp-proto-grpc>=1.36.0",
3334
"opentelemetry-semantic-conventions-ai>=0.4.13",
3435
# connectors and functions
35-
"openai>=1.99.0,<2",
36+
"openai>=1.99.0",
3637
"azure-identity>=1,<2",
3738
"mcp[ws]>=1.13",
3839
]

python/packages/devui/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
"Typing :: Typed",
2324
]
2425
dependencies = [

python/packages/lab/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
2121
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2223
]
2324
dependencies = [
2425
"agent-framework-core",
@@ -118,7 +119,7 @@ ignore = [
118119
"INP001", # Ignore missing __init__.py in namespace packages.
119120
"RUF029", # Allow use of 'assert' statements; assertions are used for internal checks in experimental code.
120121
"ASYNC240", # Allow 'async for' outside of async functions in test and experimental code.
121-
]
122+
]
122123

123124
[tool.coverage.run]
124125
omit = [

0 commit comments

Comments
 (0)