14
0
Files
python-tableauserverclient/python-tableauserverclient.spec
Steve Kowalik 2e243b40f6 - 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

70 lines
2.2 KiB
RPMSpec

#
# spec file for package python-tableauserverclient
#
# Copyright (c) 2024 SUSE LLC
#
# 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
Version: 0.30
Release: 0
Summary: Python library for working with the Tableau Server REST API
License: MIT
URL: https://github.com/tableau/server-client-python
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}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module versioneer}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-defusedxml >= 0.7.1
Requires: python-packaging >= 23.
Requires: python-requests >= 2.31
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module defusedxml >= 0.7.1}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-subtests}
BuildRequires: %{python_module requests >= 2.31}
BuildRequires: %{python_module requests-mock >= 1.0}
# /SECTION
%python_subpackages
%description
A Python module for working with the Tableau Server REST API.
%prep
%setup -q -n server-client-python-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/tableauserverclient
%{python_sitelib}/tableauserverclient-%{version}.dist-info
%changelog