Your message dated Mon, 10 Oct 2022 20:37:52 +0000
with message-id <e1ohzx6-00cqc3...@fasolo.debian.org>
and subject line Bug#1019223: fixed in python-channels-redis 4.0.0-1
has caused the Debian Bug report #1019223,
regarding python-pytest-asyncio breaks python-channels-redis autopkgtest: 
async_generator' object has no attribute 'send'
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.)


-- 
1019223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019223
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pytest-asyncio, python-channels-redis
Control: found -1 python-pytest-asyncio/0.19.0-1
Control: found -1 python-channels-redis/3.3.0-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of python-pytest-asyncio the autopkgtest of python-channels-redis fails in testing when that autopkgtest is run with the binary packages of python-pytest-asyncio from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python-pytest-asyncio  from testing    0.19.0-1
python-channels-redis  from testing    3.3.0-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 python-pytest-asyncio 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=python-pytest-asyncio

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-channels-redis/25749566/log.gz

============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0+repack
rootdir: /tmp/autopkgtest-lxc.yuamnrh_/downtmp/autopkgtest_tmp
plugins: asyncio-0.19.0
asyncio: mode=strict
collected 66 items / 34 deselected / 32 selected

tests/test_core.py F.F.F.FF.......FF.......... [ 84%] tests/test_pubsub.py FFFFF [100%]

=================================== FAILURES =================================== ______________________________ test_send_receive _______________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70987440>

    @pytest.mark.asyncio
    async def test_send_receive(channel_layer):
        """
Makes sure we can send a message to a normal channel then receive it.
        """
      await channel_layer.send(
            "test-channel-1", {"type": "test.message", "text": "Ahoy-hoy!"}
        )
E       AttributeError: 'async_generator' object has no attribute 'send'

tests/test_core.py:83: AttributeError
______________________________ test_send_capacity ______________________________

channel_layer = <async_generator object channel_layer at 0x7fbf701222c0>

    @pytest.mark.asyncio
    async def test_send_capacity(channel_layer):
        """
        Makes sure we get ChannelFull when we hit the send capacity
        """
      await channel_layer.send("test-channel-1", {"type": "test.message"})
E       AttributeError: 'async_generator' object has no attribute 'send'

tests/test_core.py:133: AttributeError
_______________________ test_process_local_send_receive ________________________

channel_layer = <async_generator object channel_layer at 0x7fbf701223c0>

    @pytest.mark.asyncio
    async def test_process_local_send_receive(channel_layer):
        """
Makes sure we can send a message to a process-local channel then receive it.
        """
      channel_name = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_core.py:159: AttributeError
___________________________ test_reject_bad_channel ____________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70122640>

    @pytest.mark.asyncio
    async def test_reject_bad_channel(channel_layer):
        """
        Makes sure sending/receiving on an invalic channel name fails.
        """
        with pytest.raises(TypeError):
          await channel_layer.send("=+135!", {"type": "foom"})
E           AttributeError: 'async_generator' object has no attribute 'send'

tests/test_core.py:189: AttributeError
________________________ test_reject_bad_client_prefix _________________________

channel_layer = <async_generator object channel_layer at 0x7fbf701223c0>

    @pytest.mark.asyncio
    async def test_reject_bad_client_prefix(channel_layer):
        """
Makes sure receiving on a non-prefixed local channel is not allowed.
        """
        with pytest.raises(AssertionError):
          await channel_layer.receive("not-client-prefix!local_part")
E AttributeError: 'async_generator' object has no attribute 'receive'

tests/test_core.py:200: AttributeError
___________________________ test_group_send_capacity ___________________________

channel_layer = <async_generator object channel_layer at 0x7fbf701224c0>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7fbf7021c100>

    @pytest.mark.asyncio
    async def test_group_send_capacity(channel_layer, caplog):
        """
Makes sure we dont group_send messages to channels that are over capacity. Make sure number of channels with full capacity are logged as an exception to help debug errors.
        """
    >       channel = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_core.py:336: AttributeError
__________________ test_group_send_capacity_multiple_channels __________________

channel_layer = <async_generator object channel_layer at 0x7fbf701232c0>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7fbf70059de0>

    @pytest.mark.asyncio
async def test_group_send_capacity_multiple_channels(channel_layer, caplog):
        """
Makes sure we dont group_send messages to channels that are over capacity Make sure number of channels with full capacity are logged as an exception to help debug errors.
        """
    >       channel_1 = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_core.py:369: AttributeError
______________________________ test_send_receive _______________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70122dc0>

    @pytest.mark.asyncio
    async def test_send_receive(channel_layer):
        """
Makes sure we can send a message to a normal channel then receive it.
        """
      channel = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_pubsub.py:27: AttributeError
___________________________ test_multi_send_receive ____________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70017840>

    @pytest.mark.asyncio
    async def test_multi_send_receive(channel_layer):
        """
        Tests overlapping sends and receives, and ordering.
        """
      channel = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_pubsub.py:39: AttributeError
______________________________ test_groups_basic _______________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70017bc0>

    @pytest.mark.asyncio
    async def test_groups_basic(channel_layer):
        """
        Tests basic group operation.
        """
      channel_name1 = await channel_layer.new_channel(prefix="test-gr-chan-1")
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_pubsub.py:53: AttributeError
___________________________ test_groups_same_prefix ____________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70017cc0>

    @pytest.mark.asyncio
    async def test_groups_same_prefix(channel_layer):
        """
        Tests group_send with multiple channels with same channel prefix
        """
      channel_name1 = await channel_layer.new_channel(prefix="test-gr-chan")
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_pubsub.py:76: AttributeError
_______________________ test_random_reset__channel_name ________________________

