You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tox is OK but looks like upgraded pytest 6.2.4 cannot even start testing and shows deprecation errors.
+ /usr/bin/python3 -Bm pytest -ra -k ' not test_standalone_mock and not test_detailed_introspection and not test_detailed_introspection and not test_assert_called_args_with_introspection and not test_assert_called_kwargs_with_introspection'=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.9, pytest-6.2.4, py-1.10.0, pluggy-0.13.1rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-mock-3.6.1, configfile: tox.iniplugins: mock-3.6.1, forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, cov-2.11.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, case-1.5.3, isort-1.3.0, aspectlib-1.5.2, asyncio-0.15.1, toolbox-0.5, xprocess-0.17.1, flaky-3.7.0, requests-mock-1.9.2, aiohttp-0.3.0, checkdocs-2.7.0, hypothesis-6.12.1, relaxed-1.1.5collected 0 items / 1 error================================================================================== ERRORS ==================================================================================______________________________________________________________________ ERROR collecting test session _______________________________________________________________________Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent.See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.========================================================================= short test summary info ==========================================================================ERROR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!============================================================================= 1 error in 0.27s =============================================================================
The text was updated successfully, but these errors were encountered:
SpecModule doesn't exist in pytest-mock at all. From a quick glance, this looks like bitprophet/pytest-relaxed#12.
Also, sorry if I'm being blunt, but it'd be great if you could at least do some minimal effort on yourself (like searching for the error message, or finding out which plugin is to blame) rather than dumping logs at some volunteers and expecting them to track down issues which have nothing to do with the project you're reporting them on.
In sqlalchemy/sqlalchemy#6335 you were even already linked to that issue before for the exact same error, so I'm not sure why you think the outcome would be different here....
Really sorry.
In recent weeks I've been packaging so many python modules that simple forgot aboput pytest-relaxed :(
Just tested and confirmed that pytest is OK without pytest-relaxed.
I've added BuildConflict: python3dost(pytest-relaxed) to my python-pytest-mock.spec file to prevent that situation like this will happen again.
tox is OK but looks like upgraded pytest 6.2.4 cannot even start testing and shows deprecation errors.
The text was updated successfully, but these errors were encountered: