Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1
@ 2021-08-19 22:50 paper42
  2021-08-22 20:12 ` [PR PATCH] [Updated] " paper42
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: paper42 @ 2021-08-19 22:50 UTC (permalink / raw)
  To: ml

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

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 7048 bytes --]

From a5983d4e444a0ab598848915344edcc85a49ea45 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 1/5] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..b6da46185ce1 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,21 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
 
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
 post_install() {
 	vlicense LICENSE
 }

From 9815881220010a913ff9fc23b70b7497c56b0f4b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 2/5] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From 524dd5ae765777254b0685f6810eed92f0bb5c20 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 3/5] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From ea220b96a95ae1c26c5e272bef139ae1604afe11 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 4/5] python-requests: update to 2.26.0.

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

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..cba24f92edf9 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,14 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From f7e394c2d03761df8984b81ea13e19dad8c53855 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 5/5] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..b2dd93f4293d 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,7 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
@ 2021-08-22 20:12 ` paper42
  2021-08-22 21:10 ` paper42
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-22 20:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10089 bytes --]

From b32f5c9d9a02cbda47866f4679cb245bb1764b60 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 1/7] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 26 ++++++-----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 7 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..e7f7448daa36 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,17 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From 51cb83ae0442123f8d418a47c8ff3616be93080c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 2/7] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From b5ddbd44a7e55fc3c2bf34a2738899e30c2e3227 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 3/7] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 4ed9ca9f53f86072089759bd8dd1c6245fbed556 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 4/7] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 26b19b759fa1f884a8fa2e0ea7baee00f0bd2902 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 5/7] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..b2dd93f4293d 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,7 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

From cae9319c0b88485eb91ca597f212eb5f2613c143 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 6/7] python-idna: remove python3 subpackage

---
 srcpkgs/python-idna/template | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..9cea469f9b69 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -4,7 +4,7 @@ version=2.10
 revision=1
 wrksrc="idna-${version}"
 build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}

From 2594150d22f946189923f7b988464c87afe6ac5f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:43 +0200
Subject: [PATCH 7/7] New package: python3-idna-3.2

---
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..4d1c3b2c45ac
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
+
+post_install() {
+	vlicense LICENSE.rst
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
  2021-08-22 20:12 ` [PR PATCH] [Updated] " paper42
@ 2021-08-22 21:10 ` paper42
  2021-08-22 21:19 ` paper42
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-22 21:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10017 bytes --]

From bd5a0298c1b603062192d68f23f50fd479f4ce2b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 1/6] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 594bd30fe3d6a17e74abae9b14749ce9344ed022 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 2/6] python-idna: split python3-idna to a separate package

idna v3 doesn't support python2 anymore, so let's move with the python3
variant and leave the python2 variant on v2
---
 srcpkgs/python-idna/template  | 13 ++-----------
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..05101f64b883 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -3,8 +3,8 @@ pkgname=python-idna
 version=2.10
 revision=1
 wrksrc="idna-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}
diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..4d1c3b2c45ac
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
+
+post_install() {
+	vlicense LICENSE.rst
+}

From bdd69a2d50fa421d5c24aa77d1d6418592eff2bf Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 3/6] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 176c2b653a968925c7aba3aa4eec8de96ede29a5 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 4/6] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From 11a97ae79bc86d43eba27ec9475b4f60f5747122 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 5/6] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 26 ++++++-----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 7 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..e7f7448daa36 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,17 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From 614f937c9d11ddc3ee5e2b10bd5bf04884e8a97b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 6/6] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..b2dd93f4293d 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,7 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
  2021-08-22 20:12 ` [PR PATCH] [Updated] " paper42
  2021-08-22 21:10 ` paper42
@ 2021-08-22 21:19 ` paper42
  2021-08-22 21:35 ` paper42
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-22 21:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10016 bytes --]

