From bfde419d3a49c0f9e5c5e5846bac52c56e3a06f50df8bbaad1d9846e39497f3d Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 19 Mar 2021 05:27:28 +0000 Subject: [PATCH] - Update to 3.7.0: * Add `Worksheet.insert_note()`, `Worksheet.update_note()`, `Worksheet.clear_note()` (#818 by @lavigne958) * Add `Worksheet.insert_cols()` (#802 by @AlexeyDmitriev) * Add `value_render_option` parameter to `Worksheet.get_all_records()` (#776 by @damgad) * Remove `requests` from `install_requires` (#801) * Simplify implementation of `Worksheet.insert_rows()` (#799 by @AlexeyDmitriev) * Add `auth.service_account_from_dict()` (#785 b7 @mahenzon) * Fix `ValueRange.from_json()` (#791 by @erakli) * Allow `auth` to be `None`. Fix #773 (#774 by @lepture) * Add `Worksheet.insert_rows()` (#734 by @tr-fi) * Add `Worksheet.copy_to()` (#758 by @JoachimKoenigslieb) * Add ability to create a cell instance using A1 notation (#765 by @tivaliy) * Add `auth.service_account()` (#768) * Add Authlib usage (#552 by @lepture) * Simplified OAuth2 flow (#762) * Fix `Worksheet.delete_rows()` index error (#760 by @rafa-guillermo) * Deprecate `Worksheet.delete_row()` (#766) * Scope `Worksheet.find()` to a specific row or a column (#739 by @alfonsocv12) * Add `Worksheet.add_protected_range()` #447 (#720 by @KesterChan01) * Add ability to fetch cell address in A1 notation (#763 by @tivaliy) * Add `Worksheet.delete_columns()` (#761 by @rafa-guillermo) * Ignore numericising specific columns in `get_all_records` (#701 by @benjamindhimes) * Add option ``folder_id`` when creating a spreadsheet (#754 by @Abdellam1994) * Add `insertDataOption` to `Worksheet.append_row()` and `Worksheet.append_rows()` (#719 by @lobatt) * Fix `TypeError` when using gspread in google colab (#750) * Remove `oauth2client` in favor of `google-auth` #472, #529 (#637 by @BigHeadGeorge) * Convert `oauth2client` credentials to `google-auth` (#711 by @aiguofer) * Remove unnecessary `login()` from `gspread.authorize` * Fix sheet name quoting issue (#554, #636, #716): + Add quotes to worksheet title for get_all_values (#640 by @grlbrwrg, #717 by @zynaxsoft) + Escaping title containing single quotes with double quotes (#730 by @vijay-shanker) + Use `utils.absolute_range_name()` to handle range names (#748) * Fix `numericise()`: add underscores test to work in python2 and + +- Update to 3.7.0: + * Add `Worksheet.insert_note()`, `Worksheet.update_note()`, `Worksheet.clear_note()` (#818 by @lavigne958) + * Add `Worksheet.insert_cols()` (#802 by @AlexeyDmitriev) + * Add `value_render_option` parameter to `Worksheet.get_all_records()` (#776 by @damgad) + * Remove `requests` from `install_requires` (#801) + * Simplify implementation of `Worksheet.insert_rows()` (#799 by @AlexeyDmitriev) + * Add `auth.service_account_from_dict()` (#785 b7 @mahenzon) + * Fix `ValueRange.from_json()` (#791 by @erakli) + * Allow `auth` to be `None`. Fix #773 (#774 by @lepture) + * Add `Worksheet.insert_rows()` (#734 by @tr-fi) + * Add `Worksheet.copy_to()` (#758 by @JoachimKoenigslieb) + * Add ability to create a cell instance using A1 notation (#765 by @tivaliy) + * Add `auth.service_account()` (#768) + * Add Authlib usage (#552 by @lepture) + * Simplified OAuth2 flow (#762) + * Fix `Worksheet.delete_rows()` index error (#760 by @rafa-guillermo) + * Deprecate `Worksheet.delete_row()` (#766) + * Scope `Worksheet.find()` to a specific row or a column (#739 by @alfonsocv12) + * Add `Worksheet.add_protected_range()` #447 (#720 by @KesterChan01) + * Add ability to fetch cell address in A1 notation (#763 by @tivaliy) + * Add `Worksheet.delete_columns()` (#761 by @rafa-guillermo) + * Ignore numericising specific columns in `get_all_records` (#701 by @benjamindhimes) + * Add option ``folder_id`` when creating a spreadsheet (#754 by @Abdellam1994) + * Add `insertDataOption` to `Worksheet.append_row()` and `Worksheet.append_rows()` (#719 by @lobatt) + * Fix `TypeError` when using gspread in google colab (#750) + * Remove `oauth2client` in favor of `google-auth` #472, #529 (#637 by @BigHeadGeorge) + * Convert `oauth2client` credentials to `google-auth` (#711 by @aiguofer) + * Remove unnecessary `login()` from `gspread.authorize` + * Fix sheet name quoting issue (#554, #636, #716): + + Add quotes to worksheet title for get_all_values (#640 by @grlbrwrg, #717 by @zynaxsoft) + + Escaping title containing single quotes with double quotes (#730 by @vijay-shanker) + + Use `utils.absolute_range_name()` to handle range names (#748) + * Fix `numericise()`: add underscores test to work in python2 and diff --git a/python-gspread.spec b/python-gspread.spec index 714b5a2..235b188 100644 --- a/python-gspread.spec +++ b/python-gspread.spec @@ -1,7 +1,7 @@ # # spec file for package python-gspread # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gspread -Version: 3.3.1 +Version: 3.7.0 Release: 0 Summary: Google Spreadsheets Python API License: MIT -Group: Development/Languages/Python URL: https://github.com/burnash/gspread Source: https://github.com/burnash/gspread/archive/v%{version}.tar.gz BuildRequires: %{python_module betamax} -BuildRequires: %{python_module oauth2client} -BuildRequires: %{python_module requests >= 2.2.1} +BuildRequires: %{python_module google-auth-oauthlib >= 0.4.1} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-requests >= 2.2.1 +Requires: python-google-auth >= 1.12.0 +Requires: python-google-auth-oauthlib >= 0.4.1 BuildArch: noarch %python_subpackages diff --git a/v3.3.1.tar.gz b/v3.3.1.tar.gz deleted file mode 100644 index 57720b4..0000000 --- a/v3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c12a32dc3f7b21251b07dfd9662c48c1f306a9a261c5e5c53474983931c386cf -size 181994 diff --git a/v3.7.0.tar.gz b/v3.7.0.tar.gz new file mode 100644 index 0000000..6a59ff3 --- /dev/null +++ b/v3.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01de540cc140f67c787ba0b8f7f9e2dc58dc0e25e69201089d54db88b152c0b7 +size 89086