summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 15:37:07 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 15:37:07 +0000
commit4a31eb2c1dfbf7b502bfc9ebcd88c19a7029a523 (patch)
treeb91e747d028153c443e99cadd524488ac9a9deaa
parenta800df8592f89027932600c0e2abc6311e64d588 (diff)
automatic import of torchvision
-rw-r--r--tst.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/tst.patch b/tst.patch
index dab7141..ec5ab1c 100644
--- a/tst.patch
+++ b/tst.patch
@@ -1,13 +1,13 @@
-diff --git a/setup.py b/setup.py
-index ce67413f41..7632e8a13d 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)
+diff --git a/setup.py b/setup.py
+index ce67413f41..7632e8a13d 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