2021-01-22 07:22:18 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-tableauserverclient
|
|
|
|
#
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2021-01-22 07:22:18 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-tableauserverclient
|
2024-11-21 09:26:41 +00:00
|
|
|
Version: 0.34
|
2021-01-22 07:22:18 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Python library for working with the Tableau Server REST API
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/tableau/server-client-python
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
Source: https://github.com/tableau/server-client-python/archive/refs/tags/v%{version}.tar.gz#/tableauserverclient-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module base >= 3.7}
|
|
|
|
BuildRequires: %{python_module pip}
|
2021-01-22 07:22:18 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2024-11-21 09:26:41 +00:00
|
|
|
BuildRequires: %{python_module typing-extensions}
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
BuildRequires: %{python_module versioneer}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2021-01-22 07:22:18 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
Requires: python-defusedxml >= 0.7.1
|
|
|
|
Requires: python-packaging >= 23.
|
|
|
|
Requires: python-requests >= 2.31
|
2024-11-21 09:26:41 +00:00
|
|
|
Requires: python-typing-extensions
|
2021-01-22 07:22:18 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
# SECTION test requirements
|
|
|
|
BuildRequires: %{python_module pytest}
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
BuildRequires: %{python_module defusedxml >= 0.7.1}
|
|
|
|
BuildRequires: %{python_module pytest-cov}
|
|
|
|
BuildRequires: %{python_module pytest-subtests}
|
|
|
|
BuildRequires: %{python_module requests >= 2.31}
|
2021-01-22 07:22:18 +00:00
|
|
|
BuildRequires: %{python_module requests-mock >= 1.0}
|
|
|
|
# /SECTION
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Python module for working with the Tableau Server REST API.
|
|
|
|
|
|
|
|
%prep
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
%setup -q -n server-client-python-%{version}
|
2021-01-22 07:22:18 +00:00
|
|
|
|
|
|
|
%build
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
%pyproject_wheel
|
2021-01-22 07:22:18 +00:00
|
|
|
|
|
|
|
%install
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
%pyproject_install
|
2021-01-22 07:22:18 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2021-02-18 14:48:52 +00:00
|
|
|
%pytest
|
2021-01-22 07:22:18 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.md
|
2021-02-18 14:48:52 +00:00
|
|
|
%license LICENSE
|
- Update to 0.30:
* Add all missing RequestOptions fields
* make project nullable on datasource
* add params to workbook publish method
* add certification to publishing a datasource
* add contentURL as a filter
* adding sample file for favorites
* Implement custom view objects
* Fix bug in update-datasources before 3.15
* catch exceptions from ServerInfo
* add query-tagging attribute to connection
* Add logic to retrieve Datarole and Metric permissions
* Allow injection of sessions
* Fix bug in exposing ExcelRequestOptions and test
* fix behavior when url has no protocol
* add option to pass specific datasources to delete extracts
* allow user agent to be set by caller
* Fix issues with connections publishing workbooks
* Allow download to file-like objects
* Add updated_at to JobItem class
* fix revision references where xml returned does not match docs
* Do not create empty connections list
* Add custom session injection, Fix bug for http_options
* fix filter for python 3, remove support for python 3.6
* Add new samples and delete redundant ones
* Clean up hidden_views by making it an attribute of WorkbookItem
* Add type hints for workbook and data source revisions, data alerts,
Favorites, Flows, groups, permissions, projects, flow runs, site,
subscriptions, Users, webhooks
* add get_by_id method and test for schedules
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=7
2024-03-22 03:41:50 +00:00
|
|
|
%{python_sitelib}/tableauserverclient
|
|
|
|
%{python_sitelib}/tableauserverclient-%{version}.dist-info
|
2021-01-22 07:22:18 +00:00
|
|
|
|
|
|
|
%changelog
|