Open kloczek opened 5 months ago
This is caused by pytest-8.2
, and can be reproduced using tox
.
@kloczek, could you update the summary to point the cause?
Looks like this is present in the last (awhile ago) scheduled CI run. https://github.com/pytest-dev/pytest-twisted/actions/runs/9460305008/job/26058879367#step:10:252 I'll see what I can do. Thanks for pointing this out.
https://pypi.org/project/pytest-twisted/1.14.2/
v1.14.2 is available. @kloczek, let me know if that works for you or not. I'm sorry for leaving CI broken and making you find this issue instead.
If that's worth anything, it works for me now. Thanks!
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 modulesinstaller
modulecut 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-pytest-twisted-1.14.1-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-twisted-1.14.1-2.fc37.x86_64/usr/lib/python3.10/site-packages + /usr/bin/pytest -ra -m 'not network' -q ============================= test session starts ============================== platform linux -- Python 3.10.14, pytest-8.2.1, pluggy-1.5.0 rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.14.1 configfile: pytest.ini plugins: twisted-1.14.1, hypothesis-6.100.0 collected 60 items testing/test_basic.py .....................................ss.ssF....... [ 83%] .......... [100%] =================================== FAILURES =================================== _______________________ test_async_fixture_module_scope ________________________ testdir =List of installed modules in build env:
```console Package Version ------------------ ----------- attrs 23.2.0 Automat 22.10.0 build 1.2.1 constantly 23.10.4 decorator 5.1.1 exceptiongroup 1.1.3 greenlet 3.0.3 hyperlink 21.0.0 hypothesis 6.100.0 idna 3.7 importlib_metadata 7.1.0 incremental 22.10.0 iniconfig 2.0.0 installer 0.7.0 packaging 24.0 pluggy 1.5.0 pyproject_hooks 1.0.0 pytest 8.2.1 python-dateutil 2.9.0.post0 setuptools 69.4.0 sortedcontainers 2.4.0 tokenize_rt 5.2.0 tomli 2.0.1 Twisted 24.3.0 typing_extensions 4.12.1 wheel 0.43.0 zipp 3.19.1 zope.event 5.0 zope.interface 6.4.post2 ```Please let me know if you need more details or want me to perform some diagnostics.