Skip to content

Commit 735259d

Browse files
MilesHollandscbedd
andauthored
Fix CI (Azure#39043)
* nothing change * remove version pin * try changing pf requirements to repo * try again * fix setup syntax * try another format * try again * try again, again * undo stuff * undo whitespace * remove pf_service_isolation * undo setup change * pin pf to current * upate package to use python 3.9 at least * get the changes ready. when they confirm which CI I'll submit the PR * move necessary requirements --------- Co-authored-by: Scott Beddall <[email protected]>
1 parent 9202986 commit 735259d

File tree

9 files changed

+10
-39
lines changed

9 files changed

+10
-39
lines changed

sdk/evaluation/azure-ai-evaluation/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- Fixed the non adversarial simulator to run in task-free mode
1313

1414
### Other Changes
15+
- Changed minimum required python version to use this package from 3.8 to 3.9
1516
- Stop dependency on the local promptflow service. No promptflow service will automatically start when running evaluation.
1617

1718
## 1.1.0 (2024-12-12)

sdk/evaluation/azure-ai-evaluation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Azure AI SDK provides following to evaluate Generative AI Applications:
2222

2323
### Prerequisites
2424

25-
- Python 3.8 or later is required to use this package.
25+
- Python 3.9 or later is required to use this package.
2626
- [Optional] You must have [Azure AI Project][ai_project] or [Azure Open AI][azure_openai] to use AI-assisted evaluators
2727

2828
### Install the package

sdk/evaluation/azure-ai-evaluation/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Each samples file is run during the azure-sdk-for-python Build CI to ensure that
3131

3232
## Prerequisites
3333

34-
* Python 3.8, 3.9, 3.10, 3.11, or 3.12 is required to use this package
34+
* Python 3.9, 3.10, 3.11, or 3.12 is required to use this package
3535
* You must have an [Azure subscription](https://azure.microsoft.com/free/) to run these samples.
3636
* You must have an Azure AI project and a model deployment.
3737

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"Programming Language :: Python",
4747
"Programming Language :: Python :: 3",
4848
"Programming Language :: Python :: 3 :: Only",
49-
"Programming Language :: Python :: 3.8",
5049
"Programming Language :: Python :: 3.9",
5150
"Programming Language :: Python :: 3.10",
5251
"Programming Language :: Python :: 3.11",
@@ -63,10 +62,10 @@
6362
"azure.ai",
6463
]
6564
),
66-
python_requires=">=3.8",
65+
python_requires=">=3.9",
6766
install_requires=[
68-
"promptflow-devkit>=1.15.0",
69-
"promptflow-core>=1.15.0",
67+
"promptflow-devkit>=1.17.1",
68+
"promptflow-core>=1.17.1",
7069
"pyjwt>=2.8.0",
7170
# pickle support for credentials was added to this release
7271
"azure-identity>=1.16.0",

sdk/evaluation/azure-ai-evaluation/tests/__pf_service_isolation.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

sdk/evaluation/azure-ai-evaluation/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from .__openai_patcher import TestProxyConfig, TestProxyHttpxClientBase # isort: split
2-
from . import __pf_service_isolation # isort: split # noqa: F401
32

43
import os
54
import json

sdk/evaluation/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ extends:
2929
TestProxy: true
3030
# This custom matrix config should be dropped once:
3131
# * Once azure-ai-ml supports 3.13 (currently crashes due to type annotation)
32-
MatrixConfigs:
32+
MatrixConfigs:
3333
- Name: ai_ci_matrix
3434
Path: sdk/evaluation/platform-matrix.json
3535
Selection: sparse
3636
GenerateVMJobs: true
3737
MatrixFilters:
38-
- PythonVersion=^(?!3\.13)
38+
- PythonVersion=^(?!(3\.13|3\.8))
3939
Artifacts:
4040
- name: azure-ai-evaluation
4141
safeName: azureaievaluation

sdk/evaluation/platform-matrix.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"macos-latest": { "OSVmImage": "env:MACVMIMAGE", "Pool": "env:MACPOOL" },
1010
"ubuntu-20.04": { "OSVmImage": "env:LINUXVMIMAGE", "Pool": "env:LINUXPOOL" }
1111
},
12-
"PythonVersion": [ "3.8", "3.11", "3.10" ],
12+
"PythonVersion": [ "3.9", "3.11", "3.10" ],
1313
"CoverageArg": "--disablecov",
1414
"TestSamples": "false"
1515
},

tools/azure-sdk-tools/ci_tools/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
TEST_COMPATIBILITY_MAP = {
4545
"azure-ai-ml": ">=3.7, !=3.13.*",
46-
"azure-ai-evaluation": ">=3.7, !=3.13.*"
46+
"azure-ai-evaluation": ">=3.9, !=3.13.*"
4747
}
4848
TEST_PYTHON_DISTRO_INCOMPATIBILITY_MAP = {
4949
"azure-storage-blob": "pypy",

0 commit comments

Comments
 (0)