agent-framework 1.24.0__tar.gz → 1.25.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agent_framework-1.24.0 → agent_framework-1.25.0}/PKG-INFO +5 -9
- {agent_framework-1.24.0 → agent_framework-1.25.0}/README.md +2 -6
- {agent_framework-1.24.0 → agent_framework-1.25.0}/agent_framework_meta/__init__.py +4 -6
- {agent_framework-1.24.0 → agent_framework-1.25.0}/pyproject.toml +9 -9
- {agent_framework-1.24.0 → agent_framework-1.25.0}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agent-framework
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.25.0
|
|
4
4
|
Summary: Microsoft Agent Framework for building AI Agents with Python. This package contains core and a curated set of optional integrations.
|
|
5
5
|
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
|
-
Requires-Python: >=3.
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.15
|
|
17
17
|
Classifier: Typing :: Typed
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: agent-framework-core[all]==1.
|
|
19
|
+
Requires-Dist: agent-framework-core[all]==1.25.0
|
|
20
20
|
Project-URL: homepage, https://aka.ms/agent-framework
|
|
21
21
|
Project-URL: issues, https://github.com/microsoft/agent-framework/issues
|
|
22
22
|
Project-URL: release_notes, https://github.com/microsoft/agent-framework/releases?q=tag%3Apython-1&expanded=true
|
|
@@ -67,11 +67,8 @@ Supported Platforms:
|
|
|
67
67
|
- Python: 3.11–3.15
|
|
68
68
|
- OS: Windows, macOS, Linux
|
|
69
69
|
|
|
70
|
-
Python 3.
|
|
71
|
-
|
|
72
|
-
unit or integration tests on it and compatibility is not guaranteed. Use
|
|
73
|
-
Python 3.11–3.15 for supported environments, subject to integration-specific
|
|
74
|
-
limits below. Raising the installation minimum will be handled separately.
|
|
70
|
+
Python 3.11 or later is required. Supported environments are subject to the
|
|
71
|
+
integration-specific limits below.
|
|
75
72
|
|
|
76
73
|
### Python 3.15 limitations
|
|
77
74
|
|
|
@@ -81,7 +78,6 @@ not provide exactly the same feature set as Python 3.14:
|
|
|
81
78
|
| Area | Python 3.15 impact |
|
|
82
79
|
| --- | --- |
|
|
83
80
|
| Declarative Power Fx | `agent-framework-declarative` is installed, but its `powerfx` dependency is not. YAML values beginning with `=` produce a warning and remain unchanged instead of being evaluated. Declarative agents or workflows that rely on expressions may therefore use invalid literal values or fail later. |
|
|
84
|
-
| Redis | `agent-framework-redis` is omitted from the standard install because RedisVL declares `Requires-Python <3.15`. Redis imports and Redis-backed history, context, and vector storage are unavailable. |
|
|
85
81
|
|
|
86
82
|
## 1. Setup API Keys
|
|
87
83
|
|
|
@@ -42,11 +42,8 @@ Supported Platforms:
|
|
|
42
42
|
- Python: 3.11–3.15
|
|
43
43
|
- OS: Windows, macOS, Linux
|
|
44
44
|
|
|
45
|
-
Python 3.
|
|
46
|
-
|
|
47
|
-
unit or integration tests on it and compatibility is not guaranteed. Use
|
|
48
|
-
Python 3.11–3.15 for supported environments, subject to integration-specific
|
|
49
|
-
limits below. Raising the installation minimum will be handled separately.
|
|
45
|
+
Python 3.11 or later is required. Supported environments are subject to the
|
|
46
|
+
integration-specific limits below.
|
|
50
47
|
|
|
51
48
|
### Python 3.15 limitations
|
|
52
49
|
|
|
@@ -56,7 +53,6 @@ not provide exactly the same feature set as Python 3.14:
|
|
|
56
53
|
| Area | Python 3.15 impact |
|
|
57
54
|
| --- | --- |
|
|
58
55
|
| Declarative Power Fx | `agent-framework-declarative` is installed, but its `powerfx` dependency is not. YAML values beginning with `=` produce a warning and remain unchanged instead of being evaluated. Declarative agents or workflows that rely on expressions may therefore use invalid literal values or fail later. |
|
|
59
|
-
| Redis | `agent-framework-redis` is omitted from the standard install because RedisVL declares `Requires-Python <3.15`. Redis imports and Redis-backed history, context, and vector storage are unavailable. |
|
|
60
56
|
|
|
61
57
|
## 1. Setup API Keys
|
|
62
58
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
# Copyright (c) Microsoft. All rights reserved.
|
|
2
2
|
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import tomllib as _toml
|
|
3
6
|
from importlib import metadata as _metadata
|
|
4
7
|
from pathlib import Path as _Path
|
|
5
8
|
from typing import Any, cast
|
|
6
9
|
|
|
7
|
-
try:
|
|
8
|
-
import tomllib as _toml # type: ignore # Python 3.11+
|
|
9
|
-
except ModuleNotFoundError: # Python 3.10
|
|
10
|
-
import tomli as _toml # type: ignore
|
|
11
|
-
|
|
12
10
|
|
|
13
11
|
def _load_pyproject() -> dict[str, Any]:
|
|
14
12
|
pyproject = (_Path(__file__).resolve().parents[1] / "pyproject.toml").read_text("utf-8")
|
|
15
|
-
return
|
|
13
|
+
return _toml.loads(pyproject)
|
|
16
14
|
|
|
17
15
|
|
|
18
16
|
def _version() -> str:
|
|
@@ -3,8 +3,8 @@ name = "agent-framework"
|
|
|
3
3
|
description = "Microsoft Agent Framework for building AI Agents with Python. This package contains core and a curated set of optional integrations."
|
|
4
4
|
authors = [{ name = "Microsoft", email = "af-support@microsoft.com"}]
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.
|
|
7
|
-
version = "1.
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
version = "1.25.0"
|
|
8
8
|
license-files = ["LICENSE"]
|
|
9
9
|
urls.homepage = "https://aka.ms/agent-framework"
|
|
10
10
|
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
|
|
@@ -23,14 +23,14 @@ classifiers = [
|
|
|
23
23
|
"Typing :: Typed",
|
|
24
24
|
]
|
|
25
25
|
dependencies = [
|
|
26
|
-
"agent-framework-core[all]==1.
|
|
26
|
+
"agent-framework-core[all]==1.25.0",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[dependency-groups]
|
|
30
30
|
dev = [
|
|
31
31
|
"uv==0.13.5",
|
|
32
|
-
"pytest==9.
|
|
33
|
-
"pytest-asyncio==1.4.
|
|
32
|
+
"pytest==9.2.0",
|
|
33
|
+
"pytest-asyncio==1.4.1",
|
|
34
34
|
"pytest-cov==7.1.0",
|
|
35
35
|
"pytest-xdist[psutil]==3.8.0",
|
|
36
36
|
"pytest-timeout==2.4.0",
|
|
@@ -46,7 +46,6 @@ dev = [
|
|
|
46
46
|
tool-runtime = [
|
|
47
47
|
"packaging==26.3",
|
|
48
48
|
"rich>=13.7.1,<16.0.0",
|
|
49
|
-
'tomli==2.5.0; python_version < "3.11"',
|
|
50
49
|
]
|
|
51
50
|
tool-hooks = [
|
|
52
51
|
"prek==0.5.7",
|
|
@@ -123,7 +122,7 @@ agent-framework-typesafe = { workspace = true }
|
|
|
123
122
|
|
|
124
123
|
[tool.ruff]
|
|
125
124
|
line-length = 120
|
|
126
|
-
target-version = "
|
|
125
|
+
target-version = "py311"
|
|
127
126
|
fix = true
|
|
128
127
|
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
|
|
129
128
|
exclude = ["scripts"]
|
|
@@ -159,6 +158,7 @@ select = [
|
|
|
159
158
|
"W", # pycodestyle warning checks
|
|
160
159
|
]
|
|
161
160
|
ignore = [
|
|
161
|
+
"ASYNC109", # timeout parameters are intentional API contracts
|
|
162
162
|
"D100", # allow missing docstring in public module
|
|
163
163
|
"D104", # allow missing docstring in public package
|
|
164
164
|
"D421", # allow property docstrings that start with a verb
|
|
@@ -228,7 +228,7 @@ reportUnnecessaryTypeIgnoreComment = "error"
|
|
|
228
228
|
# annotating every function. See docs/skills/python-code-quality.
|
|
229
229
|
[tool.mypy]
|
|
230
230
|
plugins = ['pydantic.mypy']
|
|
231
|
-
python_version = "3.
|
|
231
|
+
python_version = "3.11"
|
|
232
232
|
ignore_missing_imports = true
|
|
233
233
|
check_untyped_defs = true
|
|
234
234
|
disallow_untyped_defs = false
|
|
@@ -240,7 +240,7 @@ warn_unused_ignores = false
|
|
|
240
240
|
show_error_codes = true
|
|
241
241
|
|
|
242
242
|
# NumPy 2.5 stubs use Python 3.12 type-statement syntax while mypy intentionally
|
|
243
|
-
# targets Python 3.
|
|
243
|
+
# targets Python 3.11 for test typing; skip parsing NumPy internals.
|
|
244
244
|
[[tool.mypy.overrides]]
|
|
245
245
|
module = ["numpy", "numpy.*"]
|
|
246
246
|
follow_imports = "skip"
|
|
File without changes
|