forked from pool/python-tableauserverclient
* Draft: Make urllib3 dependency more flexible * fix: queryset support for flowruns * docs: add docstrings to auth objects and endpoints * Set FILESIZE_LIMIT_MB via environment variables * added PulseMetricDefine cap * Adding project permissions handling for databases, tables and virtual connections * refactor request_options, add language param * ci: build on python 3.13 * fix: handle 0 item response in querysets - update to 0.33: * Add support for all types of monthly repeating schedules * Add workbook and datasource name attributes to JobItem Model * feat: group bulk edit * feat: add support for groupsets * feat: custom views dl pub * docs: add docstrings detailing the filter options * feat: tag everything * feat: get page and chunk size from env vars * feat: linked tasks * fix: Pager typing - update to 0.32: * Bump urllib3 from 2.0.7 to 2.2.2 #1400 * Allow setting page_size in .all and .filter #1417 * Switch to absolute imports for favorites #1415 * Switch to absolute imports for datasource #1416 * Fix pop from empty list #1404 * Ignore known internal warnings on tests #1407 * Add support for changing project owner #1419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=9
72 lines
2.3 KiB
RPMSpec
72 lines
2.3 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.34
|
|
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 typing-extensions}
|
|
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
|
|
Requires: python-typing-extensions
|
|
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
|