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/requests/
Date: Fri, 13 Jan 2023 07:09:12 +0000 (UTC)	[thread overview]
Message-ID: <1673593739.7adf7031ce6cd2b053a3bde1c7d0cdb7c5a47592.mgorny@gentoo> (raw)

commit:     7adf7031ce6cd2b053a3bde1c7d0cdb7c5a47592
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 06:33:14 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 07:08:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adf7031

dev-python/requests: Bump to 2.28.2

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

 dev-python/requests/Manifest               |  1 +
 dev-python/requests/requests-2.28.2.ebuild | 72 ++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 399f9c8adfdf..8c19f20cc4ad 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1 +1,2 @@
 DIST requests-2.28.1.tar.gz 109805 BLAKE2B 2106be5f9e1d9f1a22de5522b5d72084f91c2849e60e33b89b2411b76cae9b1f7faac34947f69c49480d001e9b77e4dce723ee939d51591882854d510db49b59 SHA512 c123ec07171c2c7c34e4173b97750adfa313b4312d91c0d58e4eb8750361604017e5b370c23ec886d2cbf704f9074ec5ad0fa9c2cd8e6f9521532adafff39d41
+DIST requests-2.28.2.tar.gz 108206 BLAKE2B fe6c5d78e6abd36b7134c6e424b5a1c4052eba62b55a01b5842f289b94df3af039a5beba71374db563dd52ce42471d5e3650763b9324533ea6ab3bfd8013379b SHA512 3c4ba19a2bb6ba38a4118cf246db3855401869d54ee7ebd9bee40b435420381fb737d4c69768f2bd97914a30d66233c7058cec51aa629af0dff3b04e6f997a3d

diff --git a/dev-python/requests/requests-2.28.2.ebuild b/dev-python/requests/requests-2.28.2.ebuild
new file mode 100644
index 000000000000..75005219765c
--- /dev/null
+++ b/dev-python/requests/requests-2.28.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="HTTP library for human beings"
+HOMEPAGE="
+	https://requests.readthedocs.io/
+	https://github.com/psf/requests/
+	https://pypi.org/project/requests/
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="socks5 test-rust"
+
+RDEPEND="
+	>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
+	<dev-python/charset_normalizer-4[${PYTHON_USEDEP}]
+	<dev-python/idna-4[${PYTHON_USEDEP}]
+	<dev-python/urllib3-1.27[${PYTHON_USEDEP}]
+	socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+	test? (
+		dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+		dev-python/pytest-mock[${PYTHON_USEDEP}]
+		>=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
+		test-rust? (
+			dev-python/trustme[${PYTHON_USEDEP}]
+		)
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.28.0-drop-dependency-warnings.patch
+)
+
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# Internet (doctests)
+		requests/__init__.py::requests
+		requests/api.py::requests.api.request
+		requests/models.py::requests.models.PreparedRequest
+		requests/sessions.py::requests.sessions.Session
+		# require IPv4 interface in 10.* range
+		tests/test_requests.py::TestTimeout::test_connect_timeout
+		tests/test_requests.py::TestTimeout::test_total_timeout_connect
+		# TODO: openssl?
+		tests/test_requests.py::TestRequests::test_pyopenssl_redirect
+	)
+
+	if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			tests/test_requests.py::TestRequests::test_https_warnings
+		)
+	fi
+
+	epytest
+}


             reply	other threads:[~2023-01-13  7:09 UTC|newest]

