diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-31 11:25:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-31 11:25:38 +0000 |
commit | 728245937325a241e03e0248d9bdf6475f1beb9c (patch) | |
tree | f016fdeea6ca480b214711fe5c0575fd22106a75 /0001-fix-illegal-char.patch | |
parent | 3bdf0f3523d50c673ebec8eaa995e1f3297470b3 (diff) |
automatic import of python-torchvision
Diffstat (limited to '0001-fix-illegal-char.patch')
-rw-r--r-- | 0001-fix-illegal-char.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/0001-fix-illegal-char.patch b/0001-fix-illegal-char.patch new file mode 100644 index 0000000..aeb0ac4 --- /dev/null +++ b/0001-fix-illegal-char.patch @@ -0,0 +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) + |