diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-01 01:37:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-01 01:37:17 +0000 |
commit | a22df70e3f431c5e350e2f850c44a5224b90e7c5 (patch) | |
tree | ebdf1c919b37dbadf37ca74e6e537aced3cbc1dc /fix-illegal-char.patch | |
parent | eb98c748167ae62ced197838f12cd41d5646f8d4 (diff) |
automatic import of torchvision
Diffstat (limited to 'fix-illegal-char.patch')
-rw-r--r-- | fix-illegal-char.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fix-illegal-char.patch b/fix-illegal-char.patch new file mode 100644 index 0000000..5f31566 --- /dev/null +++ b/fix-illegal-char.patch @@ -0,0 +1,11 @@ +--- setup.py.orig 2024-04-01 09:17:40.063559466 +0800 ++++ setup.py 2024-04-01 09:20:04.243166454 +0800 +@@ -63,7 +63,7 @@ + ] + + # 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) + |