File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 12
12
- " 3.9"
13
13
- " 3.10"
14
14
- " 3.11"
15
+ - " 3.12"
15
16
runner : ["linux.12xlarge"]
16
17
gpu-arch-type : ["cpu"]
17
18
include :
Original file line number Diff line number Diff line change 18
18
- " 3.9"
19
19
- " 3.10"
20
20
- " 3.11"
21
+ - " 3.12"
21
22
runner : ["linux.12xlarge"]
22
23
gpu-arch-type : ["cpu"]
23
24
include :
51
52
- " 3.9"
52
53
- " 3.10"
53
54
- " 3.11"
55
+ - " 3.12"
54
56
runner : ["macos-12"]
55
57
include :
56
58
- python-version : " 3.8"
81
83
- " 3.9"
82
84
- " 3.10"
83
85
- " 3.11"
86
+ - " 3.12"
84
87
runner : ["windows.4xlarge"]
85
88
gpu-arch-type : ["cpu"]
86
89
include :
Original file line number Diff line number Diff line change 54
54
55
55
56
56
# turns all warnings into errors for this module
57
- pytestmark = pytest .mark .filterwarnings ("error" )
57
+ pytestmark = [pytest .mark .filterwarnings ("error" )]
58
+
59
+ if sys .version_info [:2 ] >= (3 , 12 ):
60
+ # torchscript relies on some AST stuff that got deprecated in 3.12,
61
+ # so we have to explicitly ignore those otherwise we'd error on warnings due to the pytestmark filter above.
62
+ pytestmark .append (pytest .mark .filterwarnings ("ignore::DeprecationWarning" ))
58
63
59
64
60
65
@pytest .fixture (autouse = True )
You can’t perform that action at this time.
0 commit comments