summaryrefslogtreecommitdiff
path: root/001-fixed-illegal-char.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-01 04:27:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-01 04:27:25 +0000
commitdab85577573d37a7f3632b7e7cd117a253d94252 (patch)
treedead6f8e294b5fde3532be5e51f4b702b5314f5e /001-fixed-illegal-char.patch
parenta22df70e3f431c5e350e2f850c44a5224b90e7c5 (diff)
automatic import of torchvision
Diffstat (limited to '001-fixed-illegal-char.patch')
-rw-r--r--001-fixed-illegal-char.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/001-fixed-illegal-char.patch b/001-fixed-illegal-char.patch
new file mode 100644
index 0000000..8971923
--- /dev/null
+++ b/001-fixed-illegal-char.patch
@@ -0,0 +1,13 @@
+diff --git a/vision-0.17.2/setup.py b/vision-0.17.2/setup.py
+index ce1cd90..8cc737e 100644
+--- a/vision-0.17.2/setup.py
++++ b/vision-0.17.2/setup.py
+@@ -63,7 +63,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 != 8.3.3"
+ pillow_req = "pillow-simd" if get_dist("pillow-simd") is not None else "pillow"
+ requirements.append(pillow_req + pillow_ver)
+