Open TedTansley opened 7 months ago
Sorry for the slow reply - thanks for this @TedTansley!
Are you installing with pip3 install git+https://github.com/joshcarty/google-searchconsole
?
Thank you for the reply @joshcarty ! I'm using Google colab and install this way:
!pip install git+https://github.com/joshcarty/google-searchconsole
I have found, however, that by not trying to update the other dependencies that I can get my scripts to work. Though I worry of a later impact.
Thanks @TedTansley and sorry for the slow replies! I've tried myself in Colab and now understand the issue.
A few years ago we pinned the version of google-auth
to versions <2 to resolve a bug that I can't remember.
As you're seeing, that's forcing the other dependencies to install some pretty old versions themselves.
I've created a branch that removes the pin which you can install here:
!pip install git+https://github.com/joshcarty/google-searchconsole@joshuac/unpin-google-auth
I can see it installs successfully without requiring a restart. However, I don't have access to a Search Console property to test it with.
Are you able to test it and see if you can make queries? Thanks!
This now requires (in Google Colab) a restart to work with pulling data. It installs outdated packages which creates conflict when trying to connect to google's other apis.
It will uninstall the following packages:
An install the following:
Works fine to pull data, but then trying to connect to updated packages, it no longer works.