8000 Stop supporting Python 3.5 by vogelsgesang · Pull Request #911 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content
8000

Stop supporting Python 3.5 #911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0-rc.2]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0-rc.2]

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Use the Tableau Server Client (TSC) library to increase your productivity as you
* Create users and groups.
* Query projects, sites, and more.

This repository contains Python source code and sample files. Python versions 3.5 and up are supported.
This repository contains Python source code and sample files. Python versions 3.6 and up are supported.

For more information on installing and using TSC, see the documentation:
<https://tableau.github.io/server-client-python/docs/>
Expand Down
2 changes: 1 addition & 1 deletion samples/add_default_permission.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
####
# This script demonstrates how to add default permissions using TSC
# To run the script, you must have installed Python 3.5 and later.
# To run the script, you must have installed Python 3.6 or later.
#
# In order to demonstrate adding a new default permission, this sample will create
# a new project and add a new capability to the new project, for the default "All users" group.
Expand Down
2 changes: 1 addition & 1 deletion samples/create_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to create a group using the Tableau
# Server Client.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####


Expand Down
2 changes: 1 addition & 1 deletion samples/create_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# parent_id.
#
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/create_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to create schedules using the Tableau
# Server Client.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####


Expand Down
2 changes: 1 addition & 1 deletion samples/download_view_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# For more information, refer to the documentations on 'Query View Image'
# (https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm)
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script de 2364 monstrates how to export a view using the Tableau
# Server Client.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/export_wb.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# You will need to do `pip install PyPDF2` to use this sample.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####


Expand Down
2 changes: 1 addition & 1 deletion samples/filter_sort_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to filter and sort groups using the Tableau
# Server Client.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####


Expand Down
2 changes: 1 addition & 1 deletion samples/filter_sort_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to use the Tableau Server Client
# to filter and sort on the name of the projects present on site.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/kill_all_jobs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to kill all of the running jobs
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/list.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to list all of the workbooks or datasources
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/login.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to log in to Tableau Server Client.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/metadata_query.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to use the metadata API to query information on a published data source
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/move_workbook_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# a workbook that matches a given name and update it to be in
# the desired project.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/move_workbook_sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# a workbook that matches a given name, download the workbook,
# and then publish it to the destination site.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/publish_datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# more information on personal access tokens, refer to the documentations:
# (https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm)
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/publish_workbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# For more information, refer to the documentations on 'Publish Workbook'
# (https://onlinehelp.tableau.com/current/api/rest_api/en-us/help.htm)
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/query_permissions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
####
# This script demonstrates how to query for permissions using TSC
# To run the script, you must have installed Python 3.5 and later.
# To run the script, you must have installed Python 3.6 or later.
#
# Example usage: 'python query_permissions.py -s https://10ax.online.tableau.com --site
# devSite123 -u tabby@tableau.com workbook b4065286-80f0-11ea-af1b-cb7191f48e45'
Expand Down
2 changes: 1 addition & 1 deletion samples/refresh.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to use trigger a refresh on a datasource or workbook
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/refresh_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to use the Tableau Server Client
# to query extract refresh tasks and run them as needed.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/set_http_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to set http options. It will set the option
# to not verify SSL certificate, and query all workbooks on site.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
2 changes: 1 addition & 1 deletion samples/set_refresh_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This script demonstrates how to set the refresh schedule for
# a workbook or datasource.
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####


Expand Down
2 changes: 1 addition & 1 deletion samples/update_connection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####
# This script demonstrates how to update a connections credentials on a server to embed the credentials
#
# To run the script, you must have installed Python 3.5 or later.
# To run the script, you must have installed Python 3.6 or later.
####

import argparse
Expand Down
0