Commit f315bcb
authored
8620 ModuleNotFoundError: No module named \'onnxscript\' in test-py3x (3.11) pipeline (#8621)
Fixes #8620
### Description
On October 8th, there was a new release of the ONNX library
([1.19.1](https://github.com/onnx/onnx/tree/v1.19.1)).
Looking into previous versions of our CICD, which run successfully, the
errors coincide with that date. For example, [this
one](https://github.com/Project-MONAI/MONAI/actions/runs/18153916782/job/51669624135#logs)
was ok with onnx 1.19.0.
[This issue](onnx/onnx#7257) in the ONNX
project suggests that there were some recent breaking changes. This is
not exactly our issue, but it suggests that there may be something
similar going on.
I have added the condition `<1.19.1; python == 3.11` to prevent updates
on this Python version, since our original issue referred to Python
3.11.
It may be that this affects other versions. Let's see if the pipelines
execute successfully.
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
---------
Signed-off-by: R. Garcia-Dias <rafaelagd@gmail.com>1 parent e72145c commit f315bcb
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments