Skip to content

Commit b1323f1

Browse files
committed
Revert "release v0.39 (#1737)"
This reverts commit 34ac954.
1 parent 34ac954 commit b1323f1

File tree

131 files changed

+8385
-11738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+8385
-11738
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
tableauserverclient/_version.py export-subst
2-
tableauserverclient/bin/_version.py export-subst

.github/workflows/publish-pypi.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Publish to PyPi
22

3-
# This will build a package with a version set by versioneer from the most recent tag matching v____
4-
# It will publish to TestPyPi, and to real Pypi *if* run on master where head has a release tag
5-
# For a live run, this should only need to be triggered by a newly published repo release.
6-
# This can also be run manually for testing
3+
# This will publish a package to TestPyPi (and real Pypi if run on master) with a version
4+
# number generated by versioneer from the most recent tag looking like v____
5+
# TODO: maybe move this into the package job so all release-based actions are together
76
on:
8-
release:
9-
types: [published]
107
workflow_dispatch:
118
push:
129
tags:
@@ -22,11 +19,11 @@ jobs:
2219
fetch-depth: 0
2320
- uses: actions/setup-python@v5
2421
with:
25-
python-version: 3.13
22+
python-version: 3.9
2623
- name: Build dist files
2724
run: |
2825
python -m pip install --upgrade pip
29-
python -m pip install -e .[test] build
26+
pip install -e .[test] build
3027
python -m build
3128
git describe --tag --dirty --always
3229

.github/workflows/run-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t']
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1717

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

@@ -38,7 +38,6 @@ jobs:
3838
uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ matrix.python-version }}
41-
allow-prereleases: ${{ matrix.allow-prereleases || false }}
4241

4342
- name: Install dependencies
4443
run: |
@@ -48,7 +47,7 @@ jobs:
4847
- name: Test with pytest
4948
if: always()
5049
run: |
51-
pytest test -n auto
50+
pytest test
5251
5352
- name: Test build
5453
if: always()

CODEOWNERS

Lines changed: 0 additions & 2 deletions
This file was deleted.

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ include CONTRIBUTORS.md
44
include LICENSE
55
include LICENSE.versioneer
66
include README.md
7+
include tableauserverclient/_version.py
8+
include versioneer.py
79
recursive-include docs *.md
810
recursive-include samples *.py
911
recursive-include samples *.txt
@@ -16,4 +18,5 @@ recursive-include test *.png
1618
recursive-include test *.py
1719
recursive-include test *.xml
1820
recursive-include test *.tde
21+
global-include *.pyi
1922
global-include *.typed

publish.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
# tag the release version and confirm a clean version number
4+
git tag vxxxx
5+
git describe --tag --dirty --always
6+
7+
set -e
8+
9+
rm -rf dist
10+
python setup.py sdist bdist_wheel
11+
twine upload dist/*

pyproject.toml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=77.0", "versioneer[toml]==0.29", "wheel"]
2+
requires = ["setuptools>=75.0", "versioneer[toml]==0.29", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -8,14 +8,14 @@ name="tableauserverclient"
88
dynamic = ["version"]
99
description='A Python module for working with the Tableau Server REST API.'
1010
authors = [{name="Tableau", email="github@tableau.com"}]
11-
license-files = ["LICENSE"]
11+
license = {file = "LICENSE"}
1212
readme = "README.md"
1313

1414
dependencies = [
1515
'defusedxml>=0.7.1', # latest as at 7/31/23
1616
'packaging>=23.1', # latest as at 7/31/23
1717
'requests>=2.32', # latest as at 7/31/23
18-
'urllib3>=2.6.0,<3',
18+
'urllib3>=2.2.2,<3',
1919
'typing_extensions>=4.0',
2020
]
2121
requires-python = ">=3.9"
@@ -32,13 +32,8 @@ classifiers = [
3232
repository = "https://github.com/tableau/server-client-python"
3333

3434
[project.optional-dependencies]
35-
test = ["black==24.10", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests",
36-
"pytest-xdist", "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"]
37-
38-
[tool.setuptools.packages.find]
39-
where = ["tableauserverclient"]
40-
[tool.setuptools.dynamic]
41-
version = {attr = "versioneer.get_version"}
35+
test = ["black==24.8", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests",
36+
"requests-mock>=1.0,<2.0"]
4237

4338
[tool.black]
4439
line-length = 120
@@ -66,5 +61,5 @@ addopts = "--junitxml=./test.junit.xml"
6661
VCS = "git"
6762
style = "pep440-pre"
6863
versionfile_source = "tableauserverclient/bin/_version.py"
69-
versionfile_build = "_version.py"
64+
versionfile_build = "tableauserverclient/bin/_version.py"
7065
tag_prefix = "v"

samples/create_user.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

samples/metadata_paginated_query.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

samples/update_connection_auth.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)