From bd5a0298c1b603062192d68f23f50fd479f4ce2b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 1/6] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 5d3946995428f8cae9b521f48a007155afed00b0 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 2/6] python-idna: split python3-idna to a separate package

idna v3 doesn't support python2 anymore, so let's move with the python3
variant and leave the python2 variant on v2
---
 srcpkgs/python-idna/template  | 13 ++-----------
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..05101f64b883 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -3,8 +3,8 @@ pkgname=python-idna
 version=2.10
 revision=1
 wrksrc="idna-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}
diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..29f49107e2f3
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3
+
+post_install() {
+	vlicense LICENSE.md
+}

From 453f2bf5fbdaaea4d4ab040917d721f2af45636f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 3/6] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 70520634096b62f22a64de60eced0dbe0954451c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 4/6] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From b9f727b7c601cc57110b4885161717748173121d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 5/6] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 26 ++++++-----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 7 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..e7f7448daa36 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,17 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From fd21a3023a383e952c65568bb04f8390dcbfa14d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 6/6] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..b2dd93f4293d 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,7 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
                   ` (2 preceding siblings ...)
  2021-08-22 21:19 ` paper42
@ 2021-08-22 21:35 ` paper42
  2021-08-22 21:43 ` paper42
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-22 21:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10053 bytes --]

From bd5a0298c1b603062192d68f23f50fd479f4ce2b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 1/6] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 5d3946995428f8cae9b521f48a007155afed00b0 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 2/6] python-idna: split python3-idna to a separate package

idna v3 doesn't support python2 anymore, so let's move with the python3
variant and leave the python2 variant on v2
---
 srcpkgs/python-idna/template  | 13 ++-----------
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..05101f64b883 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -3,8 +3,8 @@ pkgname=python-idna
 version=2.10
 revision=1
 wrksrc="idna-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}
diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..29f49107e2f3
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3
+
+post_install() {
+	vlicense LICENSE.md
+}

From 453f2bf5fbdaaea4d4ab040917d721f2af45636f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 3/6] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 70520634096b62f22a64de60eced0dbe0954451c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 4/6] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From 4d2a1adf9975dc2c541ba42ada2287008e2d32ca Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 5/6] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 27 +++++++----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 8 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..ecc47dca1e55 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,18 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
+make_check_target="websocket/tests"
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From 4413f3a8dff96d5cab801c560dfd284b9dd06e5d Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 6/6] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..b2dd93f4293d 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,7 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
                   ` (3 preceding siblings ...)
  2021-08-22 21:35 ` paper42
@ 2021-08-22 21:43 ` paper42
  2021-08-23 10:34 ` leahneukirchen
  2021-08-24 20:45 ` [PR PATCH] [Merged]: " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-22 21:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10113 bytes --]

From bd5a0298c1b603062192d68f23f50fd479f4ce2b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 1/6] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 5d3946995428f8cae9b521f48a007155afed00b0 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 2/6] python-idna: split python3-idna to a separate package

idna v3 doesn't support python2 anymore, so let's move with the python3
variant and leave the python2 variant on v2
---
 srcpkgs/python-idna/template  | 13 ++-----------
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..05101f64b883 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -3,8 +3,8 @@ pkgname=python-idna
 version=2.10
 revision=1
 wrksrc="idna-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}
diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..29f49107e2f3
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3
+
+post_install() {
+	vlicense LICENSE.md
+}

From 453f2bf5fbdaaea4d4ab040917d721f2af45636f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 3/6] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 70520634096b62f22a64de60eced0dbe0954451c Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 4/6] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..12506d44b64e 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"

From 4d2a1adf9975dc2c541ba42ada2287008e2d32ca Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 5/6] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 27 +++++++----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 8 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..ecc47dca1e55 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,18 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
+make_check_target="websocket/tests"
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From d8b606de3b1c6a3d579c84b0c3afeecaeb66f477 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 6/6] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..ce8ff3f11d86 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,8 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
+make_check=ci-skip # some tests fail when running as root
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
                   ` (4 preceding siblings ...)
  2021-08-22 21:43 ` paper42
@ 2021-08-23 10:34 ` leahneukirchen
  2021-08-24 20:45 ` [PR PATCH] [Merged]: " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-08-23 10:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/paper42/void-packages streamlink-2.3.0
https://github.com/void-linux/void-packages/pull/32593

streamlink 2.3.0 and python3-websocket-client 1.2.1
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-streamlink-2.3.0-32593.patch --]
[-- Type: text/x-diff, Size: 10436 bytes --]

From bd5a0298c1b603062192d68f23f50fd479f4ce2b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 20 Aug 2021 00:33:38 +0200
Subject: [PATCH 1/6] New package: python3-charset-normalizer-2.0.4

---
 srcpkgs/python3-charset-normalizer/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-charset-normalizer/template

diff --git a/srcpkgs/python3-charset-normalizer/template b/srcpkgs/python3-charset-normalizer/template
new file mode 100644
index 000000000000..c7d212d8cf1d
--- /dev/null
+++ b/srcpkgs/python3-charset-normalizer/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-charset-normalizer'
+pkgname=python3-charset-normalizer
+version=2.0.4
+revision=1
+wrksrc="charset_normalizer-$version"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Encoding and language detection"
+maintainer="Michal Vasilek <michal@vasilek.cz>"
+license="MIT"
+homepage="https://charset-normalizer.readthedocs.io/"
+distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
+checksum=3fcde2e1c62bb86ed8e20ce03127ffa5ac09a3e2f2c69cc273834ed6d3e94205
+
+post_install() {
+	vlicense LICENSE
+}

From 5d3946995428f8cae9b521f48a007155afed00b0 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 22 Aug 2021 22:01:17 +0200
Subject: [PATCH 2/6] python-idna: split python3-idna to a separate package

idna v3 doesn't support python2 anymore, so let's move with the python3
variant and leave the python2 variant on v2
---
 srcpkgs/python-idna/template  | 13 ++-----------
 srcpkgs/python3-idna          |  1 -
 srcpkgs/python3-idna/template | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)
 delete mode 120000 srcpkgs/python3-idna
 create mode 100644 srcpkgs/python3-idna/template

diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template
index 5ecad795c9db..05101f64b883 100644
--- a/srcpkgs/python-idna/template
+++ b/srcpkgs/python-idna/template
@@ -3,8 +3,8 @@ pkgname=python-idna
 version=2.10
 revision=1
 wrksrc="idna-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python"
 short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
 maintainer="Alessio Sergi <al3hex@gmail.com>"
@@ -17,12 +17,3 @@ checksum=b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
 post_install() {
 	vlicense LICENSE.rst
 }
-
-python3-idna_package() {
-	depends="python3"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE.rst
-	}
-}
diff --git a/srcpkgs/python3-idna b/srcpkgs/python3-idna
deleted file mode 120000
index a7670f279131..000000000000
--- a/srcpkgs/python3-idna
+++ /dev/null
@@ -1 +0,0 @@
-python-idna
\ No newline at end of file
diff --git a/srcpkgs/python3-idna/template b/srcpkgs/python3-idna/template
new file mode 100644
index 000000000000..29f49107e2f3
--- /dev/null
+++ b/srcpkgs/python3-idna/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-idna'
+pkgname=python3-idna
+version=3.2
+revision=1
+wrksrc="idna-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Internationalized Domain Names in Applications (IDNA) for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/kjd/idna"
+changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
+checksum=467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3
+
+post_install() {
+	vlicense LICENSE.md
+}

From 453f2bf5fbdaaea4d4ab040917d721f2af45636f Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 28 Jul 2021 22:37:52 +0200
Subject: [PATCH 3/6] python-requests: update to 2.26.0.

---
 srcpkgs/python-requests/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template
index bde0b03b9ef9..ab2e1eb27067 100644
--- a/srcpkgs/python-requests/template
+++ b/srcpkgs/python-requests/template
@@ -1,6 +1,6 @@
 # Template file for 'python-requests'
 pkgname=python-requests
-version=2.25.1
+version=2.26.0
 revision=1
 wrksrc="requests-${version}"
 build_style=python-module
@@ -12,14 +12,15 @@ 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=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
+checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
+make_check=no # tests are broken for python2 requests
 
 post_patch() {
 	vsed -i '/certifi/d' setup.py
 }
 
 python3-requests_package() {
-	depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
+	depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
 	short_desc="${short_desc/Python2/Python3}"
 	pkg_install() {
 		vmove usr/lib/python3*

From 8f1cc5e052532b6e383d901c799af9b97b9b6298 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Fri, 30 Jul 2021 12:36:05 +0200
Subject: [PATCH 4/6] docker-compose: remove python3-websocket-client
 dependency

they don't use websocket-client since 2014, but they still list it in
dependencies: https://github.com/docker/compose/issues/8455
---
 srcpkgs/docker-compose/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/docker-compose/template b/srcpkgs/docker-compose/template
index c5fcdb65a0ac..e447d00c79f7 100644
--- a/srcpkgs/docker-compose/template
+++ b/srcpkgs/docker-compose/template
@@ -1,21 +1,21 @@
 # Template file for 'docker-compose'
 pkgname=docker-compose
 version=1.27.4
-revision=2
+revision=3
 wrksrc="compose-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
- python3-dockerpty python3-websocket-client python3-requests python3-docopt
- python3-yaml python3-six python3-texttable python3-cached-property
- python3-paramiko>=2.4.2 python3-dotenv python3-distro"
+ python3-dockerpty python3-requests python3-docopt python3-yaml python3-six
+ python3-texttable python3-cached-property python3-paramiko>=2.4.2
+ python3-dotenv python3-distro"
 short_desc="Tool to define and run multi-container Docker applications"
 maintainer="pancake <pancake@nopcode.org>"
 license="Apache-2.0"
 homepage="https://docs.docker.com/compose/"
 distfiles="https://github.com/docker/compose/archive/${version}.tar.gz"
 checksum=1c0458f37e9de4bf2d79fe82c9ab0065c8a6132496c3c2f477599604e294a422
-
+make_check=no # needs ddt which is not packaged
 
 post_install() {
 	vinstall contrib/completion/bash/docker-compose 644 \

From 6f177cd3a6b4b4e85e8857e2d11764309ffaf89a Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:16:04 +0200
Subject: [PATCH 5/6] python3-websocket-client: update to 1.2.1.

---
 srcpkgs/python3-websocket-client/template | 27 +++++++----------------
 srcpkgs/python3-websocket-client/update   |  1 -
 2 files changed, 8 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/python3-websocket-client/update

diff --git a/srcpkgs/python3-websocket-client/template b/srcpkgs/python3-websocket-client/template
index 248adfbf7616..ecc47dca1e55 100644
--- a/srcpkgs/python3-websocket-client/template
+++ b/srcpkgs/python3-websocket-client/template
@@ -1,29 +1,18 @@
 # Template file for 'python3-websocket-client'
 pkgname=python3-websocket-client
-version=0.57.0
+version=1.2.1
 revision=1
-wrksrc="websocket_client-${version}"
+wrksrc="websocket-client-${version}"
 build_style=python3-module
+make_check_target="websocket/tests"
 hostmakedepends="python3-setuptools"
-depends="python3-six ca-certificates"
-checkdepends="python3-pytest python3-six"
+depends="ca-certificates"
+checkdepends="python3-pytest"
 short_desc="WebSocket client for Python3"
 maintainer="Sergi Alvarez <pancake@nopcode.org>"
-license="BSD-3-Clause"
+license="Apache-2.0"
 homepage="https://github.com/websocket-client/websocket-client"
 changelog="https://raw.githubusercontent.com/websocket-client/websocket-client/master/ChangeLog"
-distfiles="${PYPI_SITE}/w/websocket-client/websocket_client-${version}.tar.gz"
-checksum=d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010
+distfiles="https://github.com/websocket-client/websocket-client/archive/refs/tags/v$version.tar.gz"
+checksum=8e056ff93c85b1961234d1c36fda8c5277a03f1ba475d93afb8ec46d2a7976de
 alternatives="websocket-client:wsdump:/usr/bin/wsdump.py"
-
-do_check() {
-	python3 -m pytest
-}
-
-pre_build() {
-	vsed -i "s|'backports.ssl_match_hostname'||" setup.py
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-websocket-client/update b/srcpkgs/python3-websocket-client/update
deleted file mode 100644
index 98c17ed0e0b7..000000000000
--- a/srcpkgs/python3-websocket-client/update
+++ /dev/null
@@ -1 +0,0 @@
-pkgname=websocket_client

From 77fbc4111c5959e9b3717c96a4743b8ac64a5d47 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 14 Jun 2021 18:15:56 +0200
Subject: [PATCH 6/6] streamlink: update to 2.3.0.

---
 srcpkgs/streamlink/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/streamlink/template b/srcpkgs/streamlink/template
index 5b2a5626c20b..ce8ff3f11d86 100644
--- a/srcpkgs/streamlink/template
+++ b/srcpkgs/streamlink/template
@@ -1,6 +1,6 @@
 # Template file for 'streamlink'
 pkgname=streamlink
-version=2.0.0
+version=2.3.0
 revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
@@ -15,7 +15,8 @@ license="BSD-2-Clause"
 homepage="https://streamlink.github.io/"
 changelog="https://raw.githubusercontent.com/streamlink/streamlink/master/CHANGELOG.md"
 distfiles="https://github.com/streamlink/streamlink/releases/download/${version}/streamlink-${version}.tar.gz"
-checksum=c0ead9e961638d41cab9bd9677cdc701f2313bfd4d23cd8158410932839c62db
+checksum=1497e6dc5d2fb8c5b17688f20ca2e8989a279de804a4de37d2107af33b9faa04
+make_check=ci-skip # some tests fail when running as root
 
 export STREAMLINK_USE_PYCOUNTRY=1
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: streamlink 2.3.0 and python3-websocket-client 1.2.1
  2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
                   ` (5 preceding siblings ...)
  2021-08-23 10:34 ` leahneukirchen
@ 2021-08-24 20:45 ` paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2021-08-24 20:45 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

streamlink 2.3.0 and python3-websocket-client 1.2.1
https://github.com/void-linux/void-packages/pull/32593

Description:
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

python3-websocket-client:
* they changed their license to Apache2
* 0.58.0 was a breaking release, but some distributions didn't notice (alpine had 0.58 for a while), so the update should be without a problem, now they follow semver
* 1.0.0 dropped python2 support

docker-compose:
* I removed websocket-client from dependencies, because they don't use it since 2014, but they still list it in dependencies https://github.com/docker/compose/issues/8455

python3-requests (updated because streamlink needs requests>=2.26):
* python3-chardet was replaced by python3-charset-normalizer in the python3 package (upstream decision)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-24 20:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19 22:50 [PR PATCH] streamlink 2.3.0 and python3-websocket-client 1.2.1 paper42
2021-08-22 20:12 ` [PR PATCH] [Updated] " paper42
2021-08-22 21:10 ` paper42
2021-08-22 21:19 ` paper42
2021-08-22 21:35 ` paper42
2021-08-22 21:43 ` paper42
2021-08-23 10:34 ` leahneukirchen
2021-08-24 20:45 ` [PR PATCH] [Merged]: " paper42

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).