Skip to content

Commit f315bcb

Browse files
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 <[email protected]>
1 parent e72145c commit f315bcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/docs/images/MONAI-logo-color.png" width="50%" alt='project-monai'>
2+
<img src="https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/docs/images/MONAI-logo-color.png" width="50%" alt='project-monai'>
33
</p>
44

55
**M**edical **O**pen **N**etwork for **AI**

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ h5py
5151
nni==2.10.1; platform_system == "Linux" and "arm" not in platform_machine and "aarch" not in platform_machine
5252
optuna
5353
git+https://github.com/Project-MONAI/MetricsReloaded@monai-support#egg=MetricsReloaded
54-
onnx>=1.13.0
54+
onnx>=1.13.0, <1.19.1
5555
onnxruntime; python_version <= '3.10'
5656
typeguard<3 # https://github.com/microsoft/nni/issues/5457
5757
filelock<3.12.0 # https://github.com/microsoft/nni/issues/5523

0 commit comments

Comments
 (0)