channel_layer = <async_generator object channel_layer at 0x7fbf70017d40>

    @pytest.mark.asyncio
    async def test_random_reset__channel_name(channel_layer):
        """
Makes sure resetting random seed does not make us reuse channel names.
        """
        random.seed(1)
      channel_name_1 = await channel_layer.new_channel()
E AttributeError: 'async_generator' object has no attribute 'new_channel'

tests/test_pubsub.py:97: AttributeError
=========================== short test summary info ============================ FAILED tests/test_core.py::test_send_receive - AttributeError: 'async_generat... FAILED tests/test_core.py::test_send_capacity - AttributeError: 'async_genera... FAILED tests/test_core.py::test_process_local_send_receive - AttributeError: ... FAILED tests/test_core.py::test_reject_bad_channel - AttributeError: 'async_g... FAILED tests/test_core.py::test_reject_bad_client_prefix - AttributeError: 'a... FAILED tests/test_core.py::test_group_send_capacity - AttributeError: 'async_... FAILED tests/test_core.py::test_group_send_capacity_multiple_channels - Attri... FAILED tests/test_pubsub.py::test_send_receive - AttributeError: 'async_gener... FAILED tests/test_pubsub.py::test_multi_send_receive - AttributeError: 'async... FAILED tests/test_pubsub.py::test_groups_basic - AttributeError: 'async_gener... FAILED tests/test_pubsub.py::test_groups_same_prefix - AttributeError: 'async... FAILED tests/test_pubsub.py::test_random_reset__channel_name - AttributeError... ================ 12 failed, 20 passed, 34 deselected in 19.70s =================
autopkgtest [15:31:07]: test upstream

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-channels-redis
Source-Version: 4.0.0-1
Done: Michael Fladischer <fl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-channels-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 1019...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated 
python-channels-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: Mon, 10 Oct 2022 20:13:47 +0000
Source: python-channels-redis
Architecture: source
Version: 4.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Closes: 1019223
Changes:
 python-channels-redis (4.0.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * Use github tags instead of releases for d/watch.
   * Drop patch that removes dependency on ascync-generator.
   * Provide setup.cfg to pytest during autopkgtests to set the correct
     asyncio mode (Closes: #1019223).
   * Bump Standards-Version to 4.6.1.0.
Checksums-Sha1:
 f6f29df6264a45b842de16ba1f9c9611b6aa0d9a 2032 python-channels-redis_4.0.0-1.dsc
 af621d3172cd501d25d002403955679c39c54934 27781 
python-channels-redis_4.0.0.orig.tar.gz
 16a950b2940dfd167e656d6d4fed61703016b848 3396 
python-channels-redis_4.0.0-1.debian.tar.xz
 816aa6d55175a277ef0bd1356227eef03926e4b3 6391 
python-channels-redis_4.0.0-1_arm64.buildinfo
Checksums-Sha256:
 1ad5f1b3de54397396a467848299cca8d802d4c1c87a2b1c3606207e73cada9f 2032 
python-channels-redis_4.0.0-1.dsc
 6d9a35043cb650f00096914f0a6763f0ea56b5e544bfd6e4561487b802959322 27781 
python-channels-redis_4.0.0.orig.tar.gz
 7f29db7bb0924f36f55eae0b4ae581e3b4a1caefe4b5c77b7f20021ec65639b0 3396 
python-channels-redis_4.0.0-1.debian.tar.xz
 fa6600ce034471f3b9f69122416548896e52212adfeb1432f36adba832e4f1ae 6391 
python-channels-redis_4.0.0-1_arm64.buildinfo
Files:
 d98d949778648bc8972fea8bc5aec54d 2032 python optional 
python-channels-redis_4.0.0-1.dsc
 e66ed0f67a75ac3f05a749c39e879be8 27781 python optional 
python-channels-redis_4.0.0.orig.tar.gz
 c57d2b09a7b0326a5247cb30b3672351 3396 python optional 
python-channels-redis_4.0.0-1.debian.tar.xz
 6d8ca2e026aa512e933785e2653e2f30 6391 python optional 
python-channels-redis_4.0.0-1_arm64.buildinfo

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

iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmNEfdkACgkQ/9PIi5l9
0WrLlggAtvyRZd86wfegLZ5u+Rpo42PqVmMfRxFEAR86gXYkkG0GHIhJB17lyJX0
b2vxCB7wj+5jtdaKQS7rZF/6EJbzjbXohR7Pt6/5sOuWKL7OOsvyoWFII0YJ6esC
a1Ib91S7uK2kEyPNAaS5TKHW6ISp+74npuAmXSaEN/Z4+xWGA3HGt3JP4UbzhEar
XG0RYEpdWFH7DISQ52ooQLvbFABk1GlXpHc0GtUlruN4ETg2UCNtbw+8TmBatxry
RDL/jKiItGCgqZFLG3fXihG3f6G+JEO/Pz5T0hjtyEdoTUnpaMfEqXrYMoC7a59R
N6tDmpuvDktJXAxmaRByoSxHuoDcVQ==
=6Kz3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to