Skip to content

Commit ddbfbd5

Browse files
committed
Merge origin/development into jac/webhook-update
2 parents 3f4b08a + 3ddfcf2 commit ddbfbd5

27 files changed

Lines changed: 636 additions & 95 deletions

‎.github/dependabot.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
target-branch: "development"
6+
schedule:
7+
interval: "weekly"
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
target-branch: "development"
12+
schedule:
13+
interval: "weekly"

‎.github/workflows/code-coverage.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v7
2020

2121
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v7
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

‎.github/workflows/meta-checks.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
2121
2222
- name: cache
23-
uses: actions/cache@v4
23+
uses: actions/cache@v6
2424
with:
2525
path: ${{ steps.pip-cache.outputs.dir }}
2626
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml') }}
2727
restore-keys: |
2828
${{ runner.os }}-${{ matrix.python-version }}-pip-
2929
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v7
3131

3232
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
33-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@v7
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636

‎.github/workflows/publish-pypi.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
name: Build and check wheel
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v7
1919
with:
2020
fetch-depth: 0
21-
- uses: actions/setup-python@v5
21+
- uses: actions/setup-python@v7
2222
with:
2323
python-version: '3.13'
2424
- name: Build dist files
@@ -29,7 +29,7 @@ jobs:
2929
git describe --tag --dirty --always
3030
- name: Check wheel structure
3131
run: python -m pytest test/test_packaging.py -m packaging -v
32-
- uses: actions/upload-artifact@v4
32+
- uses: actions/upload-artifact@v7
3333
with:
3434
name: dist
3535
path: dist/
@@ -39,7 +39,7 @@ jobs:
3939
needs: build
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/download-artifact@v4
42+
- uses: actions/download-artifact@v8
4343
with:
4444
name: dist
4545
path: dist/
@@ -60,7 +60,7 @@ jobs:
6060
python-version: ['3.x']
6161
runs-on: ${{ matrix.os }}
6262
steps:
63-
- uses: actions/setup-python@v5
63+
- uses: actions/setup-python@v7
6464
with:
6565
python-version: ${{ matrix.python-version }}
6666
- name: Install from Test PyPI
@@ -75,8 +75,9 @@ jobs:
7575
needs: smoke-test-pypi
7676
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
7777
runs-on: ubuntu-latest
78+
environment: pypi
7879
steps:
79-
- uses: actions/download-artifact@v4
80+
- uses: actions/download-artifact@v8
8081
with:
8182
name: dist
8283
path: dist/

‎.github/workflows/pypi-smoke-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v7
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: pip install

‎.github/workflows/run-tests.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
2626
2727
- name: cache
28-
uses: actions/cache@v4
28+
uses: actions/cache@v6
2929
with:
3030
path: ${{ steps.pip-cache.outputs.dir }}
3131
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml') }}
3232
restore-keys: |
3333
${{ runner.os }}-${{ matrix.python-version }}-pip-
3434
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v7
3636

3737
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
38-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v7
3939
with:
4040
python-version: ${{ matrix.python-version }}
4141
allow-prereleases: ${{ matrix.allow-prereleases || false }}

‎.github/workflows/slack.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: Send message to Slack API
1212
continue-on-error: true
13-
uses: archive/github-actions-slack@v2.8.0
13+
uses: archive/github-actions-slack@v3.1.0
1414
id: notify
1515
with:
1616
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}

‎.github/workflows/stale.yml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
jobs:
13+
stale:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/stale@v11
17+
with:
18+
stale-issue-label: 'stale'
19+
stale-pr-label: 'stale'
20+
exempt-issue-labels: 'good first issue,Design Proposal,in-progress'
21+
exempt-pr-labels: 'in-progress'
22+
23+
days-before-issue-stale: 60
24+
days-before-issue-close: 14
25+
days-before-pr-stale: 90
26+
days-before-pr-close: 14
27+
28+
close-issue-reason: 'not_planned'
29+
30+
stale-issue-message: >
31+
This issue has been automatically marked as stale because it has not had
32+
recent activity. It will be closed in 14 days if no further activity occurs.
33+
If this is still relevant, please comment to keep it open.
34+
stale-pr-message: >
35+
This pull request has been automatically marked as stale because it has not had
36+
recent activity. It will be closed in 14 days if no further activity occurs.
37+
If this is still active work, please comment or push a new commit to keep it open.
38+
close-issue-message: >
39+
Closing due to inactivity. If this is still relevant, please reopen or file a new issue.
40+
close-pr-message: >
41+
Closing due to inactivity. Feel free to reopen if you'd like to continue this work.

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
## Unreleased
3+
4+
* Added `Projects.get_by_path(path)` to look up a project by its slash-separated
5+
hierarchy path (e.g. `"Marketing/Q1 Reports"`). The walk is performed level by
6+
level using the REST API name filter, so a path with *n* components issues *n*
7+
requests. Returns the matching `ProjectItem` or `None` if no project is found.
8+
29
## 0.18.0 (6 April 2022)
310
* Switched to using defused_xml for xml attack protection
411
* added linting and type hints

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ classifiers = [
3333
repository = "https://github.com/tableau/server-client-python"
3434

3535
[project.optional-dependencies]
36-
test = ["black==26.3.1", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests",
36+
test = ["black==26.5.1", "build", "mypy==2.3.0", "pytest>=7.0", "pytest-cov", "pytest-subtests",
3737
"pytest-xdist", "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"]
3838

3939
[tool.setuptools.package-data]

0 commit comments

Comments
 (0)