summaryrefslogtreecommitdiff
path: root/tst.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 17:09:11 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 17:09:11 +0000
commit8da5edd2e092e03d15f6e0a6e3de73bd973df22d (patch)
tree09c882f5d5d38a05fe4e91a0421a69d4683e671c /tst.patch
parent840ed09ce73d1d2a617be61fc2014162425760b6 (diff)
automatic import of torchvision
Diffstat (limited to 'tst.patch')
-rw-r--r--tst.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tst.patch b/tst.patch
new file mode 100644
index 0000000..e4136dc
--- /dev/null
+++ b/tst.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index ce67413..6b376c2 100644
+--- a/setup.py
++++ b/setup.py
+@@ -64,7 +64,7 @@ requirements = [
+ ]
+
+ # Excluding 8.3.* because of https://github.com/pytorch/vision/issues/4934
+-pillow_ver = " >= 5.3.0, !=8.3.*"
++pillow_ver = " >= 5.3.0, !=8.3.0, !=8.3.1, !=8.3.2"
+ pillow_req = "pillow-simd" if get_dist("pillow-simd") is not None else "pillow"
+ requirements.append(pillow_req + pillow_ver) \ No newline at end of file