-
Notifications
You must be signed in to change notification settings - Fork 120
MarkInfo removed removed in pytest 4.1, breaks pytest-selenium #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting this @yourcelf I'm working on a fix, hopefully we will release a patch before EOD. |
Hey @yourcelf If you have the opportunity I would greatly appreciate if you could test my fix against SauceLabs. |
|
@BeyondEvil thanks; can confirm that it's fixed for me -- but I wasn't using SauceLabs in the first place; the |
* Upgrade pytest-xdist to latest (1.26.1) * Add pytest-forked as a new dependency of pytest-xdist * Upgrade pytest for newer pytest-xdist * Add new pytest dependencies * Upgrade pathlib2 to satisfy new xdist.looponfail dependency * Add scandir dependency for upgraded pathlib2 * Upgrade py to satisfy xdist.looponfail dependency * Upgrade pytest-selenium for compat with pytest 4.1. See pytest-dev/pytest-selenium#206 * Upgrade pytest-metadata for compatibility with newer pytest. see pytest-dev/pytest#2960 * Upgrade pytest-rerunfailures for compat with newer pytest * Upgrade pytest-django for newer pydev compatibility * Replace getfuncargvalue with getfixturevalue for pytest4 compat
I having seeing the same issue today with pytest 4.1.1 after installing pytest-cov 2.7.1
|
Please try updating pytest and pytest-cov |
Thanks @nicoddemus for the reply. Thanks, |
Are you sure you updated pytest-selenium? Because last version is At line 8, is |
ok upgraded pytest-selenium to 1.16 and now got |
And also checked my local from py.xml import html |
Can you show the fulltraceback? pytest used to vendor pluggy, but this is no longer the case for some time now.
After you updated? Because your previous traceback clearly showed:
|
Upgraded the below and got it working now Thank you @nicoddemus
|
Actually I was referring to line 8 from file saucelabs.py after the upgrade. Thanks for the help. |
Version 4.1 of pytest (released yesterday) removes the
MarkInfo
class whichpytest-selenium
imports here. This causes pytest to fail:Downgrading to pytest < 4.1 (e.g. 4.0.2) works around the problem.
Failing version info:
The text was updated successfully, but these errors were encountered: