summaryrefslogtreecommitdiff
path: root/tst.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 16:08:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 16:08:08 +0000
commit55bcfa84d5dc68140a0207ec188bd557b33d8a8c (patch)
treed7c88b54176f21aef51773e25512288da6819f2b /tst.patch
parent7c2e8f949b9d009a58a5d96c901604c8ad8343a3 (diff)
automatic import of torchvision
Diffstat (limited to 'tst.patch')
-rw-r--r--tst.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tst.patch b/tst.patch
new file mode 100644
index 0000000..7770526
--- /dev/null
+++ b/tst.patch
@@ -0,0 +1,13 @@
+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.1, !=8.3.2, !=8.3.3"
+ 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