Skip to content

Commit a1afe92

Browse files
committed
add py312
1 parent 64f7f59 commit a1afe92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ def huggingface_pytorch_training_version(huggingface_training_version):
297297

298298
@pytest.fixture(scope="module")
299299
def huggingface_pytorch_training_py_version(huggingface_pytorch_training_version):
300+
if Version(huggingface_pytorch_training_version) >= Version("2.6"):
301+
return "py312"
300302
if Version(huggingface_pytorch_training_version) >= Version("2.3"):
301303
return "py311"
302304
if Version(huggingface_pytorch_training_version) >= Version("2.0"):

0 commit comments

Comments
 (0)