Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-urllib3: update to 2.0.2.
Date: Mon, 12 Jun 2023 15:49:21 +0200	[thread overview]
Message-ID: <20230612134921.A9htzoTy7Py2PyX1wi5RSw_JGQ8tiJD-eIzg_MhqZB4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43699@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]

There is an updated pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages python3-urllib3-2.0.1
https://github.com/void-linux/void-packages/pull/43699

python3-urllib3: update to 2.0.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (tested streamlink and it doesn't work)

TODO:
- [ ] Fix tests
- [ ] Test (and if necessary, fix) dependents

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/43699.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-urllib3-2.0.1-43699.patch --]
[-- Type: text/x-diff, Size: 6606 bytes --]

From f57a9a4d963d57dfa9bbbe391601c05a7a724320 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Mon, 1 May 2023 18:44:08 +0300
Subject: [PATCH 1/5] python3-urllib3: update to 2.0.3.

---
 srcpkgs/python3-urllib3/template | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/python3-urllib3/template b/srcpkgs/python3-urllib3/template
index 9d35f08c6136..8bcc2cf16fb4 100644
--- a/srcpkgs/python3-urllib3/template
+++ b/srcpkgs/python3-urllib3/template
@@ -1,26 +1,21 @@
 # Template file for 'python3-urllib3'
 pkgname=python3-urllib3
-version=1.26.12
+version=2.0.3
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-six"
-checkdepends="python3-pytest python3-trustme python3-mock python3-pysocks
- python3-tornado python3-dateutil"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools hatchling"
+depends="python3"
+checkdepends="python3-pytest python3-freezegun python3-pytest-timeout
+ python3-trustme python3-mock python3-pysocks python3-tornado python3-dateutil
+ python3-cryptography"
 short_desc="HTTP library with thread-safe connection pooling"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://urllib3.readthedocs.io/"
+changelog="https://raw.githubusercontent.com/urllib3/urllib3/main/CHANGES.rst"
 distfiles="${PYPI_SITE}/u/urllib3/urllib3-${version}.tar.gz"
-checksum=3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e
-
-pre_check() {
-	rm test/test_retry{,_deprecated}.py # FIXME
-}
+checksum=bee28b5e56addb8226c96f7f13ac28cb4c301dd5ea8a6ca179c0b9835e032825
 
 post_install() {
-	rm ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py
-	ln -sf ../../six.py ${DESTDIR}/${py3_sitelib}/urllib3/packages/six.py
-
 	vlicense LICENSE.txt
 }

From 13c0ac05649a81c396329264487d0b523430a52f Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 7 Jun 2023 16:43:00 +0100
Subject: [PATCH 2/5] python3-sentry: update to 1.25.0.

---
 srcpkgs/python3-sentry/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
index d8cd7aecc0f7..1a51efd146d4 100644
--- a/srcpkgs/python3-sentry/template
+++ b/srcpkgs/python3-sentry/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-sentry'
 pkgname=python3-sentry
-version=1.0.0
-revision=3
-build_style=python3-module
-hostmakedepends=python3-setuptools
+version=1.25.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-wheel"
 depends="python3-certifi python3-urllib3"
 checkdepends="${depends}"
 short_desc="New Python SDK for Sentry.io"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/getsentry/sentry-python"
+changelog="https://raw.githubusercontent.com/getsentry/sentry-python/master/CHANGELOG.md"
 distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
+checksum=a53fbdad48764fb4d47d16e0f554f99890e80b85def906e7ad9daf828808127e
 
 do_check() {
 	cd build/lib

From f797ff6b77646471fdab7fe935671282eaa80d93 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 7 Jun 2023 16:51:10 +0100
Subject: [PATCH 3/5] python3-requests: update to 2.31.0.

---
 srcpkgs/python3-requests/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-requests/template b/srcpkgs/python3-requests/template
index a63200112db3..2f64822d4cd1 100644
--- a/srcpkgs/python3-requests/template
+++ b/srcpkgs/python3-requests/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-requests'
 pkgname=python3-requests
-version=2.28.2
+version=2.31.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 checkdepends="python3-pytest $depends python3-trustme python3-pytest-httpbin
- python3-pytest-mock python3-pysocks"
+ python3-pytest-mock python3-pysocks python3-pytest-xdist"
 short_desc="Python3 HTTP library for human beings"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="Apache-2.0"
 homepage="https://python-requests.org/"
 changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md"
 distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz"
-checksum=98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf
+checksum=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py

From b1cee5da772effe3a816d2f2240577a63f364928 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 7 Jun 2023 17:07:31 +0100
Subject: [PATCH 4/5] python3-requests-unixsocket: remove unused dependency.

Not revbumping because python3-urllib3 is a dependency of
python3-requests anyway.
---
 srcpkgs/python3-requests-unixsocket/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-requests-unixsocket/template b/srcpkgs/python3-requests-unixsocket/template
index 110a5eb82771..107dd1f74f00 100644
--- a/srcpkgs/python3-requests-unixsocket/template
+++ b/srcpkgs/python3-requests-unixsocket/template
@@ -4,7 +4,7 @@ version=0.3.0
 revision=2
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pbr"
-depends="python3-requests python3-urllib3"
+depends="python3-requests"
 checkdepends="$depends python3-waitress python3-pytest"
 short_desc="Use requests to talk HTTP via a UNIX domain socket"
 maintainer="Andrew Benson <abenson+void@gmail.com>"

From e6da5e604536b3fb7a239c63f2e62241f6f2b572 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Wed, 7 Jun 2023 17:08:26 +0100
Subject: [PATCH 5/5] python3-pyfavicon: remove unused checkdepends.

---
 srcpkgs/python3-pyfavicon/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pyfavicon/template b/srcpkgs/python3-pyfavicon/template
index c891d95f6b6c..849da4f303b2 100644
--- a/srcpkgs/python3-pyfavicon/template
+++ b/srcpkgs/python3-pyfavicon/template
@@ -5,8 +5,7 @@ revision=4
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-BeautifulSoup4 python3-Pillow python3-aiohttp"
-checkdepends="$depends python3-pytest-cov python3-requests python3-docopt
- python3-urllib3"
+checkdepends="$depends python3-pytest"
 short_desc="Async favicon fetcher for Python"
 maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="MIT"

  parent reply	other threads:[~2023-06-12 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-01 16:37 [PR PATCH] python3-urllib3: update to 2.0.1 mhmdanas
2023-05-07  7:29 ` bastimeyer
2023-05-07 16:28 ` [PR PATCH] [Updated] python3-urllib3: update to 2.0.2 mhmdanas
2023-06-12 13:49 ` mhmdanas [this message]
2023-10-06  1:45 ` python3-urllib3: update to 2.0.3 github-actions
2023-10-21  1:44 ` [PR PATCH] [Closed]: " github-actions

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=20230612134921.A9htzoTy7Py2PyX1wi5RSw_JGQ8tiJD-eIzg_MhqZB4@z \
    --to=mhmdanas@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).