pin protobuf version to fix onnx model loading (#76)

* pin protobuf version to fix onnx model loading

* bump agnos version
This commit is contained in:
Adeeb Shihadeh
2022-07-07 19:06:26 -07:00
committed by GitHub
parent 4e85f76e5f
commit 8a3115ef79
3 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ RUN /tmptmp/readonly_setup.sh && rm -rf /tmptmp
COPY ./userspace/files/apt.conf /etc/apt/apt.conf
# Write version file
RUN echo -n "5.1" > /VERSION
RUN echo -n "5.2" > /VERSION
# ################## #
# #### Cleaunup #### #
+1
View File
@@ -72,6 +72,7 @@ onnxruntime = "*"
pyopencl = "*"
pytest = "*"
hatanaka = "==2.4"
protobuf = "==3.20.1" # need to pin this one explicitly since onnx doesn't do it properly
[requires]
python_version = "3.8"
+16 -16
View File
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "d5e50b24791720a83339afab522101a30ae3ecb352301c54e73da9e12279cf13"
"sha256": "ec504d81eba32975f95f66b92eba355826065d5c9a512281988dc928e3b047f4"
},
"pipfile-spec": 6,
"requires": {
@@ -45,7 +45,7 @@
"sha256:84c85a9078b11105f04f3036a9482ae10e4621616db313fe045dd24743a0820d",
"sha256:fe86415d55e84719d75f8b69414f6438ac3547d2078ab91b67e779ef69378412"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==2022.6.15"
},
"cffi": {
@@ -123,7 +123,7 @@
"sha256:5189b6f22b01957427f35b6a08d9a0bc45b46d3788ef5a92e978433c7a35f8a5",
"sha256:575e708016ff3a5e3681541cb9d79312c416835686d054a23accb873b254f413"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==2.1.0"
},
"click": {
@@ -459,7 +459,7 @@
"sha256:fccdf7c2c5821a8cbd0a9440a456f5050492f2270bd54e94360cac663398739b",
"sha256:fd45683c3caddf83abbb1249b653a266e7069a09f486daa8863fb0e7496a9fdb"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==1.7.1"
},
"libusb1": {
@@ -679,7 +679,7 @@
"sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb",
"sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==21.3"
},
"pillow": {
@@ -759,7 +759,7 @@
"sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159",
"sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==1.0.0"
},
"protobuf": {
@@ -789,7 +789,7 @@
"sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20",
"sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3"
],
"markers": "python_version >= '3.7'",
"index": "pypi",
"version": "==3.20.1"
},
"psutil": {
@@ -1263,7 +1263,7 @@
"sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
"sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
],
"markers": "python_version < '3.11'",
"markers": "python_version >= '3.7'",
"version": "==2.0.1"
},
"tomlkit": {
@@ -1271,7 +1271,7 @@
"sha256:1c5bebdf19d5051e2e1de6cf70adfc5948d47221f097fcff7a3ffc91e953eaf5",
"sha256:61901f81ff4017951119cd0d1ed9b7af31c821d6845c8c477587bbdcd5e5854e"
],
"markers": "python_version < '4' and python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6' and python_version < '4'",
"version": "==0.11.1"
},
"tqdm": {
@@ -1287,7 +1287,7 @@
"sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02",
"sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"
],
"markers": "python_version < '3.10'",
"markers": "python_version >= '3.7'",
"version": "==4.3.0"
},
"urllib3": {
@@ -1530,7 +1530,7 @@
"sha256:84c85a9078b11105f04f3036a9482ae10e4621616db313fe045dd24743a0820d",
"sha256:fe86415d55e84719d75f8b69414f6438ac3547d2078ab91b67e779ef69378412"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==2022.6.15"
},
"cffi": {
@@ -1616,7 +1616,7 @@
"sha256:5189b6f22b01957427f35b6a08d9a0bc45b46d3788ef5a92e978433c7a35f8a5",
"sha256:575e708016ff3a5e3681541cb9d79312c416835686d054a23accb873b254f413"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==2.1.0"
},
"coverage": {
@@ -1851,7 +1851,7 @@
"sha256:fccdf7c2c5821a8cbd0a9440a456f5050492f2270bd54e94360cac663398739b",
"sha256:fd45683c3caddf83abbb1249b653a266e7069a09f486daa8863fb0e7496a9fdb"
],
"markers": "python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6'",
"version": "==1.7.1"
},
"lru-dict": {
@@ -2166,7 +2166,7 @@
"sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
"sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
],
"markers": "python_version < '3.11'",
"markers": "python_version >= '3.7'",
"version": "==2.0.1"
},
"tomlkit": {
@@ -2174,7 +2174,7 @@
"sha256:1c5bebdf19d5051e2e1de6cf70adfc5948d47221f097fcff7a3ffc91e953eaf5",
"sha256:61901f81ff4017951119cd0d1ed9b7af31c821d6845c8c477587bbdcd5e5854e"
],
"markers": "python_version < '4' and python_full_version >= '3.6.0'",
"markers": "python_version >= '3.6' and python_version < '4'",
"version": "==0.11.1"
},
"traitlets": {
@@ -2190,7 +2190,7 @@
"sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02",
"sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"
],
"markers": "python_version < '3.10'",
"markers": "python_version >= '3.7'",
"version": "==4.3.0"
},
"urllib3": {