14
0

Accepting request 1160511 from devel:languages: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/request/show/1160511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tableauserverclient?expand=0&rev=4
This commit is contained in:
2024-03-22 14:21:15 +00:00
committed by Git OBS Bridge
4 changed files with 74 additions and 14 deletions

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Fri Mar 22 03:41:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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
* Allow null value for user quota tiers
* fix workbook.delete_extract
* add publish to pypi action
* fix xml generation for items
* Add Status, ParentProjectId and StartedAt filters for jobs endpoint
* make project_id nullable to support "Personal Space" for workbooks
* create single Credentials class
* Reassign content on user removal
* add redaction method to remove passwords when logging requests and
responses, which can contain embedded credentials.
* remove support for python 3.6 (add python version enforcement in setup.py)
* Extract refreshable item IDs from job XML response
* Do not eagerly fetch content when a stream was requested
* Fix QuerySet slicing logic
* add CRUD methods for default permissions
- Switch to pyproject macros.
- No more greedy globs in %files.
- Switch to GitHub source URL.
-------------------------------------------------------------------
Wed Apr 20 07:01:35 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tableauserverclient
#
# Copyright (c) 2022 SUSE LLC
# 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
@@ -16,23 +16,30 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-tableauserverclient
Version: 0.18.0
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://files.pythonhosted.org/packages/source/t/tableauserverclient/tableauserverclient-%{version}.tar.gz
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-requests >= 2.11
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 requests >= 2.11}
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
@@ -41,13 +48,13 @@ BuildRequires: %{python_module requests-mock >= 1.0}
A Python module for working with the Tableau Server REST API.
%prep
%setup -q -n tableauserverclient-%{version}
%setup -q -n server-client-python-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -56,6 +63,7 @@ A Python module for working with the Tableau Server REST API.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/tableauserverclient
%{python_sitelib}/tableauserverclient-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57be902e04b6343ce6ec9b9868be619ea1cf32efb0b8053b8ef5af0ed6ecf2b2
size 1927977

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28af9748c3fe184cf159f1fbd857c3fdd8013b2211114a8247bfb1e054ebca22
size 1239513