summaryrefslogtreecommitdiff
path: root/dev-python/tornado
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
commit2d3042634af4767714cb90eff3f773ef54afb5ed (patch)
tree52df7aa6b75899440a32b7c80c8d7015adaf4524 /dev-python/tornado
parent14bda3c9c57c13e8a59303f400678313fd770bdd (diff)
gentoo auto-resync : 29:05:2023 - 03:16:09
Diffstat (limited to 'dev-python/tornado')
-rw-r--r--dev-python/tornado/Manifest3
-rw-r--r--dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch12
-rw-r--r--dev-python/tornado/tornado-6.3.2.ebuild10
3 files changed, 22 insertions, 3 deletions
diff --git a/dev-python/tornado/Manifest b/dev-python/tornado/Manifest
index 47ae91bbdd59..f65ae82b4cd7 100644
--- a/dev-python/tornado/Manifest
+++ b/dev-python/tornado/Manifest
@@ -1,3 +1,4 @@
+AUX tornado-6.3.2-ignore-deprecationwarning.patch 656 BLAKE2B a64b3b5f021f4e1939c69f20fe93ef61eb64666b083773c1fa189af03d0964b8832a97d49ce18924f9e1202f26bb85b76d182f2baaa8265d0e1a2decbd12efef SHA512 5cd0258db519ec2a02a9988160a345c94ffb2abae92a78fb8e9d3eb6017bac8ecb86f4ef0e3eedb5ea561344213850e2b342a1f6517c909a3c6a0224606f2afd
AUX tornado-6.3.2-test-timeout-increase.patch 521 BLAKE2B 9d3b5d8a380178f84146e7909a6557c28c48df775abb96afadbe4a06a7b565d5c32f39359060fd45028120c8952238f95fca3348e225096784e806864cfd2b7a SHA512 00a964cd75224195e8de77bc7137c087c6f4128734a9c55505ef4d88d512deb0325df56e3da4c8fefac10915613e1dc244c9107123a22bc9f124fa515fae9f4a
DIST tornado-6.2.tar.gz 504849 BLAKE2B 18fee464e043e20dcdd5677bc3a72949140a64ce353e09a21242fcade6d8b668517553c649d65e892d9c3fabacea96903d4e42b70676a62759900abc8f4a202f SHA512 157cbeee21bef29ac68b319329e7fc57db4c68dbb5a245e2171b7a28427ebbfe16b745e3bdbdec5912caae5eaa60c3cbbf8830c9c76fec5ffdf025e234468517
DIST tornado-6.3.1.tar.gz 508547 BLAKE2B ed7d9085f75291d341574c610b23a9a24468238988e7bd726be6da4ed8cd5588c1df5e11a154f3c9843931d210198d3bd57d3999b4bdcdf13b3b78afec04df36 SHA512 e6b33d017448060d29e718cb4ed4f852f3f1a970ef6149fcf88900cf7a7f008b737cfdad3c217a6c43a5c7176aee0adb72c3c0055b6b3faac49acd34c3b74b90
@@ -5,6 +6,6 @@ DIST tornado-6.3.2.tar.gz 508776 BLAKE2B 10cea881365ab72290ac9bc240dc7fa4e77511b
DIST tornado-6.3.tar.gz 507992 BLAKE2B a894fbb62e4246be82b09856977758e8e55886b77917a4a23a6411a58b2b85ae1ae9113e70cc00bf0b0775566d0bda237ab3ba91ff18012c7c72f24dff587a9e SHA512 f25bbf1e489bb53ba5ed502a9241b3629a66a8bee3ba54d8bd96946e478ea06dfdf70e6f937da25c8240cb16cc5c9ff3011415503c7d03e2b1eeb2f7567d8209
EBUILD tornado-6.2-r1.ebuild 1731 BLAKE2B 4750f57886291ae09f300e20eddee0cccba0dfa07144e563a7ab9aa15879700760e511c1c9556fe4e82d6bf48036aefcfe67099dcb1261a248c538ab528f5ddc SHA512 f32d7d2078531728822b732bafcc8c738656e2a3dbba1ad9e1e6fb09346c4506d2a1814d56e95cf37780a8c8180e0b3560c791a9cb3afc1b45668b780b988401
EBUILD tornado-6.3.1.ebuild 1321 BLAKE2B b0e47d2f9d7a089e459f94531c8246e9d0cf3adf27552da3adc960286856ec6f1063270ef492012dd72b9f3f6ab192ae09fc791cf341b9b7d7e45ecf234264c1 SHA512 e4d01cceac4bf818ac8a54df022010fce75d6a27966911c57f07bfdaf07ea2b9c19352b0c6c84ac5c0e50368e54f808f4266c3c6cd3252716a4733ee1c88debb
-EBUILD tornado-6.3.2.ebuild 1383 BLAKE2B 919fbb15c9ce5477edf1a9feb57bf4ef11eed48e49ebf70571be1159e3987201924647dade94f16890cbe39209fbdc8de82cb635ddf8d2fc376e5e854daedf62 SHA512 b41682745f53a413356e160cfd500c30cc88cd575ae632b6ed65c97a6597145d2c7ad36720ab0e81f7a059d508121569753192869025006ecde8c068322a4811
+EBUILD tornado-6.3.2.ebuild 1627 BLAKE2B 470ddecffc85fcb0d06c01060da20a7000e03208ea067eff1eabe30115a5f035ab8611fa4e6de485e3e1e965881491b3f92abe842b74a09e923b9de3f24c6eae SHA512 f03fd0347c1dabff997b43fa5d33d0f9e4127fd1e4d686716be2f5d75a468729a6f4dd8ce07157361701b45ffa3cf4682cf891495eba81525458b511d5214473
EBUILD tornado-6.3.ebuild 1305 BLAKE2B abbcf9da88e6413cc75d7e6b1efda18ad742fa7c3467e691ba67bb11349c9f14c38eded49074e028f498e14af8560e1f8541290f58953d1f7992d641391fe4e8 SHA512 0e632b21bf10141731907854cb8c46c2037864e892e9c816b2fa38b02331775f0da2df3279727778a3e8c5772e5362477bac64b327f844a0af13c1856c219be0
MISC metadata.xml 381 BLAKE2B 96d5942b11b6364eeac2248f6e92a9e7a54094ba2b6e9ef966be4143e1fa01fa0c417027d33a71c51bb094b905b9ff79e05107e1a9debb4b1ef932ba11fd8565 SHA512 cd4db13e0c6a9cf8b3c788c53dc5ecd0dce2cf783e7b2d67dba71299d1c6a3d1dd2c2a76c0d69816ab0da4ca23f831613323c55864fd858690c605da5426bf60
diff --git a/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch b/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch
new file mode 100644
index 000000000000..7a6139173faf
--- /dev/null
+++ b/dev-python/tornado/files/tornado-6.3.2-ignore-deprecationwarning.patch
@@ -0,0 +1,12 @@
+https://src.fedoraproject.org/rpms/python-tornado/raw/rawhide/f/Do-not-turn-DeprecationWarning-into-Exception.patch
+--- a/tornado/test/runtests.py
++++ b/tornado/test/runtests.py
+@@ -126,7 +126,6 @@
+ # Tornado generally shouldn't use anything deprecated, but some of
+ # our dependencies do (last match wins).
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
+- warnings.filterwarnings("error", category=DeprecationWarning, module=r"tornado\..*")
+ warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
+ warnings.filterwarnings(
+ "error", category=PendingDeprecationWarning, module=r"tornado\..*"
+
diff --git a/dev-python/tornado/tornado-6.3.2.ebuild b/dev-python/tornado/tornado-6.3.2.ebuild
index 6f7c89f5d33a..b1955082e3b1 100644
--- a/dev-python/tornado/tornado-6.3.2.ebuild
+++ b/dev-python/tornado/tornado-6.3.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi
@@ -19,7 +19,7 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="examples test"
RESTRICT="!test? ( test )"
@@ -37,6 +37,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-6.3.2-test-timeout-increase.patch
+ "${FILESDIR}"/${PN}-6.3.2-ignore-deprecationwarning.patch
)
src_prepare() {
@@ -49,6 +50,11 @@ src_prepare() {
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
+ # Avoid time-sensitive tests
+ # https://github.com/tornadoweb/tornado/blob/10974e6ebee80a26a2a65bb9bd715cf858fafde5/tornado/test/util.py#L19
+ local -x TRAVIS=1
+ local -x NO_NETWORK=1
+
cd "${T}" || die
"${EPYTHON}" -m tornado.test.runtests --verbose ||
die "tests failed under ${EPYTHON}"