Article View: linux.debian.bugs.rc
Article #133Bug#1150190: ruby-redis: FTBFS in unstable with ruby-redis-client 0.31.0-1: gemspec requires redis-client = 0.30.1
From: Ajayi Olatunji O.
Date: Thu, 08 Oct 2026 11:50
Date: Thu, 08 Oct 2026 11:50
51 lines
5194 bytes
5194 bytes
Additional information, following a suggestion to test a relaxed
requirement.
1. Package build. I took ruby-redis_6.0.0-1.dsc from the archive and
added a quilt patch that changes line 52 of redis.gemspec from '0.30.1'
to '>= 0.30.1' (full patch below). sbuild in an unstable chroot with
ruby-redis-client 0.31.0-1 installed finished with Status: successful
and Lintian: pass. The build log says "Run tests for ruby3.3: no test
suite!", so this step ran no tests.
2. Upstream test suite. I cloned upstream redis-rb at tag v6.0.0 and
made the same change to redis.gemspec. With redis-client 0.31.0 and
hiredis-client 0.31.0 installed from rubygems.org, I ran upstream's
tests as its CI workflow (.github/workflows/test.yaml) does: Redis 8.8.0
servers from upstream's docker-compose.yml, Ruby 3.3.8, and the test
groups redis, distributed, sentinel, modules and cluster, each under
RESP3 and RESP2 with the ruby and hiredis drivers.
Result: 0 failures and 0 errors in every run. The redis group ran 656
tests, distributed 431, sentinel 20, modules 264 and cluster 488, with
skips as the suite defines them. With the original pin (redis-client
0.30.1) the first four groups also passed, with the same counts.
Limits of this result: I tested one Ruby version (3.3.8) and one Redis
version (8.8.0), not the full CI matrix, and I ran the groups one at a
time with rake instead of in one command. I used the redis-client gem
from rubygems.org, not the Debian package ruby-redis-client 0.31.0-1,
and I did not compare the two. These results do not show that the Debian
package builds and passes its own tests with a relaxed dependency.
The pin is deliberate upstream. The comment above line 52 in
redis.gemspec says: "Bump deliberately and re-run the full suite." I
therefore offer the patch and the results as evidence only, not as a
recommended change. I have also asked upstream about redis-client
0.31.0: https://github.com/redis/redis-rb/issues/1398
Patch used for the test:
Index: ruby-redis-6.0.0/redis.gemspec
===================================================================
--- ruby-redis-6.0.0.orig/redis.gemspec
+++ ruby-redis-6.0.0/redis.gemspec
@@ -49,5 +49,5 @@
# constraint can change semantics under a stable redis release. Bump
deliberately and re-run
# the full suite. Note hiredis-client versions in lockstep (it
requires redis-client `= x.y.z`).
- s.add_runtime_dependency('redis-client', '0.30.1')
+ s.add_runtime_dependency('redis-client', '>= 0.30.1')
end
Ajayi Olatunji
Technical Details
Message-ID:
<NLUNj-4gbe-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NLiyl-3VWG-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Ajayi Olatunji O." <ajayiolatunjio@gmail.com>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150190: ruby-redis: FTBFS in unstable with ruby-redis-client 0.31.0-1: gemspec requires redis-client = 0.30.1
Date: Thu, 08 Oct 2026 13:50:01 +0200
Message-ID: <NLUNj-4gbe-3@gated-at.bofh.it>
References: <NLiyl-3VWG-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Thu Oct 8 11:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.548
Reply-To: "Ajayi Olatunji O." <ajayiolatunjio@gmail.com>, 1150190@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-ruby-extras-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1150190
X-Debian-Pr-Package: ruby-redis
X-Debian-Pr-Source: ruby-redis
X-Gm-Message-State: AFuF++kIVyQfSckNbx3sWRxYwbZl9hAdqvHb7qP9VJp+93WQL0IsWxWo
ZJTfNkrqhgosNIb637PxcQENQ/kD4SxzBUdHW5J08wOl5PBXVOkuHpXb9rAUp9jBMs9p8Q==
X-Gm-Gg: AYBFou341libpI/GV6tvTj3rTiBgkiA+shi+J9mk4yms5N/SCA6HaCSQmkvvQmbOau4
Sem/XKiuaFXoBG100kdWysbvattmjjx2M8m57KwUos8jJirJtcezY5xpwUmZDb7oOUXsnZmW5Vn
xaooZjNTjEHUSzOgqDwoiu2KMoFboxkwNQMpA45PgT720Q910UPfweunX/Nd6Yts+7ArouB0Il2
6Ml7pcrQe8352mLjRm+pWtNCF7GaYW/VFwPOB6H9Y6hNmHh9AwasjCx/cpOWPdb6l49/58r6msj
9ifYEXdLxTuFECXGaXJKou236H+PpFb2RiZkd+1E8+AK2qt0ukOI65y/nboAd76uYoV+4d/v254
Mwrxs8Os1Vtcnn6B+8LDgC96g1V6ZRf9rMIoFEvgzn/9cRXvSzponiBz+lTnJIvhohpU+t88UMG
Q1/RokLU6LLnS76w3i+DQek1DegYgAp21pknXffSytj4sPQkJR4+UQcngPxMADJaCSWp2Z2nP1L
R1tgGzI8Sk=
X-Received: by 2002:a05:600c:8b54:b0:49c:fc6e:8caf with SMTP id 5b1f17b1804b1-4a18043c9b9mr94552565e9.19.1791459686072;
Thu, 08 Oct 2026 04:41:26 -0700 (PDT)
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833902
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 51
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 8 Oct 2026 12:41:24 +0100
X-Original-Message-ID: <00b49e7d-59d6-4ec3-9f60-7b62a6e2cca9@gmail.com>
X-Original-References: <f7bfc5aa-ad96-402a-a92d-1b90a73e74dc@gmail.com>