Your message dated Wed, 28 May 2025 22:05:11 +0000
with message-id <e1ukotb-002wko...@fasolo.debian.org>
and subject line Bug#1106376: fixed in python-redis 6.1.0-2
has caused the Debian Bug report #1106376,
regarding redis breaks python-redis autopkgtest on arm64, ppc64el, riscv64 and 
s390x
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1106376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106376
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: redis, python-redis
Control: found -1 redis/5:8.0.0-2
Control: found -1 python-redis/6.1.0-1
Severity: serious
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of redis the autopkgtest of python-redis fails in testing when that autopkgtest is run with the binary packages of redis from unstable. Assuming the version of python-redis in unstable would solve the issue, I scheduled several tests, both in unstable and in testing with more packages from unstable. The test fails on arm64, ppc64el, riscv64 and s390x. It passes when run with only packages from testing. In tabular form:

                       pass            fail
redis                  from testing    5:8.0.0-2
python-redis           from testing    6.1.0-1 / 5.2.1-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of redis to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=redis

https://ci.debian.net/data/autopkgtest/testing/arm64/p/python-redis/60942686/log.gz

=================================== FAILURES =================================== 118s _____________ TestRedisCommands.test_georadius_store_dist[single] ______________ 118s 118s self = <tests.test_asyncio.test_commands.TestRedisCommands object at 0xffffa9a7f160> 118s r = <redis.asyncio.client.Redis(<redis.asyncio.connection.ConnectionPool(<redis.asyncio.connection.Connection(host=localhost,port=6379,db=0)>)>)>
118s 118s     @skip_unless_arch_bits(64)
118s     @skip_if_server_version_lt("3.2.0")
118s     @pytest.mark.onlynoncluster
118s     async def test_georadius_store_dist(self, r: redis.Redis):
118s         values = (2.1909389952632, 41.433791470673, "place1") + (
118s             2.1873744593677,
118s             41.406342043777,
118s             "place2",
118s         )
118s     118s         await r.geoadd("barcelona", values)
118s         await r.georadius(
118s "barcelona", 2.191, 41.433, 1000, store_dist="places_barcelona"
118s         )
118s         # instead of save the geo score, the distance is saved.
118s > assert await r.zscore("places_barcelona", "place1") == 88.05060698409301
118s E       assert 88.05060698338646 == 88.05060698409301
118s 118s tests/test_asyncio/test_commands.py:2842: AssertionError
118s ______________ TestRedisCommands.test_georadius_store_dist[pool] _______________ 118s 118s self = <tests.test_asyncio.test_commands.TestRedisCommands object at 0xffffa9a7f200> 118s r = <redis.asyncio.client.Redis(<redis.asyncio.connection.ConnectionPool(<redis.asyncio.connection.Connection(host=localhost,port=6379,db=0)>)>)>
118s 118s     @skip_unless_arch_bits(64)
118s     @skip_if_server_version_lt("3.2.0")
118s     @pytest.mark.onlynoncluster
118s     async def test_georadius_store_dist(self, r: redis.Redis):
118s         values = (2.1909389952632, 41.433791470673, "place1") + (
118s             2.1873744593677,
118s             41.406342043777,
118s             "place2",
118s         )
118s     118s         await r.geoadd("barcelona", values)
118s         await r.georadius(
118s "barcelona", 2.191, 41.433, 1000, store_dist="places_barcelona"
118s         )
118s         # instead of save the geo score, the distance is saved.
118s > assert await r.zscore("places_barcelona", "place1") == 88.05060698409301
118s E       assert 88.05060698338646 == 88.05060698409301
118s 118s tests/test_asyncio/test_commands.py:2842: AssertionError
118s __________________ TestRedisCommands.test_geosearchstore_dist __________________ 118s 118s self = <tests.test_commands.TestRedisCommands object at 0xffffab3d3bb0> 118s r = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=localhost,port=6379,db=0)>)>)>
118s 118s     @pytest.mark.onlynoncluster
118s     @skip_unless_arch_bits(64)
118s     @skip_if_server_version_lt("6.2.0")
118s     def test_geosearchstore_dist(self, r):
118s         values = (2.1909389952632, 41.433791470673, "place1") + (
118s             2.1873744593677,
118s             41.406342043777,
118s             "place2",
118s         )
118s     118s         r.geoadd("barcelona", values)
118s         r.geosearchstore(
118s             "places_barcelona",
118s             "barcelona",
118s             longitude=2.191,
118s             latitude=41.433,
118s             radius=1000,
118s             storedist=True,
118s         )
118s         # instead of save the geo score, the distance is saved.
118s > assert r.zscore("places_barcelona", "place1") == 88.05060698409301
118s E       AssertionError: assert 88.05060698338646 == 88.05060698409301
118s E + where 88.05060698338646 = zscore('places_barcelona', 'place1') 118s E + where zscore = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=localhost,port=6379,db=0)>)>)>.zscore
118s 118s tests/test_commands.py:4036: AssertionError
118s _________________ TestRedisCommands.test_georadius_store_dist __________________ 118s 118s self = <tests.test_commands.TestRedisCommands object at 0xffffab3d3e80> 118s r = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=localhost,port=6379,db=0)>)>)>
118s 118s     @pytest.mark.onlynoncluster
118s     @skip_unless_arch_bits(64)
118s     @skip_if_server_version_lt("3.2.0")
118s     def test_georadius_store_dist(self, r):
118s         values = (2.1909389952632, 41.433791470673, "place1") + (
118s             2.1873744593677,
118s             41.406342043777,
118s             "place2",
118s         )
118s     118s         r.geoadd("barcelona", values)
118s r.georadius("barcelona", 2.191, 41.433, 1000, store_dist="places_barcelona")
118s         # instead of save the geo score, the distance is saved.
118s > assert r.zscore("places_barcelona", "place1") == 88.05060698409301
118s E       AssertionError: assert 88.05060698338646 == 88.05060698409301
118s E + where 88.05060698338646 = zscore('places_barcelona', 'place1') 118s E + where zscore = <redis.client.Redis(<redis.connection.ConnectionPool(<redis.connection.Connection(host=localhost,port=6379,db=0)>)>)>.zscore
118s 118s tests/test_commands.py:4192: AssertionError
118s =============================== warnings summary =============================== 118s tests/test_asyncio/test_sentinel.py::test_repr_correctly_represents_connection_object 118s /tmp/autopkgtest-lxc.c1pdxwmz/downtmp/build.nZN/src/redis/asyncio/connection.py:232: ResourceWarning: unclosed Connection <redis.asyncio.sentinel.SentinelManagedConnection,host=127.0.0.1,port=6379)>
118s     _warnings.warn(
118s   118s   Object allocated at:
118s File "/tmp/autopkgtest-lxc.c1pdxwmz/downtmp/build.nZN/src/redis/asyncio/connection.py", line 1174
118s       return self.connection_class(**self.connection_kwargs)
118s 118s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 118s =========================== short test summary info ============================ 118s FAILED tests/test_asyncio/test_commands.py::TestRedisCommands::test_georadius_store_dist[single] 118s FAILED tests/test_asyncio/test_commands.py::TestRedisCommands::test_georadius_store_dist[pool] 118s FAILED tests/test_commands.py::TestRedisCommands::test_geosearchstore_dist - ... 118s FAILED tests/test_commands.py::TestRedisCommands::test_georadius_store_dist 118s = 4 failed, 663 passed, 63 skipped, 2296 deselected, 20 xpassed, 1 warning in 76.87s (0:01:16) =
119s autopkgtest [05:43:26]: test 0002-python3

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-redis
Source-Version: 6.1.0-2
Done: Chris Lamb <la...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-redis, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1106...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (supplier of updated python-redis package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 28 May 2025 14:31:30 -0700
Source: python-redis
Architecture: source
Version: 6.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Closes: 1106376
Changes:
 python-redis (6.1.0-2) unstable; urgency=medium
 .
   * Use math.isclose() over testing for floating point equality. This should
     fix broken autopkgtests on the arm64, ppc64el, riscv64 and s390x
     architectures. (Closes: #1106376)
Checksums-Sha1:
 c705b18fdfe0c9023dad6b62ac013cf822f694ab 2259 python-redis_6.1.0-2.dsc
 d88da4b384f03ec01d53b9b0bc1eb7568377f81a 4865160 python-redis_6.1.0.orig.tar.gz
 6e0134a2a516f1a6a0d07660a9aa8b976b9047bc 7956 
python-redis_6.1.0-2.debian.tar.xz
 515be97522fcff5becedb8f4c13900b58883a916 6452 
python-redis_6.1.0-2_source.buildinfo
Checksums-Sha256:
 0f97bee7d1f743137d3d300f9dda090b5ac8d06118fb1c04aab420a93d153371 2259 
python-redis_6.1.0-2.dsc
 72aa3907720de4e3e0e44d64e60791d0d95c4f23dc1602f0a2011d3583a930a2 4865160 
python-redis_6.1.0.orig.tar.gz
 168aa227e96817b60711116812ec5f15eaf1c2eaa1064003e0ac62f88bf04fb3 7956 
python-redis_6.1.0-2.debian.tar.xz
 1a353f34dac71b319029268b533d79c2e9f6757f20340f3a0e19f8f4e9746df2 6452 
python-redis_6.1.0-2_source.buildinfo
Files:
 20b1dcdb9e42942727c954ad2d9afdc4 2259 python optional python-redis_6.1.0-2.dsc
 83b8ecfd189b71a49f9462e009234dbf 4865160 python optional 
python-redis_6.1.0.orig.tar.gz
 1533d593996fce94bc8391d6d2f4f168 7956 python optional 
python-redis_6.1.0-2.debian.tar.xz
 7b4361eb63e654733cc68101a09d9ac6 6452 python optional 
python-redis_6.1.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmg3g4cACgkQHpU+J9Qx
HljmOQ/7Bhb1JDo12Q47xSXgu2yexQ3sd/ayKLEBMxsC9zkDwb1Wz0vxbwr5RLIb
w2AeHmZyVM2tMwr1N76F0is3TEWDRErc3xkYlIeOZ9u8JorxTWg1P8xqJHNAmYtt
SBYkPstmLP4ctqMTx/iYyunBENwPgiZ3A8UDu8Xrda7N6QVPVaGfxxzt/1rBNBxs
ENHyWb/k5fBSOVXXzmwXUjyaL1wVky6ck2Txuv5HQeOvBFj/nt2kmMpOp+F+kHkj
ujVvWB5C5f4CwSVKIxEmsdzeDT+VRD89ELUvPt5V5dspk3iomYs3jJCER3uNzCvf
l4LWZgSjkyb+n5KtI00wM1Q0xsnSggojCpcxr505KpAyvxhAL07vJp17sL1H09vJ
cC5+bZFSfbz6mIgACJNHWXExaDxRdcQSZUi7eh+lGSssf3v1dVYs4tZ6TDnQYB6V
60xS/iEHh+ORtZtfy4m6GSbbx/tCoci0f7vsXMQkvcow8QDw+IL5XVvlqQwePgTP
FZGf7d2LsXKGHk1+vCDaStH3ahxIsR/q04uThxXsx01eyH9kfrSchVC+x+Y+Y2SZ
nSr4idk2dhoSJ9HUWaZHBI59Yp39BVEknJJwv+pOYAM4KGMgRuxQiZUh9s/gs5HZ
KeSZQDgGUaYPtjghhIb4sQ7WiWj9hsP68vaUf5P4LuLQIGSk96s=
=XQ+9
-----END PGP SIGNATURE-----

Attachment: pgpDYZQClWSRD.pgp
Description: PGP signature


--- End Message ---

Reply via email to