Skip to content

Commit cfb6563

Browse files
committed
build: take pytest, pytest-cov and deepdiff majors, bump hooks and CI actions
Major-version moves for test tooling: pytest 8 -> 9.1.1, pytest-cov 6 -> 7.1.0 and deepdiff 8 -> 9.1.0 across every member, including the new gooddata-eval package so it does not sit a version behind the rest of the workspace. pandas is deliberately left on 2.x; the 3.0 move is a separate piece of work with real API implications for gooddata-pandas. Outside python packaging: pre-commit-hooks v5 -> v6, astral-sh/setup-uv v7 -> v10.0.1 across all five workflows, and the sphinx pin in the pandas and fdw docs requirements from 5.1 to 9.1. Nothing in CI builds those sphinx docs and there is no readthedocs config, so the bump was verified only by installing sphinx 9.1 alongside pallets-sphinx-themes and sphinx-rtd-theme. setup-uv is pinned to an exact tag rather than a floating major. v8.0.0 removed the action's update-major-minor-tags workflow, so v8, v9 and v10 have no floating tag at all; `@v10` fails to resolve and every job using it dies in "Set up job" before running a step. ty is held at the 0.0.55 the lock already had rather than moving to 0.0.78. The newer ty reports three diagnostics, and the only error of the three looks like a false positive: in CatalogDataset.find_label the lambda parameter is inferred as `CatalogLabel | None` even though `labels` is declared `list[CatalogLabel]`, seemingly picking up the `None` from the `next(..., None)` default. Working around a pre-1.0 checker's inference bug in library source does not belong in a dependency bump, so the upgrade waits for a ty release that resolves it.
1 parent b62d65d commit cfb6563

18 files changed

Lines changed: 198 additions & 77 deletions

File tree

.github/workflows/build-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v5
5050
- name: Install uv
51-
uses: astral-sh/setup-uv@v7
51+
uses: astral-sh/setup-uv@v10.0.1
5252
- name: Build ${{ matrix.component }}
5353
run: |
5454
if [ "${{ matrix.component }}" = "gooddata-api-client" ]; then

.github/workflows/bump-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
token: ${{ secrets.TOKEN_GITHUB_YENKINS_ADMIN }} # needed to push to the protected branch
3737

3838
- name: Install uv
39-
uses: astral-sh/setup-uv@v7
39+
uses: astral-sh/setup-uv@v10.0.1
4040

4141
- name: Install dependencies
4242
run: |

.github/workflows/dev-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
ref: ${{ inputs.BRANCH_NAME }}
3939
- name: Install uv
40-
uses: astral-sh/setup-uv@v7
40+
uses: astral-sh/setup-uv@v10.0.1
4141
- name: Install dependencies
4242
run: |
4343
uv sync --only-group release --locked

.github/workflows/rw-python-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v5
3737
- name: Set up python 3.14
38-
uses: astral-sh/setup-uv@v7
38+
uses: astral-sh/setup-uv@v10.0.1
3939
with:
4040
python-version: 3.14
4141
- name: Install dependencies
@@ -54,7 +54,7 @@ jobs:
5454
- name: Checkout
5555
uses: actions/checkout@v5
5656
- name: Set up python 3.14
57-
uses: astral-sh/setup-uv@v7
57+
uses: astral-sh/setup-uv@v10.0.1
5858
with:
5959
python-version: 3.14
6060
- name: Install dependencies
@@ -70,7 +70,7 @@ jobs:
7070
- name: Checkout
7171
uses: actions/checkout@v5
7272
- name: Set up python 3.14
73-
uses: astral-sh/setup-uv@v7
73+
uses: astral-sh/setup-uv@v10.0.1
7474
- name: Install dependencies
7575
run: |
7676
uv sync --group type --locked

.github/workflows/staging-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
ref: ${{ steps.pr.outputs.sha || github.event.pull_request.head.sha || github.sha }}
5151

5252
- name: Set up Python
53-
uses: astral-sh/setup-uv@v7
53+
uses: astral-sh/setup-uv@v10.0.1
5454
with:
5555
python-version: '3.14'
5656
# self-hosted runners are ephemeral and the default 'auto' only caches

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
exclude: (gooddata-api-client|.*\.snapshot\..*|.openapi-generator/custom_templates)
88
repos:
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v5.0.0
10+
rev: v6.0.0
1111
hooks:
1212
- id: trailing-whitespace
1313
- id: end-of-file-fixer

packages/gooddata-dbt/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ gooddata-dbt = "gooddata_dbt.dbt_plugin:main"
3636

3737
[dependency-groups]
3838
test = [
39-
"pytest~=8.3.4",
40-
"pytest-cov~=6.0.0",
39+
"pytest~=9.1.1",
40+
"pytest-cov~=7.1.0",
4141
"pytest-json-report==1.5.0",
4242
]
4343

packages/gooddata-eval/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ dev = [
4343
"pytest>=8.3.5",
4444
]
4545
test = [
46-
"pytest~=8.3.4",
47-
"pytest-cov~=6.0.0",
46+
"pytest~=9.1.1",
47+
"pytest-cov~=7.1.0",
4848
"pytest-json-report==1.5.0",
4949
"pytest-mock>=3.14.0",
5050
]

packages/gooddata-fdw/docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Sphinx~=5.1.1
1+
Sphinx~=9.1.0
22
pallets-sphinx-themes
33
sphinx-rtd-theme
44
# Dependencies to the other projects in the repository

packages/gooddata-fdw/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Source = "https://github.com/gooddata/gooddata-python-sdk"
4949

5050
[dependency-groups]
5151
test = [
52-
"pytest~=8.3.4",
53-
"pytest-cov~=6.0.0",
52+
"pytest~=9.1.1",
53+
"pytest-cov~=7.1.0",
5454
"pytest-json-report==1.5.0",
5555
"vcrpy~=8.3.0",
5656
# TODO - Bump the version together with bumping the version of openapi generator

0 commit comments

Comments
 (0)