mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Run PyTorch tests on 3.12 too (#779)
PyTorch 2.3.1 does support Python 3.12.
This commit is contained in:
parent
51a2b9cc19
commit
4728d9b648
@ -116,9 +116,6 @@ def test(session, pandas_version: str):
|
|||||||
"--nbval",
|
"--nbval",
|
||||||
)
|
)
|
||||||
|
|
||||||
# PyTorch 2.3.1 doesn't support Python 3.12
|
|
||||||
if session.python == "3.12":
|
|
||||||
pytest_args += ("--ignore=eland/ml/pytorch",)
|
|
||||||
session.run(
|
session.run(
|
||||||
*pytest_args,
|
*pytest_args,
|
||||||
*(session.posargs or ("eland/", "tests/")),
|
*(session.posargs or ("eland/", "tests/")),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user