Thread overview: 161+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-13  7:09 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15  8:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/ Arthur Zamarin
2024-05-30  4:03 Michał Górny
2024-05-22  4:49 Michał Górny
2024-05-21  6:22 Arthur Zamarin
2024-05-21  4:14 Michał Górny
2024-05-14 10:05 Michał Górny
2023-05-29  9:42 Michał Górny
2023-05-23 13:37 Michał Górny
2023-05-23 10:17 Sam James
2023-05-23  5:07 Michał Górny
2023-05-04  8:06 Michał Górny
2023-04-27 19:27 Michał Górny
2023-04-27 19:27 Michał Górny
2023-03-16  4:07 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-01-13  7:09 Michał Górny
2022-10-13  4:54 Michał Górny
2022-06-29 17:08 Arthur Zamarin
2022-06-16 11:24 Michał Górny
2022-06-16  9:33 Jakov Smolić
2022-06-09 19:19 Michał Górny
2022-05-13 11:21 Michał Górny
2022-05-13 11:21 Michał Górny
2022-02-04  8:40 Michał Górny
2022-02-04  7:22 Agostino Sarubbo
2022-02-03 21:34 Michał Górny
2022-02-03 20:57 Arthur Zamarin
2022-01-05 17:18 Arthur Zamarin
2022-01-03 17:49 Arthur Zamarin
2021-11-28 14:42 Michał Górny
2021-11-28  7:14 Michał Górny
2021-11-11  8:07 Michał Górny
2021-11-11  3:49 Sam James
2021-11-05 22:28 Sam James
2021-09-08  0:42 Sam James
2021-09-06 17:29 Sam James
2021-09-06  5:40 Agostino Sarubbo
2021-09-06  0:15 Sam James
2021-09-05 20:07 Agostino Sarubbo
2021-09-05 20:04 Agostino Sarubbo
2021-09-05 20:01 Agostino Sarubbo
2021-09-05  6:02 Sam James
2021-08-21 22:15 James Le Cuirot
2021-08-13  6:58 Michał Górny
2021-08-06 20:52 Sam James
2021-08-06 20:49 Sam James
2021-07-31 22:26 Joshua Kinard
2021-07-25 15:29 Sergei Trofimovich
2021-07-25  3:16 Matt Turner
2021-07-25  1:10 Sam James
2021-07-24 15:22 Sam James
2021-07-23 13:21 Marek Szuba
2021-07-23 12:46 Marek Szuba
2021-07-20 20:36 Sergei Trofimovich
2021-07-17  7:25 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-20 13:51 Michał Górny
2021-05-05 12:19 Michał Górny
2021-03-26  9:41 Michał Górny
2021-02-09 17:45 Mike Gilbert
2020-12-23  2:10 Sam James
2020-12-16 23:04 Michał Górny
2020-11-28  8:07 Sam James
2020-11-11 20:55 Michał Górny
2020-09-20 10:24 Michał Górny
2020-09-18 15:43 Michał Górny
2020-08-15  5:28 Joshua Kinard
2020-07-31  6:21 Michał Górny
2020-07-30 22:53 Sam James
2020-07-30 22:53 Sam James
2020-07-29 10:20 Michał Górny
2020-07-27 20:06 Aaron Bauman
2020-07-15 20:18 Sergei Trofimovich
2020-07-14 16:32 Sam James
2020-07-14 15:22 Sam James
2020-07-11 22:28 Sam James
2020-06-18 10:26 Michał Górny
2020-06-05 16:10 Sergei Trofimovich
2020-05-26 10:35 Michał Górny
2020-05-08 17:15 Agostino Sarubbo
2020-05-06  6:48 Sergei Trofimovich
2020-05-06  6:41 Sergei Trofimovich
2020-05-05 22:13 Sergei Trofimovich
2020-05-04 17:36 Thomas Deutschmann
2020-05-04 12:17 Michał Górny
2020-05-04  6:16 Mart Raudsepp
2020-05-03 19:02 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-04-11 12:08 Mart Raudsepp
2020-03-25 13:12 Agostino Sarubbo
2020-03-16  5:54 Matt Turner
2020-02-21 10:08 Michał Górny
2020-02-19 19:33 Sergei Trofimovich
2019-12-26 23:58 Aaron Bauman
2019-11-27 13:37 Mikle Kolyada
2019-11-22 19:38 Michał Górny
2019-03-10  8:33 Mikle Kolyada
2019-03-03  6:28 Mikle Kolyada
2019-03-03  6:28 Mikle Kolyada
2019-03-03  6:28 Mikle Kolyada
2019-03-02 20:46 Matt Turner
2019-02-15 18:09 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann
2019-02-13 19:10 Markus Meier
2019-02-12 21:14 Sergei Trofimovich
2019-02-12 21:03 Sergei Trofimovich
2019-02-12 14:56 Mart Raudsepp
2019-02-12  8:12 Sergei Trofimovich
2019-02-12  8:11 Sergei Trofimovich
2019-02-11 23:36 Sergei Trofimovich
2018-12-17 21:21 Patrick McLean
2018-12-14  7:40 Patrick McLean
2018-07-16 19:57 Michał Górny
2018-07-09 21:22 Sebastian Pipping
2018-06-24 16:37 Sebastian Pipping
2018-06-17  4:10 Tim Harder
2018-02-22 17:38 Michał Górny
2017-09-15 21:46 Mike Gilbert
2017-09-12  9:13 Fabian Groffen
2017-08-29 13:34 Mike Gilbert
2017-08-28  0:47 Matt Thode
2017-06-29 22:04 Sebastien Fabbro
2017-06-15 18:19 Markus Meier
2017-05-22 16:48 Tobias Klausmann
2017-05-19 21:44 Michael Weber
2017-05-19 13:37 Michael Weber
2017-05-16 20:13 Mike Gilbert
2017-05-15 14:48 Mike Gilbert
2017-05-06 11:13 Jeroen Roovers
2017-04-09 21:37 Zac Medico
2017-03-01  6:49 Tim Harder
2017-02-19  1:03 Mike Gilbert
2017-01-23  4:46 Lars Wendler
2017-01-23  4:46 Lars Wendler
2016-12-22 22:46 Lars Wendler
2016-12-01 13:55 Lars Wendler
2016-11-30 18:05 Michał Górny
2016-09-30  7:22 Lars Wendler
2016-09-30  7:21 Lars Wendler
2016-06-21  2:47 Mike Frysinger
2016-01-22  8:03 Justin Lecher
2015-12-24  9:24 Justin Lecher
2015-12-17 14:48 Justin Lecher
2015-11-23 10:05 Justin Lecher
2015-11-23  6:44 Jeroen Roovers
2015-11-22 19:28 Markus Meier
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 16:26 Agostino Sarubbo
2015-11-16 16:15 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-11 17:27 Justin Lecher
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-18 16:48 Mikle Kolyada
2015-10-15 14:41 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-10-11  7:05 Justin Lecher

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=1673593739.7adf7031ce6cd2b053a3bde1c7d0cdb7c5a47592.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