Open kloczek opened 6 months ago
And here it is full pytest output: python-proxy-py.FAIL.txt
Do I have something missing in build env? 🤔
BTW looks like in some units names are used spaces and current directory name.
All that makes difficult to add failing units names to --deselect
list.
Gentle ping .. any update? 🤔
@kloczek Can you try the develop
branch once again. Over past few days I updated repo dependencies, due to which workflows were also failing on GitHub. Want to see if those changes helps your case.
One sec .. it will take me ~1-2h to perform full checks as I have build system queue a bit clogged. Will back with results ASP 😋
Just tested 2.4.4 and issue still is not resolved Full pytest output is in attachment python-proxy-py.FAIL.txt
Just tested 2.4.4 and issue still is not resolved Full pytest output is in attachment python-proxy-py.FAIL.txt
Thank you for the logs. From the looks of it, I get an intuition that python3.10
on your system is somehow defaulting to _UnixSelectorEventLoop
. This in general can be fixed by adding to the code:
asyncio.set_event_loop_policy(asyncio.DefaultEventLoopPolicy())
Can you try to add this line and see if it helps?
Thank you
Where I need to add that? 🤔
Where I need to add that? 🤔
I would suggest try adding within proxy/__init__.py
or within setUp
of the test that fails for you. Lemme know if this does the trick and I'll be happy to include this within the repo.
Please drop the patch which you want me to test.
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"
)List of installed modules in build env:
```console Package Version ----------------------------- --------- alabaster 0.7.13 anyio 4.2.0 Babel 2.14.0 build 1.0.3 certifi 2023.7.22 charset-normalizer 3.3.2 cppclean 0.13 distro 1.8.0 dnf 4.18.2 docutils 0.20.1 exceptiongroup 1.1.3 gpg 1.23.2 h11 0.14.0 httpcore 1.0.0 httpx 0.25.2 idna 3.6 imagesize 1.4.1 importlib-metadata 7.0.1 iniconfig 2.0.0 installer 0.7.0 Jinja2 3.1.2 libdnf 0.72.0 markdown-it-py 3.0.0 MarkupSafe 2.1.3 mdit-py-plugins 0.4.0 mdurl 0.1.2 myst-parser 2.0.0 packaging 23.2 pluggy 1.3.0 Pygments 2.17.2 pyproject_hooks 1.0.0 pytest 7.4.3 pytest-asyncio 0.23.2 pytest-mock 3.12.0 python-dateutil 2.8.2 pytz 2023.3 PyYAML 6.0.1 requests 2.31.0 setuptools 69.0.3 setuptools-scm 8.0.4 setuptools-scm-git-archive 1.4 six 1.16.0 sniffio 1.3.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.9 tomli 2.0.1 typing_extensions 4.9.0 urllib3 1.26.18 wheel 0.42.0 zipp 3.17.0 ```Please let me know if you need more details or want me to perform some diagnostics.