Skip to content

Commit e9d663c

Browse files
authored
Update TF DLC python version to py312 (#5231)
* Update TF DLC python version to py312 * catch integ version
1 parent 3ec9378 commit e9d663c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/conftest.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,9 @@ def _tf_py_version(tf_version, request):
554554
return "py38"
555555
if Version("2.8") <= version < Version("2.12"):
556556
return "py39"
557-
return "py310"
557+
if Version("2.12") <= version < Version("2.19"):
558+
return "py310"
559+
return "py312"
558560

559561

560562
@pytest.fixture(scope="module")
@@ -597,7 +599,9 @@ def tf_full_py_version(tf_full_version):
597599
return "py38"
598600
if version < Version("2.12"):
599601
return "py39"
600-
return "py310"
602+
if version < Version("2.19"):
603+
return "py310"
604+
return "py312"
601605

602606

603607
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)