From ab56831d722fcf8465d4ff503a5053ba70bdc673 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:01:32 +0000 Subject: [PATCH 1/2] hiredis: Add version 3.5.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/hiredis.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/hiredis.yaml b/docs/packages/hiredis.yaml index 1752db51f89a..a21131dcec32 100644 --- a/docs/packages/hiredis.yaml +++ b/docs/packages/hiredis.yaml @@ -34,3 +34,4 @@ versions: - filename: hiredis-3.4.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl sha256: 11dca837a9e66ba4284e982c5b3eec07e27bbe6d257eabd63a57da69a583a039 requires-python: '>=3.8' +- version: 3.5.0 From 64d865a46b1f7ec2e01c5033306c15d79179f82f Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 03:39:11 +0800 Subject: [PATCH 2/2] hiredis: Carry patches over to version 3.5.0 The 3.4.2 patch applies unchanged. --- ...-hiredis-licence-next-to-the-package.patch | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 patches/hiredis/3.5.0/0001-add-the-vendored-hiredis-licence-next-to-the-package.patch diff --git a/patches/hiredis/3.5.0/0001-add-the-vendored-hiredis-licence-next-to-the-package.patch b/patches/hiredis/3.5.0/0001-add-the-vendored-hiredis-licence-next-to-the-package.patch new file mode 100644 index 000000000000..471078059419 --- /dev/null +++ b/patches/hiredis/3.5.0/0001-add-the-vendored-hiredis-licence-next-to-the-package.patch @@ -0,0 +1,58 @@ +From 73c6977ad99373e411049acfb781b18d67a55c12 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 26 Aug 2026 21:11:29 +0200 +Subject: [PATCH] add the vendored hiredis licence next to the package's own + +Upstream-Status: To upstream [not yet submitted; the same gap exists in every hiredis wheel on PyPI, so this needs a maintainer discussion rather than a drive-by PR] + +setup.py compiles vendor/hiredis (hiredis v1.4.1, BSD 3-clause) straight +into the hiredis.hiredis extension, and that licence requires the +copyright notice to be reproduced with binary redistributions. The wheel +ships only the package's own MIT LICENSE: setuptools globs license files +from the project root, and vendor/hiredis/COPYING is not there. + +Add the vendored notice at the root as LICENSE.hiredis, which the default +LICEN[CS]E* glob picks up, so it lands in dist-info/licenses/ beside +LICENSE with no packaging change. + +Signed-off-by: Ludovic Henry +--- + LICENSE.hiredis | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + create mode 100644 LICENSE.hiredis + +diff --git a/LICENSE.hiredis b/LICENSE.hiredis +new file mode 100644 +index 0000000..a5fc973 +--- /dev/null ++++ b/LICENSE.hiredis +@@ -0,0 +1,29 @@ ++Copyright (c) 2009-2011, Salvatore Sanfilippo ++Copyright (c) 2010-2011, Pieter Noordhuis ++ ++All rights reserved. ++ ++Redistribution and use in source and binary forms, with or without ++modification, are permitted provided that the following conditions are met: ++ ++* Redistributions of source code must retain the above copyright notice, ++ this list of conditions and the following disclaimer. ++ ++* Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ ++* Neither the name of Redis nor the names of its contributors may be used ++ to endorse or promote products derived from this software without specific ++ prior written permission. ++ ++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ++ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ++WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ++ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ++(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ++LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ++ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ++SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.