diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-01 07:46:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-01 07:46:34 +0000 |
commit | 282877c498d2af9031ad96f7146aca22030fa0c5 (patch) | |
tree | b66daf706b0ebe1b0a0b9868715fb9b57ed36241 | |
parent | a25021d6d19a2a3bd1c2e1066aa962aba85790c9 (diff) |
automatic import of torchvision
-rw-r--r-- | 001-fixed-illegal-char.patch | 13 | ||||
-rw-r--r-- | torchvision.spec | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/001-fixed-illegal-char.patch b/001-fixed-illegal-char.patch deleted file mode 100644 index 8971923..0000000 --- a/001-fixed-illegal-char.patch +++ /dev/null @@ -1,13 +0,0 @@ -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) - diff --git a/torchvision.spec b/torchvision.spec index d80dc40..8eecf7b 100644 --- a/torchvision.spec +++ b/torchvision.spec @@ -11,7 +11,6 @@ License: BSD-3 URL: https://pytorch.org/vision Source0: https://github.com/pytorch/vision/archive/refs/tags/v%{version}.tar.gz -Patch0: 001-fixed-illegal-char.patch BuildArch: noarch |