Open kloczek opened 8 months ago
Looks like filtering all code over pyupgrade
solved all issues with failing units.
Issue still remains with errors which I've initially reported.
I think #783 addresses the same issue. Right?
I think #783 addresses the same issue. Right?
Yep 😋
I have added a comment, please check
Created an internal ticket to be prioritized. +1s will help it move up the queue
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
build
with--no-isolation
I'm using during all processes only locally installed modulescut off from access to the public network
(pytest is executed with-m "not network"
)Here is pytest output:
```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-twilio-8.11.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-twilio-8.11.1-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra -m 'not network' ==================================================================================== test session starts ==================================================================================== platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0 rootdir: /home/tkloczko/rpmbuild/BUILD/twilio-python-8.11.1 collected 537 items / 2 errors ========================================================================================== ERRORS =========================================================================================== ______________________________________________________________________ ERROR collecting tests/cluster/test_webhook.py _______________________________________________________________________ tests/cluster/test_webhook.py:7: inList of installed modules in build env:
```console Package Version ----------------------------- ------- aiohttp 3.9.1 aiohttp-retry 2.8.3 aiosignal 1.3.1 aiounittest 1.4.2 alabaster 0.7.16 asgiref 3.7.2 async-timeout 4.0.3 attrs 23.2.0 Babel 2.14.0 backports.zoneinfo 0.2.1 build 1.0.3 cffi 1.16.0 charset-normalizer 3.3.2 commonmark 0.9.1 cppclean 0.13 cryptography 41.0.5 distro 1.9.0 Django 4.2.6 dnf 4.18.2 docutils 0.20.1 exceptiongroup 1.1.3 frozenlist 1.4.1 gpg 1.23.2 idna 3.6 imagesize 1.4.1 importlib-metadata 7.0.1 iniconfig 2.0.0 installer 0.7.0 Jinja2 3.1.3 libdnf 0.72.0 MarkupSafe 2.1.3 mock 5.1.0 multidict 6.0.4 packaging 23.2 pluggy 1.3.0 ply 3.11 pycparser 2.21 Pygments 2.17.2 PyJWT 2.8.0 pyngrok 7.0.5 pyproject_hooks 1.0.0 pytest 7.4.4 python-dateutil 2.8.2 pytz 2023.3 PyYAML 6.0.1 recommonmark 0.7.1 requests 2.31.0 setuptools 69.0.3 six 1.16.0 snowballstemmer 2.2.0 Sphinx 7.1.2 sphinxcontrib-applehelp 1.0.4 sphinxcontrib-devhelp 1.0.5 sphinxcontrib-htmlhelp 2.0.4 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.10 sqlparse 0.4.4 tomli 2.0.1 typing_extensions 4.9.0 urllib3 1.26.18 wheel 0.42.0 wrapt 1.16.0 yarl 1.9.2 zipp 3.17.0 ```Please let me know if you need more details or want me to perform some diagnostics.