From bbe0633e231bbebd88b43903953302a6e8882c3a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Apr 2024 16:32:24 +0000 Subject: automatic import of torchvision --- sources | 2 +- torchvision.spec | 8 +++----- tst.patch | 12 ------------ 3 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 tst.patch diff --git a/sources b/sources index 75641de..695ece4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a0e7f9cc2aa638576fd8088813377294 v0.16.2.tar.gz +73e4905cd63ecc614fc6abf2d0a1d171 v0.17.2.tar.gz diff --git a/torchvision.spec b/torchvision.spec index 99a6a01..156a15b 100644 --- a/torchvision.spec +++ b/torchvision.spec @@ -1,13 +1,12 @@ Summary: The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. Name: torchvision -Version: 0.16.2 +Version: 0.17.2 Release: 1 License: BSD Group: Development/Libraries -Source0: https://github.com/pytorch/vision/archive/refs/tags/v0.16.2.tar.gz +Source0: https://github.com/pytorch/vision/archive/refs/tags/v0.17.2.tar.gz URL: https://github.com/pytorch/vision BuildRoot: %{_tmppath}/%{name}-buildroot -Patch0: tst.patch Requires: python3-pytorch Requires: python3-numpy @@ -45,11 +44,10 @@ Torchvision is a PyTorch add-on that provides access to: - Models (ResNet, VGG, etc.) - Transforms (for image preprocessing) -%global pypi_version 0.16.2 +%global pypi_version 0.17.2 %prep %autosetup -p1 -n vision-%{pypi_version} -%patch -P 0 -p1 %build %pyproject_build diff --git a/tst.patch b/tst.patch deleted file mode 100644 index e4136dc..0000000 --- a/tst.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/setup.py b/setup.py -index ce67413..6b376c2 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.0, !=8.3.1, !=8.3.2" - 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 -- cgit v1.2.3