Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

2.0.1: pytest is failing #1406

@kloczek

Description

@kloczek

Describe the bug

Looks like pytest if failing in all units because 'async_generator' object has no used attributes.

To Reproduce

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Expected behavior

pytest should not fail.

Logs/tracebacks

In next comment.

Python Version

3.8.13

aioredis Version

N/A

Additional context

List of modules installed in build env

Package         Version
--------------- --------------
appdirs         1.4.4
async-timeout   4.0.2
attrs           22.1.0
Brlapi          0.8.3
build           0.8.0
codespell       2.1.0
coverage        6.4.4
cssselect       1.1.0
cycler          0.11.0
distro          1.7.0
execnet         1.9.0
extras          1.0.0
fixtures        4.0.0
flake8          5.0.4
fonttools       4.36.0
gpg             1.17.1-unknown
iniconfig       1.1.1
kiwisolver      1.4.4
libcomps        0.1.18
louis           3.22.0
lxml            4.9.1
matplotlib      3.5.3
mccabe          0.7.0
mock            4.0.3
numpy           1.23.1
olefile         0.46
packaging       21.3
pbr             5.9.0
pep517          0.12.0
Pillow          9.2.0
pip             22.2.1
pluggy          1.0.0
py              1.11.0
pycodestyle     2.9.1
pyflakes        2.5.0
PyGObject       3.42.2
pyparsing       3.0.9
pytest          7.1.2
pytest-asyncio  0.19.0
pytest-cov      3.0.0
pytest-forked   1.4.0
pytest-sugar    0.9.4
pytest-xdist    2.5.0
python-dateutil 2.8.2
rpm             4.17.0
scour           0.38.2
setuptools      64.0.3
six             1.16.0
termcolor       1.1.0
testtools       2.5.0
tomli           2.0.1
wheel           0.37.1

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions