Skip to content

Commit 6cd5c39

Browse files
singankitw-javedscbedd
authored
Update setup.py (#41074)
* Update setup.py * disable test * Update setup.py * pin newer aiohttp version for azure-ai-evaluation mindependency checks * ensure that aiothttp won't hit any issues on 313+ * minimum supported version of aiohttp for azure-ai-evaluation is 3.8.6, one that I know has a py311 shipping version * update the aiohttp pins * Update pyproject.toml --------- Co-authored-by: Waqas Javed <[email protected]> Co-authored-by: Scott Beddall <[email protected]>
1 parent 78ad432 commit 6cd5c39

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

eng/tox/install_depend_packages.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,23 @@
6262
"azure-storage-file-datalake": {"azure-storage-blob": "12.22.0"},
6363
"azure-cosmos": {"azure-core": "1.30.0"},
6464
"azure-appconfiguration-provider": {"azure-appconfiguration": "1.7.2"},
65+
"azure-ai-evaluation": {"aiohttp": "3.8.6"}
6566
}
6667

6768
MAXIMUM_VERSION_SPECIFIC_OVERRIDES = {}
6869

6970
# PLATFORM SPECIFIC OVERRIDES provide additional generic (EG not tied to the package whos dependencies are being processed)
70-
# filtering on a _per platform_ basis. Primarily used to limit certain packages due to platform compatbility
71+
# filtering on a _per platform_ basis. Primarily used to limit certain packages due to platform compat
7172
PLATFORM_SPECIFIC_MINIMUM_OVERRIDES = {
7273
">=3.12.0": {
7374
"azure-core": "1.23.1",
74-
"aiohttp": "3.8.6",
75+
"aiohttp": "3.9.0",
7576
"six": "1.16.0",
7677
"requests": "2.30.0"
7778
},
7879
">=3.13.0": {
7980
"typing-extensions": "4.12.0",
81+
"aiohttp": "3.10.6"
8082
}
8183
}
8284

sdk/evaluation/azure-ai-evaluation/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pyright = false
44
pylint = false
55
black = false
66
verifytypes = false
7+
whl_no_aio = false
78

89
[tool.isort]
910
profile = "black"
@@ -16,4 +17,4 @@ extend_skip_glob = [
1617
"*/_restclient/*",
1718
"*/doc/*",
1819
"*/.tox/*",
19-
]
20+
]

sdk/evaluation/azure-ai-evaluation/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"ruamel.yaml>=0.17.10,<1.0.0",
8282
"msrest>=0.6.21",
8383
"Jinja2>=3.1.6",
84+
"aiohttp>=3.0",
8485
],
8586
extras_require={
8687
"redteam": [

sdk/evaluation/azure-ai-evaluation/tests/e2etests/test_mass_evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class TestMassEvaluate:
9191
@pytest.mark.parametrize(
9292
("proj_scope", "cred", "conv", "m_config"),
9393
(
94-
("project_scope", "azure_cred", "data_file", "model_config"),
94+
# ("project_scope", "azure_cred", "data_file", "model_config"),
9595
# ("project_scope_onedp", "azure_cred_onedp", "data_file", "model_config_onedp"),
9696
)
9797
)

0 commit comments

Comments
 (0)