Skip to content

Commit

Permalink
Allow numpy==1.26 in MO for Python 3.12 enablement (#26118)
Browse files Browse the repository at this point in the history
### Details:
 - `numpy==1.27` is the first version to support Python 3.12
- kaldi, mxnet and caffee will most likely fail with Python 3.12, TBD
how to handle it
 - cc @culhatsker 

### Tickets:
 - CVS-150017
  • Loading branch information
p-wysocki authored Aug 22, 2024
1 parent 486fd0b commit e27eb78
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/mo/requirements_caffe.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-c ../constraints.txt
numpy>=1.16.6,<1.26
numpy>=1.16.6,<1.27
networkx
protobuf
defusedxml
Expand Down
2 changes: 1 addition & 1 deletion tools/mo/requirements_kaldi.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-c ../constraints.txt
numpy>=1.16.6,<1.26
numpy>=1.16.6,<1.27
networkx
defusedxml
requests
Expand Down
2 changes: 1 addition & 1 deletion tools/mo/requirements_mxnet.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-c ../constraints.txt
numpy>=1.16.6,<1.24
numpy>=1.16.6,<1.27
mxnet
networkx
defusedxml
Expand Down
2 changes: 1 addition & 1 deletion tools/mo/requirements_onnx.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-c ../constraints.txt
numpy>=1.16.6,<1.26
numpy>=1.16.6,<1.27
onnx
networkx
defusedxml
Expand Down
2 changes: 1 addition & 1 deletion tools/mo/requirements_tf.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-c ../constraints.txt
h5py
tensorflow>=1.15.5,<2.17.0
numpy>=1.16.6,<1.26
numpy>=1.16.6,<1.27
networkx
defusedxml
requests
Expand Down
2 changes: 1 addition & 1 deletion tools/mo/requirements_tf2.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-c ../constraints.txt
h5py
tensorflow>=2.5,<2.17.0
numpy>=1.16.6,<1.26
numpy>=1.16.6,<1.27
networkx
defusedxml
requests
Expand Down

0 comments on commit e27eb78

Please sign in to comment.