Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 3501ee5

Browse files
dsikkarahul-tuli
andauthored
Fix broken protobuf ranges (#1660)
* fix broken protobuf ranges * Remove protobuf upgrade step from GHA (#1661) * Remove protobuf upgrade step * Remove protobuf upgrade step from other workflows --------- Co-authored-by: Rahul Tuli <[email protected]>
1 parent c8f2429 commit 3501ee5

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

.github/workflows/Integrations-post-merge-check.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ jobs:
4141
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
4242
- name: "Clean sparsezoo directory"
4343
run: rm -r sparsezoo/
44-
- name: "Upgrade protobuf version"
45-
run: pip3 install --upgrade protobuf
4644
- name: "⚙️ Install dependencies"
4745
run: pip3 install .[dev,torchvision,deepsparse,onnxruntime,transformers,yolov5]
4846
- name: "🔬 Running integrations tests (cadence: commit}})"

.github/workflows/integrations-check.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
6363
- name: "Clean sparsezoo directory"
6464
run: rm -r sparsezoo/
65-
- name: "Upgrade protobuf version"
66-
run: pip3 install --upgrade protobuf
6765
- name: "⚙️ Install dependencies"
6866
run: pip3 install .[dev,torchvision,deepsparse,onnxruntime,transformers,yolov5]
6967
- name: "🔬 Running integrations tests (cadence: pre-commit}})"

.github/workflows/test-check.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ jobs:
7373
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
7474
- name: "Clean sparsezoo directory"
7575
run: rm -r sparsezoo/
76-
- name: "Upgrade protobuf version"
77-
run: pip3 install --upgrade protobuf
7876
- name: "⚙️ Install dependencies"
7977
run: pip3 install .[dev,onnxruntime]
8078
- name: "🔬 Running base tests"
@@ -99,8 +97,6 @@ jobs:
9997
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
10098
- name: "Clean sparsezoo directory"
10199
run: rm -r sparsezoo/
102-
- name: "Upgrade protobuf version"
103-
run: pip3 install --upgrade protobuf
104100
- name: "⚙️ Install dependencies"
105101
run: pip3 install .[dev,deepsparse,onnxruntime]
106102
- name: "🔬 Running deepsparse tests"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"tqdm>=4.0.0",
5353
"toposort>=1.0",
5454
"GPUtil>=1.4.0",
55-
"protobuf>=3.12.2",
55+
"protobuf>=3.12.2,<=3.20.3",
5656
"click>=7.1.2,!=8.0.0", # latest version < 8.0 + blocked version with reported bug
5757
]
5858
_nm_deps = [f"{'sparsezoo' if is_release else 'sparsezoo-nightly'}~={version_nm_deps}"]

0 commit comments

Comments
 (0)