Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/s3transfer/, dev-python/s3transfer/files/
Date: Thu, 22 Apr 2021 15:07:14
Message-Id: 1619104017.06d274a6d84e1ba558ba0659766b16ce39f807f7.mgorny@gentoo
1 commit: 06d274a6d84e1ba558ba0659766b16ce39f807f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 12:59:16 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 15:06:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d274a6
7
8 dev-python/s3transfer: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/s3transfer/Manifest | 3 --
13 .../s3transfer/files/s3transfer-0.3.3-py38.patch | 32 -------------------
14 dev-python/s3transfer/s3transfer-0.3.4.ebuild | 36 ----------------------
15 dev-python/s3transfer/s3transfer-0.3.5.ebuild | 32 -------------------
16 dev-python/s3transfer/s3transfer-0.4.0.ebuild | 32 -------------------
17 5 files changed, 135 deletions(-)
18
19 diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest
20 index 10b5ba2db41..78bd7e34967 100644
21 --- a/dev-python/s3transfer/Manifest
22 +++ b/dev-python/s3transfer/Manifest
23 @@ -1,6 +1,3 @@
24 -DIST s3transfer-0.3.4.tar.gz 118954 BLAKE2B 71436d3c8921650dfd2c3aec8a0ddbb2cdee8bb82da605b7a7cc38af112eccb9e2742720c597e01aff57fdd067f8a16a9789f5d5b56dd13f84977607e16ef470 SHA512 012b50cebff200dff3a424241bd0a1aa32bf88cb57a4e3a4616d96aac7c8d5d07e7bfee3a298195f55630d01925d27a3063701d915c6bd080dc2e9f7c01880e9
25 -DIST s3transfer-0.3.5.tar.gz 118959 BLAKE2B 8666ec91058752a1862582f886d373bd4eebbb3684571e1fcb0648e2c4ef3f24366b4e496960715487b6f1fb7fdc96f0031ee48259984f2bcdfbb2a8fe3d33bb SHA512 2a5a0b3163a8ae7097d82f897afec97533acc0d1a03271b5e261bc0b98a9af5a0fa0d594cc4cb701c1698bbc347d10b2b105c4393f349bfd5ef628d1844e7ddb
26 DIST s3transfer-0.3.6.tar.gz 118877 BLAKE2B 0567b69ee71bd470b3b5bccce3db3e923eee6d8744d9e0e5a1789f3ba5f419742859f530ab43295e5ccb7ffe3c04da8db7ef92c973afac97ff2580bc13c6934f SHA512 3bf97f080b63a88f2860051ef9c0ecd4f06adf1a22eb5bd57c543532f7e85c39f722f0c9cd24022ac0ed3a54ca48a089a10b86703cb866730e265e53acbe602f
27 DIST s3transfer-0.3.7.tar.gz 120311 BLAKE2B a5de6ce10527495843605ea9e887ccbfead86f32d0eaa2f68dcc21dceb35c86cc21690bd82e3edd5a033699cf4257db93588cf7bbea8f75c01a80c29a17397fb SHA512 b341103e87c092b1c016dc8bfc45b4564c54f5c5a1f3549cf421802620b755d0779b80718a5b4357d3b206b71773fb2b28571730b673fd9af27fc8a3a40ce1b4
28 -DIST s3transfer-0.4.0.tar.gz 129231 BLAKE2B 4c4e16245f50c8347b5a887307255d33ebcd59ec7422e11361f7782f2df492dfc2507ee0a33903969b0eb610039ef0fdb4f83a2c9fa98cffe0070c7ce8d2eeaf SHA512 4801932d61cc3adfdd105833c3bc50f4135072b10efe04b45bff4b50f18a0783be196338be081e932c73a3eec5448c012bb3988575f8b2b61e9aec9c555ad826
29 DIST s3transfer-0.4.1.tar.gz 129580 BLAKE2B 5b700fc9b7222b32ea74fa0f2ff59754412e4a65eda028433659861538160cb016e3f97421e237b8050920eaf2609fb0756ffc568331c15b1eb313976df30aac SHA512 1de0569d99bf32b5a3a2c240755d82050f4bf72fd98449e19c2807d21180415edff77b86bfc47d0e8c4952a066c933589862cc08851a7b87b1521e4af7da27f9
30
31 diff --git a/dev-python/s3transfer/files/s3transfer-0.3.3-py38.patch b/dev-python/s3transfer/files/s3transfer-0.3.3-py38.patch
32 deleted file mode 100644
33 index 89f3d4b5ab3..00000000000
34 --- a/dev-python/s3transfer/files/s3transfer-0.3.3-py38.patch
35 +++ /dev/null
36 @@ -1,32 +0,0 @@
37 -From f211b9851698d07cf218e78ebb39a337c8751df8 Mon Sep 17 00:00:00 2001
38 -From: Christopher Baines <mail@×××××××.net>
39 -Date: Sat, 2 May 2020 15:19:58 +0100
40 -Subject: [PATCH] Fix test_download_futures_fail_triggers_shutdown with Python
41 - 3.8
42 -
43 -The behaviour of set_exception for futures changed in Python 3.8, it'll now
44 -raise concurrent.futures.InvalidStateError if the future is already done [1],
45 -which is the case in this test because set_result has already been called on
46 -the future.
47 -
48 -1: https://bugs.python.org/issue33238
49 -
50 -Fix the test by not using the future from SequentialExecutor, and instead
51 -creating a future which doesn't have a result.
52 ----
53 - tests/unit/test_s3transfer.py | 2 +-
54 - 1 file changed, 1 insertion(+), 1 deletion(-)
55 -
56 -diff --git a/tests/unit/test_s3transfer.py b/tests/unit/test_s3transfer.py
57 -index a87b4dd..4715be2 100644
58 ---- a/tests/unit/test_s3transfer.py
59 -+++ b/tests/unit/test_s3transfer.py
60 -@@ -465,7 +465,7 @@ def __init__(self, max_workers):
61 - self.is_first = True
62 -
63 - def submit(self, function):
64 -- future = super(FailedDownloadParts, self).submit(function)
65 -+ future = futures.Future()
66 - if self.is_first:
67 - # This is the download_parts_thread.
68 - future.set_exception(
69
70 diff --git a/dev-python/s3transfer/s3transfer-0.3.4.ebuild b/dev-python/s3transfer/s3transfer-0.3.4.ebuild
71 deleted file mode 100644
72 index 66e3530ca12..00000000000
73 --- a/dev-python/s3transfer/s3transfer-0.3.4.ebuild
74 +++ /dev/null
75 @@ -1,36 +0,0 @@
76 -# Copyright 1999-2021 Gentoo Authors
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=7
80 -
81 -PYTHON_COMPAT=( python3_{7..9} )
82 -DISTUTILS_USE_SETUPTOOLS=bdepend
83 -
84 -inherit distutils-r1
85 -
86 -DESCRIPTION="An Amazon S3 Transfer Manager"
87 -HOMEPAGE="https://github.com/boto/s3transfer"
88 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
89 -
90 -LICENSE="Apache-2.0"
91 -SLOT="0"
92 -KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
93 -
94 -RDEPEND="
95 - dev-python/botocore[${PYTHON_USEDEP}]
96 -"
97 -BDEPEND="
98 - test? (
99 - dev-python/mock[${PYTHON_USEDEP}]
100 - )
101 -"
102 -
103 -distutils_enable_tests nose
104 -
105 -PATCHES=(
106 - "${FILESDIR}"/s3transfer-0.3.3-py38.patch
107 -)
108 -
109 -python_test() {
110 - nosetests -v tests/unit/ tests/functional/ || die "tests failed under ${EPYTHON}"
111 -}
112
113 diff --git a/dev-python/s3transfer/s3transfer-0.3.5.ebuild b/dev-python/s3transfer/s3transfer-0.3.5.ebuild
114 deleted file mode 100644
115 index 48ca166b178..00000000000
116 --- a/dev-python/s3transfer/s3transfer-0.3.5.ebuild
117 +++ /dev/null
118 @@ -1,32 +0,0 @@
119 -# Copyright 1999-2021 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=7
123 -
124 -PYTHON_COMPAT=( python3_{7..9} )
125 -DISTUTILS_USE_SETUPTOOLS=bdepend
126 -
127 -inherit distutils-r1
128 -
129 -DESCRIPTION="An Amazon S3 Transfer Manager"
130 -HOMEPAGE="https://github.com/boto/s3transfer"
131 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
132 -
133 -LICENSE="Apache-2.0"
134 -SLOT="0"
135 -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
136 -
137 -RDEPEND="
138 - dev-python/botocore[${PYTHON_USEDEP}]
139 -"
140 -BDEPEND="
141 - test? (
142 - dev-python/mock[${PYTHON_USEDEP}]
143 - )
144 -"
145 -
146 -distutils_enable_tests pytest
147 -
148 -python_test() {
149 - epytest tests/{unit,functional}
150 -}
151
152 diff --git a/dev-python/s3transfer/s3transfer-0.4.0.ebuild b/dev-python/s3transfer/s3transfer-0.4.0.ebuild
153 deleted file mode 100644
154 index 48ca166b178..00000000000
155 --- a/dev-python/s3transfer/s3transfer-0.4.0.ebuild
156 +++ /dev/null
157 @@ -1,32 +0,0 @@
158 -# Copyright 1999-2021 Gentoo Authors
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=7
162 -
163 -PYTHON_COMPAT=( python3_{7..9} )
164 -DISTUTILS_USE_SETUPTOOLS=bdepend
165 -
166 -inherit distutils-r1
167 -
168 -DESCRIPTION="An Amazon S3 Transfer Manager"
169 -HOMEPAGE="https://github.com/boto/s3transfer"
170 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
171 -
172 -LICENSE="Apache-2.0"
173 -SLOT="0"
174 -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
175 -
176 -RDEPEND="
177 - dev-python/botocore[${PYTHON_USEDEP}]
178 -"
179 -BDEPEND="
180 - test? (
181 - dev-python/mock[${PYTHON_USEDEP}]
182 - )
183 -"
184 -
185 -distutils_enable_tests pytest
186 -
187 -python_test() {
188 - epytest tests/{unit,functional}
189 -}