ImportError: cannot import name 'RequestMixin'
See original GitHub issueHi 😄 Thanks for writing this library! It’s a neat solution, and it made doing some cookie based auth a breeze.
Recently (yesterday? I just noticed it today, but I see there was a release yesterday) I started running into the following error in an automated test pipeline that utilizes selenium & selenium-requests.
from seleniumrequests.request import RequestMixin
ImportError: cannot import name 'RequestMixin' from 'seleniumrequests.request'
The project being run in the pipeline was using selenium-requests = "^1.3"
to ensure compatibility, but I’ve since had to lock it to selenium-requests = "1.3"
to resolve the import problem.
I’d love to be able to rely on the minor version again, but having breaking changes come in a PATCH version makes me nervous.
Going forward, would it be possible to bump the major version if there is going to be a significant change like dropping support for a version of Python / something incompatible?
Thank you!! 🙇
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
No worries! I really appreciate what you’ve been working on. I know how difficult it can be to manage these sort of things 😃 Thank you for the quick response!
I just made a 1.3.3 release which added some code to add backwards-compatibility to the previous point release. Again, sorry for breaking this, despite many years of writing code I actually only rarely publish any.
(For what it’s worth, the Python 2 compatibility I deprecated in addition, couldn’t have been working for a while now).