Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-redis: update to 4.3.4
@ 2022-10-12  2:00 ahesford
  2022-10-12 12:15 ` abenson
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ahesford @ 2022-10-12  2:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ahesford/void-packages python3-redis-4.3.4
https://github.com/void-linux/void-packages/pull/39904

python3-redis: update to 4.3.4
@abenson I see no reference to `redis` anywhere in the `ytmdl` repository. Please confirm that removing this dependency is OK.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-redis-4.3.4-39904.patch --]
[-- Type: text/x-diff, Size: 5700 bytes --]

From 5ed3d5068e074b3d88d84eccea9857a51997dc31 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:51:55 -0400
Subject: [PATCH 1/4] New package: python3-deprecated-1.2.13

---
 srcpkgs/python3-deprecated/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-deprecated/template

diff --git a/srcpkgs/python3-deprecated/template b/srcpkgs/python3-deprecated/template
new file mode 100644
index 000000000000..4eb400ffd0dd
--- /dev/null
+++ b/srcpkgs/python3-deprecated/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-deprecated'
+pkgname=python3-deprecated
+version=1.2.13
+revision=1
+wrksrc="deprecated-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-wrapt"
+checkdepends="python3-pytest-xdist python3-wrapt"
+short_desc="Python decorator to deprecate old clases, functions or methods"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="MIT"
+homepage="https://github.com/tantale/deprecated"
+changelog="https://raw.githubusercontent.com/tantale/deprecated/master/CHANGELOG.rst"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=771e20e93bb4bc497bd9955829d36074dd7608962846c0b34a92ff68ed7ebad9
+
+post_install() {
+	vlicense LICENSE.rst
+}

From b65d696085f1b8f260687f9a06262614ceca70cc Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:18 -0400
Subject: [PATCH 2/4] python3-redis: update to 4.3.4.

---
 srcpkgs/python3-redis/template | 15 +++++++++------
 srcpkgs/python3-redis/update   |  1 +
 2 files changed, 10 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/python3-redis/update

diff --git a/srcpkgs/python3-redis/template b/srcpkgs/python3-redis/template
index f228a1c88df3..86d803932946 100644
--- a/srcpkgs/python3-redis/template
+++ b/srcpkgs/python3-redis/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-redis'
 pkgname=python3-redis
-version=3.5.3
-revision=4
+version=4.3.4
+revision=1
 wrksrc="redis-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
+depends="python3-deprecated python3-async-timeout python3-packaging"
 short_desc="Python3 client for Redis key-value store"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="MIT"
-homepage="https://github.com/andymccurdy/redis-py"
+homepage="https://github.com/redis/redis-py"
+changelog="https://raw.githubusercontent.com/redis/redis-py/master/CHANGES"
 distfiles="${PYPI_SITE}/r/redis/redis-${version}.tar.gz"
-checksum=0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
+checksum=ddf27071df4adf3821c4f2ca59d67525c3a82e5f268bed97b813cb4fabf87880
+replaces="python3-aioredis<=2.0.1_1"
+make_check=no # tests require a running redis server
 
 post_install() {
 	vlicense LICENSE
diff --git a/srcpkgs/python3-redis/update b/srcpkgs/python3-redis/update
new file mode 100644
index 000000000000..e299d00ea67c
--- /dev/null
+++ b/srcpkgs/python3-redis/update
@@ -0,0 +1 @@
+ignore="*rc*"

From 2a930788aa9d6c513ceaf1c815dcd10165adf15c Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:43 -0400
Subject: [PATCH 3/4] python3-aioredis: remove package

This package has been superseded by python3-redis>=4.2.0, see

    https://raw.githubusercontent.com/aio-libs/aioredis-py/master/README.md
---
 srcpkgs/python3-aioredis/template | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 srcpkgs/python3-aioredis/template

diff --git a/srcpkgs/python3-aioredis/template b/srcpkgs/python3-aioredis/template
deleted file mode 100644
index fee5bba3139b..000000000000
--- a/srcpkgs/python3-aioredis/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-aioredis'
-pkgname=python3-aioredis
-version=2.0.1
-revision=1
-wrksrc="aioredis-py-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-async-timeout python3-typing_extensions python3-hiredis"
-short_desc="Asynchronous Redis client for Python"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="MIT"
-homepage="https://github.com/aio-libs/aioredis"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=ee647e340c5436f2e5a07f2369fdb164abc2714c7ab3561c544015d974021b57
-# checks require a locally running redis server
-make_check="no"
-
-post_install() {
-	vlicense LICENSE
-}

From 855271f9dbc548226f84f9ef1344d4b81f9ba594 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:59:42 -0400
Subject: [PATCH 4/4] ytmdl: remove unnecessary python3-redis dependency

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

diff --git a/srcpkgs/ytmdl/template b/srcpkgs/ytmdl/template
index 2575c3ee61d1..52a118f2dfd6 100644
--- a/srcpkgs/ytmdl/template
+++ b/srcpkgs/ytmdl/template
@@ -1,7 +1,7 @@
 # Template file for 'ytmdl'
 pkgname=ytmdl
 version=2022.03.16
-revision=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
@@ -10,7 +10,7 @@ depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
  python3-Unidecode python3-urllib3 python3-youtube-search
  python3-pyDes python3-simber python3-rich python3-musicbrainzngs
  python3-typing_extensions python3-ytmusicapi python3-youtubesearch
- python3-spotipy python3-redis"
+ python3-spotipy"
 short_desc="Get songs from youtube in mp3 format with all tags from itunes"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="MIT"

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

* Re: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
@ 2022-10-12 12:15 ` abenson
  2022-10-12 12:21 ` abenson
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2022-10-12 12:15 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/39904#issuecomment-1276065642

Comment:
Correct, it should be added to `python3-spotipy`


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

* Re: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
  2022-10-12 12:15 ` abenson
@ 2022-10-12 12:21 ` abenson
  2022-10-12 12:24 ` ahesford
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2022-10-12 12:21 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/39904#issuecomment-1276073374

Comment:
[Hm, that might cause an issue](https://github.com/plamere/spotipy/blob/master/setup.py#L33)

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

* Re: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
  2022-10-12 12:15 ` abenson
  2022-10-12 12:21 ` abenson
@ 2022-10-12 12:24 ` ahesford
  2022-10-12 12:50 ` abenson
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ahesford @ 2022-10-12 12:24 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/39904#issuecomment-1276077026

Comment:
> [Hm, that might cause an issue](https://github.com/plamere/spotipy/blob/master/setup.py#L33)

No, that limits the maximum version only for Python less than v3.4. I'll move the dependency to spotipy (and also try to convince upstream to make redis an optional dependency, because it's only really required if you opt to use redis for cache handling).

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

* Re: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
                   ` (2 preceding siblings ...)
  2022-10-12 12:24 ` ahesford
@ 2022-10-12 12:50 ` abenson
  2022-10-12 12:51 ` abenson
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2022-10-12 12:50 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/39904#issuecomment-1276123062

Comment:
Oh, I was just looking at this part. `redis<4.0.0`

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

* Re: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
                   ` (3 preceding siblings ...)
  2022-10-12 12:50 ` abenson
@ 2022-10-12 12:51 ` abenson
  2022-10-12 13:29 ` [PR PATCH] [Updated] " ahesford
  2022-10-12 13:35 ` [PR PATCH] [Merged]: " ahesford
  6 siblings, 0 replies; 8+ messages in thread
From: abenson @ 2022-10-12 12:51 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/39904#issuecomment-1276123062

Comment:
Oh, I was only looking at this part (`redis<4.0.0`) and misread

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

* Re: [PR PATCH] [Updated] python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
                   ` (4 preceding siblings ...)
  2022-10-12 12:51 ` abenson
@ 2022-10-12 13:29 ` ahesford
  2022-10-12 13:35 ` [PR PATCH] [Merged]: " ahesford
  6 siblings, 0 replies; 8+ messages in thread
From: ahesford @ 2022-10-12 13:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ahesford/void-packages python3-redis-4.3.4
https://github.com/void-linux/void-packages/pull/39904

python3-redis: update to 4.3.4
@abenson I see no reference to `redis` anywhere in the `ytmdl` repository. Please confirm that removing this dependency is OK.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-redis-4.3.4-39904.patch --]
[-- Type: text/x-diff, Size: 6741 bytes --]

From da0377ffeb5cefe1613dc66b95c4b0be986cff23 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:51:55 -0400
Subject: [PATCH 1/5] New package: python3-deprecated-1.2.13

---
 srcpkgs/python3-deprecated/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-deprecated/template

diff --git a/srcpkgs/python3-deprecated/template b/srcpkgs/python3-deprecated/template
new file mode 100644
index 000000000000..4eb400ffd0dd
--- /dev/null
+++ b/srcpkgs/python3-deprecated/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-deprecated'
+pkgname=python3-deprecated
+version=1.2.13
+revision=1
+wrksrc="deprecated-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-wrapt"
+checkdepends="python3-pytest-xdist python3-wrapt"
+short_desc="Python decorator to deprecate old clases, functions or methods"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="MIT"
+homepage="https://github.com/tantale/deprecated"
+changelog="https://raw.githubusercontent.com/tantale/deprecated/master/CHANGELOG.rst"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=771e20e93bb4bc497bd9955829d36074dd7608962846c0b34a92ff68ed7ebad9
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 277dad5284bcbb5161b48563f178998bd90c96c3 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:18 -0400
Subject: [PATCH 2/5] python3-redis: update to 4.3.4.

---
 srcpkgs/python3-redis/template | 15 +++++++++------
 srcpkgs/python3-redis/update   |  1 +
 2 files changed, 10 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/python3-redis/update

diff --git a/srcpkgs/python3-redis/template b/srcpkgs/python3-redis/template
index f228a1c88df3..86d803932946 100644
--- a/srcpkgs/python3-redis/template
+++ b/srcpkgs/python3-redis/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-redis'
 pkgname=python3-redis
-version=3.5.3
-revision=4
+version=4.3.4
+revision=1
 wrksrc="redis-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
+depends="python3-deprecated python3-async-timeout python3-packaging"
 short_desc="Python3 client for Redis key-value store"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="MIT"
-homepage="https://github.com/andymccurdy/redis-py"
+homepage="https://github.com/redis/redis-py"
+changelog="https://raw.githubusercontent.com/redis/redis-py/master/CHANGES"
 distfiles="${PYPI_SITE}/r/redis/redis-${version}.tar.gz"
-checksum=0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
+checksum=ddf27071df4adf3821c4f2ca59d67525c3a82e5f268bed97b813cb4fabf87880
+replaces="python3-aioredis<=2.0.1_1"
+make_check=no # tests require a running redis server
 
 post_install() {
 	vlicense LICENSE
diff --git a/srcpkgs/python3-redis/update b/srcpkgs/python3-redis/update
new file mode 100644
index 000000000000..e299d00ea67c
--- /dev/null
+++ b/srcpkgs/python3-redis/update
@@ -0,0 +1 @@
+ignore="*rc*"

From 214f97305954c6246feff63d94864eee267f8b9c Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:43 -0400
Subject: [PATCH 3/5] python3-aioredis: remove package

This package has been superseded by python3-redis>=4.2.0, see

    https://raw.githubusercontent.com/aio-libs/aioredis-py/master/README.md
---
 srcpkgs/python3-aioredis/template | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 srcpkgs/python3-aioredis/template

diff --git a/srcpkgs/python3-aioredis/template b/srcpkgs/python3-aioredis/template
deleted file mode 100644
index fee5bba3139b..000000000000
--- a/srcpkgs/python3-aioredis/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-aioredis'
-pkgname=python3-aioredis
-version=2.0.1
-revision=1
-wrksrc="aioredis-py-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-async-timeout python3-typing_extensions python3-hiredis"
-short_desc="Asynchronous Redis client for Python"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="MIT"
-homepage="https://github.com/aio-libs/aioredis"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=ee647e340c5436f2e5a07f2369fdb164abc2714c7ab3561c544015d974021b57
-# checks require a locally running redis server
-make_check="no"
-
-post_install() {
-	vlicense LICENSE
-}

From b503a7634b77385af90a3ca3177ad7d2fad1b40a Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:59:42 -0400
Subject: [PATCH 4/5] ytmdl: remove unnecessary python3-redis dependency

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

diff --git a/srcpkgs/ytmdl/template b/srcpkgs/ytmdl/template
index 2575c3ee61d1..52a118f2dfd6 100644
--- a/srcpkgs/ytmdl/template
+++ b/srcpkgs/ytmdl/template
@@ -1,7 +1,7 @@
 # Template file for 'ytmdl'
 pkgname=ytmdl
 version=2022.03.16
-revision=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
@@ -10,7 +10,7 @@ depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
  python3-Unidecode python3-urllib3 python3-youtube-search
  python3-pyDes python3-simber python3-rich python3-musicbrainzngs
  python3-typing_extensions python3-ytmusicapi python3-youtubesearch
- python3-spotipy python3-redis"
+ python3-spotipy"
 short_desc="Get songs from youtube in mp3 format with all tags from itunes"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="MIT"

From e59b654b5ae253e3d66f4a378449981ab325ce0e Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 12 Oct 2022 09:28:06 -0400
Subject: [PATCH 5/5] python3-spotipy: add missing python3-redis dependency

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

diff --git a/srcpkgs/python3-spotipy/template b/srcpkgs/python3-spotipy/template
index 6ea9e629df06..1132f7ca36ae 100644
--- a/srcpkgs/python3-spotipy/template
+++ b/srcpkgs/python3-spotipy/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-spotipy'
 pkgname=python3-spotipy
 version=2.20.0
-revision=1
+revision=2
 wrksrc="spotipy-${version}"
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
 makedepends="python3-devel"
-depends="python3-requests python3-six python3-urllib3"
+depends="python3-requests python3-six python3-urllib3 python3-redis"
 short_desc="Light weight Python library for the Spotify Web API"
 maintainer="Eloi Torrents <eloitor@disroot.org>"
 license="MIT"

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

* Re: [PR PATCH] [Merged]: python3-redis: update to 4.3.4
  2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
                   ` (5 preceding siblings ...)
  2022-10-12 13:29 ` [PR PATCH] [Updated] " ahesford
@ 2022-10-12 13:35 ` ahesford
  6 siblings, 0 replies; 8+ messages in thread
From: ahesford @ 2022-10-12 13:35 UTC (permalink / raw)
  To: ml

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

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

python3-redis: update to 4.3.4
https://github.com/void-linux/void-packages/pull/39904

Description:
@abenson I see no reference to `redis` anywhere in the `ytmdl` repository. Please confirm that removing this dependency is OK.

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

end of thread, other threads:[~2022-10-12 13:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12  2:00 [PR PATCH] python3-redis: update to 4.3.4 ahesford
2022-10-12 12:15 ` abenson
2022-10-12 12:21 ` abenson
2022-10-12 12:24 ` ahesford
2022-10-12 12:50 ` abenson
2022-10-12 12:51 ` abenson
2022-10-12 13:29 ` [PR PATCH] [Updated] " ahesford
2022-10-12 13:35 ` [PR PATCH] [Merged]: " ahesford

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