-
Notifications
You must be signed in to change notification settings - Fork 64
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
gspread 6.0.0 - be careful #124
Comments
Thanks @djhmateer, pinning to 5.12.4 seems like a sensible idea until we know if there are any cases that are broken by gspread 6.0.0. Looks like this change occurred here: burnash/gspread@6457676 |
Pinning is a good decision for now. Adapting to the new version should not be too hard and require changes only to https://github.com/bellingcat/auto-archiver/blob/main/src/auto_archiver/utils/gworksheet.py namely auto-archiver/src/auto_archiver/utils/gworksheet.py Lines 67 to 68 in 590d3fe
should be if fresh:
val = self.wks.cell(row, col_index + 1).value
return val if val != "None" else "" to keep consistency. I'm not making the changes yet since testing if there were other changes to |
gspread devs were quick to acknowledge this and there will be a patch in 6.0.1: burnash/gspread#1403 |
warning stands: do not use gspread 6.0.0, we can fix it at >=6.0.1 after that's released and tested. |
I'm pinning gspread for the time being to 5.12.4 as I found an issue in 6.0.0 version:
https://github.com/bellingcat/auto-archiver/blob/main/src/auto_archiver/feeders/gsheet_feeder.py#L60
The text was updated successfully, but these errors were encountered: