Skip to content

Commit 6b52a53

Browse files
authored
[evaluation] ci: Re-enable python3.12 in test matrix (Azure#37399)
* ci: Re-enable python 3.12 in matrix * chore: Bump minimum bound of numpy 1.26.4 fixes a bug that prevented numpy from installing on python3.12
1 parent 86d97f6 commit 6b52a53

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"promptflow-core>=1.15.0",
7070
"websocket-client>=1.2.0",
7171
"jsonpath_ng>=1.5.0",
72-
"numpy>=1.23.2",
72+
"numpy>=1.23.2; python_version<'3.12'",
73+
"numpy>=1.26.4; python_version>='3.12'",
7374
"pyjwt>=2.8.0",
7475
"azure-identity>=1.12.0",
7576
"azure-core>=1.30.2",

sdk/evaluation/platform-matrix.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,17 @@
3535
"TestSamples": "false"
3636
}
3737
}
38+
},
39+
{
40+
"Config": {
41+
"Ubuntu2004_312": {
42+
"OSVmImage": "env:LINUXVMIMAGE",
43+
"Pool": "env:LINUXPOOL",
44+
"PythonVersion": "3.12",
45+
"CoverageArg": "--disablecov",
46+
"TestSamples": "false"
47+
}
48+
}
3849
}
3950
]
4051
}

0 commit comments

Comments
 (0)