-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Wire Mode: No module named 'blinker._saferef'
if installing selenium-wire
alone
#2782
Labels
bug
Uh oh... Something needs to be fixed
Comments
This was resolved in For regular pip install blinker==1.7.0 |
NicolasLiampotis
added a commit
to rciam/rciam_probes
that referenced
this issue
Aug 5, 2024
…Linux 9 - Versions of blinker >1.7 cause an error: `No module named 'blinker._saferef'` when used with `selenium-wire`. - As `selenium-wire` is no longer maintained ([selenium-wire repository](https://github.com/wkeeling/selenium-wire)), downgrading blinker to version 1.7.0 is necessary to avoid this issue. - For reference, see this related discussion: [SeleniumBase issue #2782](seleniumbase/SeleniumBase#2782). - Upgrade geckodriver to v0.34.0
This was referenced Aug 5, 2024
KutsunaSubaRya
added a commit
to KutsunaSubaRya/NTNU-CIDS
that referenced
this issue
Aug 29, 2024
issue of selenium: seleniumbase/SeleniumBase#2782
orfeas-k
added a commit
to canonical/notebook-operators
that referenced
this issue
Dec 10, 2024
orfeas-k
added a commit
to canonical/notebook-operators
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * Remove mocking of private ops class according to canonical/operator#1369 and canonical/seldon-core-operator#268 * Pin blinker due to seleniumbase/SeleniumBase#2782 Ref canonical/bundle-kubeflow#1177
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wire Mode:
No module named 'blinker._saferef'
if installingselenium-wire
alone.Wire Mode (
--wire
/wire=True
) uses theselenium-wire
library. Theselenium-wire
library has a dependency onblinker
. The latest version ofblinker
no longer hasblinker._saferef
, whichselenium-wire
needs. This leads toModuleNotFoundError: No module named 'blinker._saferef'
.Since https://github.com/wkeeling/selenium-wire is no longer maintained (and therefore won't make changes or pin dependencies) it's up to
SeleniumBase
to make the necessary changes. One way is by forcingblinker==1.7.0
, which does not have the issue.Because Wire Mode is optional, I don't want to create a dependency on
blinker==1.7.0
in the standard SeleniumBase dependencies. Instead, this issue can be fixed by automatically installingblinker==1.7.0
in Wire Mode if that is not the current version ofblinker
.The text was updated successfully, but these errors were encountered: