public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/
Date: Wed, 16 Feb 2022 22:34:14 +0000 (UTC)	[thread overview]
Message-ID: <1645050849.438396359d9a5d6c2a1307de2be9a442e32c5357.mgorny@gentoo> (raw)

commit:     438396359d9a5d6c2a1307de2be9a442e32c5357
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 22:09:15 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 22:34:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43839635

dev-python/redis-py: Bump to 4.1.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/redis-py/Manifest              |  1 +
 dev-python/redis-py/redis-py-4.1.4.ebuild | 78 +++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index ff2d0e2bb226..d7d38713b654 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -2,3 +2,4 @@ DIST redis-py-4.1.0.tar.gz 2346542 BLAKE2B 3d59f904f376df7bca14dcd7bc8547d7a7b41
 DIST redis-py-4.1.1.tar.gz 2349319 BLAKE2B adebda19239e1fd4cf685c0de7a9b2c2fc4e8f23df0e80f2ecdf5f4b9b8b2698fbab613975bd380ea74dc275710d8ed58ee0720486c079bf554612cb7d8b392e SHA512 a974a910dcbaf75516e311badbe6e019cdce668a6d8cd918503934bb92bf97f7ea373fae32139f89a9eecdb360184ae42d24d742ef8b008e95eae648bd992e64
 DIST redis-py-4.1.2.tar.gz 2349862 BLAKE2B 3e68918654e63c3403f2408350b2a877027a3c3990b623818332e0e77e1fbaa413e85912ea586a90788a87e0206ebe408ab55df522864dc534907c31a690c0c1 SHA512 beb6e50051eae61e84e7cf37f9f3e3efbc404d49e506b0b3bdae0d0c45fd940f12c801434a6394505519bf327b5933c076ad4f8c66ad812441bc08b3aa682542
 DIST redis-py-4.1.3.tar.gz 2349885 BLAKE2B d1c16a88e7ec70cf2b954fa9cf841f971c02023b7c9387e3e680e16972d546347ee454febf096e54f7bfcd4dabf163e22e1a0ba3186cbb9417cdd7a613d5a992 SHA512 797c1ee4ff4f0e32b52add5bc1cc81fd36cb1eb4d6f9328b38dca46c79a01bc105bc172f56d3bea20d802ee7a6eb934c2ee3ab5f611a49d77f9c4c50d7a4b0d8
+DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8 SHA512 6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae

diff --git a/dev-python/redis-py/redis-py-4.1.4.ebuild b/dev-python/redis-py/redis-py-4.1.4.ebuild
new file mode 100644
index 000000000000..c0b0dc09baf3
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.1.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="redis"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python client for Redis key-value store"
+HOMEPAGE="https://github.com/redis/redis-py"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+	dev-python/deprecated[${PYTHON_USEDEP}]"
+BDEPEND="
+	test? (
+		dev-db/redis
+		dev-python/pytest-timeout[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# Flaky test
+		tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock
+
+		# Needs a second Redis running
+		tests/test_commands.py::TestRedisCommands::test_sync
+		tests/test_commands.py::TestRedisCommands::test_psync
+	)
+
+	local EPYTEST_IGNORE=(
+		# SSL tests need Docker/stunnel:
+		# https://github.com/redis/redis-py/commit/18c6809b761bc6755349e1d7e08e74e857ec2c65
+		tests/test_ssl.py
+
+		# Needs multiple Redises running
+		tests/test_cluster.py
+	)
+
+	epytest -k "not redismod and not ssl"
+}
+
+src_test() {
+	local redis_pid="${T}"/redis.pid
+	local redis_port=6379
+
+	# Spawn Redis itself for testing purposes
+	# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
+	# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
+	einfo "Spawning Redis"
+	einfo "NOTE: Port ${redis_port} must be free"
+	# "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
+	"${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server"
+		daemonize yes
+		pidfile ${redis_pid}
+		port ${redis_port}
+		bind 127.0.0.1
+	EOF
+
+	# Run the tests
+	distutils-r1_src_test
+
+	# Clean up afterwards
+	kill "$(<"${redis_pid}")" || die
+}


             reply	other threads:[~2022-02-16 22:34 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16 22:34 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-08 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/ Michał Górny
2023-02-08 17:36 Michał Górny
2023-02-08  6:27 Michał Górny
2023-01-11 20:34 Michał Górny
2023-01-08 14:04 Michał Górny
2022-12-25 17:41 Michał Górny
2022-12-25 16:42 Sam James
2022-12-06 16:12 Arthur Zamarin
2022-12-06  6:02 Michał Górny
2022-11-23  8:55 Michał Górny
2022-07-26  6:17 Michał Górny
2022-07-26  1:36 Sam James
2022-07-25  7:12 Michał Górny
2022-06-27 19:08 Arthur Zamarin
2022-06-03  2:19 Sam James
2022-06-03  2:19 Sam James
2022-06-02  0:15 Sam James
2022-05-31  9:01 Sam James
2022-05-10  2:25 Sam James
2022-05-09  9:17 Michał Górny
2022-05-06 11:58 Arthur Zamarin
2022-04-17 16:46 Sam James
2022-04-05  1:11 Sam James
2022-03-31 11:33 Michał Górny
2022-03-24 10:20 Michał Górny
2022-03-16 21:41 Michał Górny
2022-03-16 19:21 Jakov Smolić
2022-03-08 17:11 Jakov Smolić
2022-02-17 20:15 Michał Górny
2022-02-17 19:30 Arthur Zamarin
2022-02-08  9:42 Michał Górny
2022-01-27 19:37 Arthur Zamarin
2022-01-26 20:18 Michał Górny
2022-01-26 19:57 Arthur Zamarin
2022-01-17 12:33 Arthur Zamarin
2021-12-27  2:47 Sam James
2021-12-24  7:23 Agostino Sarubbo
2021-12-24  7:07 Agostino Sarubbo
2021-12-23 22:42 Sam James
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:21 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-11-25 20:28 Arthur Zamarin
2021-11-25  6:47 Sam James
2021-11-25  0:54 Sam James
2021-11-23 13:30 Michał Górny
2021-11-23 13:30 Michał Górny
2021-11-23 13:30 Michał Górny
2021-11-23  8:22 Michał Górny
2021-11-23  8:12 Michał Górny
2021-11-22 23:04 Michał Górny
2021-08-16 14:18 Arthur Zamarin
2021-03-27  0:37 Sam James
2021-03-23  4:53 Sam James
2021-01-18  4:43 Sam James
2020-12-20  6:29 Sam James
2020-11-23 16:39 Sergei Trofimovich
2020-09-04  0:46 Sam James
2020-09-04  0:46 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-08-02 20:22 Sam James
2020-08-02 20:22 Sam James
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-02-10 11:16 Michał Górny
2020-01-13 19:35 Sebastian Pipping
2019-05-11 18:17 Matthew Thode
2019-04-09  7:05 Matthew Thode
2019-04-03 18:46 William Hubbs
2017-09-25  2:43 Zac Medico
2017-07-10 14:25 Alexis Ballier
2017-05-02 19:15 Michał Górny
2017-04-29 12:29 Jeroen Roovers
2017-04-04 21:26 Michael Weber
2017-03-28 15:48 Michael Weber
2017-03-21 14:34 Agostino Sarubbo
2017-03-21 14:18 Agostino Sarubbo
2017-03-15  9:45 Zac Medico
2017-02-23 11:57 Michael Weber
2017-02-23  8:26 Michael Weber
2017-02-23  8:20 Michael Weber
2017-02-17 14:50 Agostino Sarubbo
2017-02-17 13:44 Agostino Sarubbo
2017-01-23  6:19 Jeroen Roovers
2016-10-08 13:56 Pacho Ramos
2015-10-22 11:09 Justin Lecher
2015-10-01 20:45 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645050849.438396359d9a5d6c2a1307de2be9a442e32c5357.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox