Commit f2bc7b7
committed
[tmva][sofie] Require
In commit 178a9f9, I activated several SOFIE tests by moving the SOFIE
PyTorch and Keras parsers out of `tmva/pymva`, because SOFIE and PyMVA
are unrelated and we lost test coverage for these SOFIE parsers, because
`tmva-pymva` is always disabled.
But as reported in #20571, we now see SOFIE test failures on macOS
because it is not possible to fully resolve the required Python
environment. The problem was that we implicitly required `onnx>=1.19.1`
for the SOFIE tests to pass, but this can't be installed on macOS
because the transient update of `ml_dtypes` is conflicting with the
current version of the `tensorflow` package.
To get out of this, this commit suggests to only enable the SOFIE
PyTorch/Keras parser tests if `onnx>=1.19.1`, with a warning otherwise.
This is the solution with the least test coverage regression. There is
even no coverage regression at all, if you compare to the state before
178a9f9 a few days ago.
We should also consider to require `onnx>=1.19.1` in our
`requirements.txt` in the future, so our users don't face similar
trouble. But this should only be done once we are sure that it can also
be installed on macOS without breaking something else.
Closes #20571.onnx>=1.19.1 for tests1 parent 1df6d55 commit f2bc7b7
1 file changed
+29
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
113 | 137 | | |
114 | 138 | | |
115 | 139 | | |
| |||
129 | 153 | | |
130 | 154 | | |
131 | 155 | | |
132 | | - | |
133 | | - | |
| 156 | + | |
| 157 | + | |
134 | 158 | | |
135 | 159 | | |
136 | 160 | | |
| |||
151 | 175 | | |
152 | 176 | | |
153 | 177 | | |
154 | | - | |
155 | | - | |
| 178 | + | |
| 179 | + | |
156 | 180 | | |
157 | 181 | | |
158 | 182 | | |
| |||
0 commit comments