-
Notifications
You must be signed in to change notification settings - Fork 118
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
Dependency conflict with pytest and selenium #294
Comments
Just saw this MR #293 ... this will probably fix the selenium part. |
Yes, the idea is that v3.* will be for Selenium 3 support (which we'll keep around another year or so), while v4.* will be for Selenium 4 support. |
@BeyondEvil Is there a roadmap for releasing version 4.x? Currently I am using 2.x against selenium 4.x which still works fine (besides some deprecation warnings). Not being able to use the next major version of pytest-selenium because it no longer supports the current selenium version seems a bit strange. |
As soon as #272 is merged, I plan on releasing Not sure what you mean, but there will be two parallel tracks - v3* that will continue to support Selenium 3 and v4* that will support Selenium 4. Would that cause an issue for you @icemac ? |
@BeyondEvil I see no problem in having the two parallel tracks. I just wondered that 2.x works fine with selenium 4.x while 3.x dropped the support and I have to wait for 4.0 to get it back again. I am not in a hurry: not using pytest-selenium 3.x is fine for me. |
Hi, are there any news on the planned 4.0 release of this package? |
Hi, Sorry, not at this moment. We're working hard on a new release (rebuild from scratch) of pytest-html currently. As soon as that has been released, then we'll make sure pytest-selenium gets a refresh as well (with full sel 4.0 support). Thank you for your patience! 🙏 |
v4.0.0 is released! Thank you for your patience! @icemac |
You are awesome, thank you! |
There is a dependency conflict for pytest in pytest-selenium v3, which: Requires pytest v6: https://github.com/pytest-dev/pytest-selenium/blob/8e0a5d549049a1db353ead98bf0b46f8ef04e014/pyproject.toml#L46 Requires pytest-metadata (via pytest-html), whose latest 3.0.0 requires pytest v7: https://github.com/pytest-dev/pytest-metadata/blob/4f70f2ae74dc880772d445b1ee2cbe8d50bedcbd/pyproject.toml#L43 Pin pytest-selenium to v2 for now. This resolves `make upgrade` error: There are incompatible versions in the resolved dependencies: pytest (from -r requirements/e2e.in (line 6)) pytest<7.0.0,>=6.0.0 (from pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=2.4.2 (from pytest-variables==1.9.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=7.0.0 (from pytest-metadata==3.0.0->pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=5.0.0 (from pytest-timeout==2.1.0->-r requirements/e2e.in (line 9)) pytest>=2.7.3 (from pytest-base-url==1.4.2->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest (from pytest-randomly==3.12.0->-r requirements/e2e.in (line 7)) pytest!=6.0.0,>=5.0 (from pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) See pytest-dev/pytest-selenium#294 for potential upstream issue.
There is a dependency conflict for pytest in pytest-selenium v3, which conflictingly requires both: - pytest v6: https://github.com/pytest-dev/pytest-selenium/blob/8e0a5d549049a1db353ead98bf0b46f8ef04e014/pyproject.toml#L46 - pytest-metadata latest (via pytest-html), whose latest 3.0.0 requires pytest v7: https://github.com/pytest-dev/pytest-metadata/blob/4f70f2ae74dc880772d445b1ee2cbe8d50bedcbd/pyproject.toml#L43 Pin pytest-selenium to v2 for now. This resolves `make upgrade` error: There are incompatible versions in the resolved dependencies: pytest (from -r requirements/e2e.in (line 6)) pytest<7.0.0,>=6.0.0 (from pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=2.4.2 (from pytest-variables==1.9.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=7.0.0 (from pytest-metadata==3.0.0->pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=5.0.0 (from pytest-timeout==2.1.0->-r requirements/e2e.in (line 9)) pytest>=2.7.3 (from pytest-base-url==1.4.2->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest (from pytest-randomly==3.12.0->-r requirements/e2e.in (line 7)) pytest!=6.0.0,>=5.0 (from pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) See pytest-dev/pytest-selenium#294 for potential upstream issue. Also, pytest-variables v3 deprecated _variables, which is used by other pytest v2 libraries:: https://github.com/pytest-dev/pytest-variables/blob/13f4b2e4620c682ae0856e03b11106ad3b6e6894/CHANGES.rst Pin pytest-variables to v2 for now. This resolves `make acceptance` error: AttributeError: 'Config' object has no attribute '_variables'
There is a dependency conflict for pytest in pytest-selenium v3, which conflictingly requires both: - pytest v6: https://github.com/pytest-dev/pytest-selenium/blob/8e0a5d549049a1db353ead98bf0b46f8ef04e014/pyproject.toml#L46 - pytest-metadata latest (via pytest-html), whose latest 3.0.0 requires pytest v7: https://github.com/pytest-dev/pytest-metadata/blob/4f70f2ae74dc880772d445b1ee2cbe8d50bedcbd/pyproject.toml#L43 Pin pytest-selenium to v2 for now. This resolves `make upgrade` error: There are incompatible versions in the resolved dependencies: pytest (from -r requirements/e2e.in (line 6)) pytest<7.0.0,>=6.0.0 (from pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=2.4.2 (from pytest-variables==1.9.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=7.0.0 (from pytest-metadata==3.0.0->pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest>=5.0.0 (from pytest-timeout==2.1.0->-r requirements/e2e.in (line 9)) pytest>=2.7.3 (from pytest-base-url==1.4.2->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) pytest (from pytest-randomly==3.12.0->-r requirements/e2e.in (line 7)) pytest!=6.0.0,>=5.0 (from pytest-html==3.2.0->pytest-selenium==3.0.0->-r requirements/e2e.in (line 8)) See pytest-dev/pytest-selenium#294 for potential upstream issue. Also, pytest-variables v3 deprecated _variables, which is used by other pytest v2 libraries:: https://github.com/pytest-dev/pytest-variables/blob/13f4b2e4620c682ae0856e03b11106ad3b6e6894/CHANGES.rst Pin pytest-variables to v2 for now. This resolves `make acceptance` error: AttributeError: 'Config' object has no attribute '_variables'
since release 3.0.0 works with 2.0.1
The text was updated successfully, but these errors were encountered: