Skip to content

Commit 6276e3d

Browse files
Merge pull request #1187 from gooddata/snapshot-master-c6448a97-to-rel/dev
[bot] Merge master/c6448a97 into rel/dev
2 parents e076557 + c6448a9 commit 6276e3d

File tree

1,303 files changed

+3504
-742
lines changed

Some content is hidden

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

1,303 files changed

+3504
-742
lines changed

.github/workflows/build-release.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,22 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v4
37-
- name: Set up Python
38-
uses: actions/setup-python@v5
39-
with:
40-
python-version-file: '.python-version'
41-
- name: Install dependencies
42-
run: |
43-
python -m pip install --upgrade pip
44-
pip install build
37+
- name: Install uv
38+
uses: astral-sh/setup-uv@v5
4539
- name: Build ${{ matrix.component }}
4640
run: |
47-
cd ${{ matrix.component }}
48-
python -m build
41+
if [ "${{ matrix.component }}" = "gooddata-api-client" ]; then
42+
cd ${{ matrix.component }}
43+
else
44+
cd packages/${{ matrix.component }}
45+
fi
46+
uv build --out-dir dist
4947
- name: Persist ${{ matrix.component }} artifacts
5048
uses: actions/upload-artifact@v4
5149
with:
5250
name: artifacts_${{ matrix.component }}
53-
path: ${{ matrix.component }}/dist/
51+
path: |
52+
${{ matrix.component == 'gooddata-api-client' && format('{0}/dist/', matrix.component) || format('packages/{0}/dist/', matrix.component) }}
5453
if-no-files-found: error
5554
github_release:
5655
name: Create GitHub release

.github/workflows/bump-version.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@ jobs:
2929
with:
3030
token: ${{ secrets.TOKEN_GITHUB_YENKINS_ADMIN }} # needed to push to the protected branch
3131

32-
- uses: actions/setup-python@v5
33-
with:
34-
python-version-file: '.python-version'
35-
cache: 'pip'
36-
cache-dependency-path: |
37-
release-requirements.txt
32+
- name: Install uv
33+
uses: astral-sh/setup-uv@v5
3834

3935
- name: Install dependencies
4036
run: |
41-
pip install -r release-requirements.txt
37+
uv sync --group release
4238
4339
- name: Bump version
4440
id: bump

.github/workflows/dev-release.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,25 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
ref: ${{ inputs.BRANCH_NAME }}
31-
- name: Set up Python
32-
uses: actions/setup-python@v5
33-
with:
34-
python-version-file: '.python-version'
35-
- name: Install pip & tbump
36-
run: python -m pip install --upgrade pip tbump
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@v5
33+
- name: Install dependencies
34+
run: |
35+
uv sync --group release
3736
- name: Bump to dev
3837
run: tbump --only-patch --non-interactive $(./scripts/next_dev.sh)
39-
- name: Install dependencies
40-
run: pip install build
4138
- name: Build ${{ matrix.component }}
4239
run: |
43-
cd ${{ matrix.component }}
44-
python -m build
40+
if [ "${{ matrix.component }}" = "gooddata-api-client" ]; then
41+
cd ${{ matrix.component }}
42+
else
43+
cd packages/${{ matrix.component }}
44+
fi
45+
uv build --out-dir dist
4546
- name: Push ${{ matrix.component}} to pypi
4647
uses: pypa/gh-action-pypi-publish@release/v1
4748
with:
4849
user: __token__
4950
password: ${{ secrets.PYPI_API_TOKEN }}
50-
packages_dir: ${{ matrix.component }}/dist
51+
packages_dir: ${{ matrix.component == 'gooddata-api-client' && format('{0}/dist', matrix.component) || format('packages/{0}/dist', matrix.component) }}
5152
verbose: true

.github/workflows/rw-collect-changes.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,11 @@ jobs:
3434
base: ${{ inputs.commit-branch }}
3535
filters: |
3636
docs:
37-
- 'gooddata-pandas/**'
38-
- 'gooddata-sdk/**'
37+
- 'packages/gooddata-pandas/**'
38+
- 'packages/gooddata-sdk/**'
3939
- 'docs/**'
4040
python-modules:
4141
- '.docker/**'
42-
- 'gooddata-fdw/**'
43-
- 'gooddata-pandas/**'
44-
- 'gooddata-sdk/**'
42+
- 'packages/**'
4543
- '*.mk'
4644
- 'Makefile'
47-
- 'gooddata-api-client/**'
48-
- 'gooddata-dbt/**'
49-
- 'gooddata-flight-server/**'
50-
- 'gooddata-flexconnect/**'
51-
- 'gooddata-pipelines/**'

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

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,21 @@ jobs:
2424
if: ${{ matrix.python_version == 'py313' }}
2525
uses: codecov/codecov-action@v3
2626
with:
27-
files: ./gooddata-sdk/coverage.xml,./gooddata-pandas/coverage.xml,./gooddata-fdw/coverage.xml,./gooddata-flight-server/coverage.xml,./gooddata-flexconnect/coverage.xml
27+
files: ./packages/gooddata-sdk/coverage.xml,./packages/gooddata-pandas/coverage.xml,./packages/gooddata-fdw/coverage.xml,./packages/gooddata-flight-server/coverage.xml,./packages/gooddata-flexconnect/coverage.xml
2828
lint-and-format-check:
2929
runs-on: ubuntu-latest
3030
if: ${{inputs.changed-python-modules == 'true'}}
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434
- name: Set up python 3.13
35-
uses: actions/setup-python@v5
35+
uses: astral-sh/setup-uv@v6
3636
with:
37-
python-version-file: '.python-version'
38-
cache: 'pip'
39-
cache-dependency-path: |
40-
fmt-requirements.txt
37+
python-version: 3.13
4138
- name: Install dependencies
4239
run: |
43-
make dev
40+
uv venv
41+
uv pip install --group lint
4442
- name: pep8 and formatting check
4543
run: |
4644
make format
@@ -54,13 +52,10 @@ jobs:
5452
uses: actions/setup-python@v5
5553
with:
5654
python-version-file: '.python-version'
57-
cache: 'pip'
58-
cache-dependency-path: |
59-
tox-requirements.txt
6055
- name: Install dependencies
6156
run: |
62-
python -m pip install --upgrade pip
63-
pip install -r tox-requirements.txt
57+
python -m pip install uv
58+
uv pip install --group tox --group type --system
6459
- name: mypy check
6560
run: |
6661
make mypy

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
.env.test
77
.venv
88
test_clients.py
9-
gooddata-sdk/tests/catalog/store
10-
gooddata-sdk/tests/catalog/translate
9+
packages/gooddata-sdk/tests/catalog/store
10+
packages/gooddata-sdk/tests/catalog/translate
1111
.DS_Store
1212
.vscode
1313
.ruff_cache

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
args: [ '--maxkb=890' ]
1616
- id: check-case-conflict
1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: v0.9.1
18+
rev: v0.9.5
1919
hooks:
2020
# Run the linter.
2121
- id: ruff

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Here are the options how to run the tests:
143143
- run tests for one sub-project - drill down to sub-project's directory
144144
- use `make test` to trigger tests
145145
```bash
146-
cd gooddata-sdk
146+
cd packages/gooddata-sdk
147147
make test
148148
```
149149
- or execute `tox` command with arguments of your choice
150150
```bash
151-
cd gooddata-sdk
151+
cd packages/gooddata-sdk
152152
tox -e py39
153153
```
154154
- run tests for all non-client projects using `make test` in project root directory
@@ -210,7 +210,7 @@ venv automatically. So when docker tox tests are executed after localhost tests
210210
```
211211
- run all tests for all supported python environments and for one project
212212
```bash
213-
cd gooddata-sdk
213+
cd packages/gooddata-sdk
214214
make test-ci
215215
```
216216
- run all tests containing `http_headers` in name for py310 and py39 for all projects

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN set -x \
3030
ENV PYTHON_TOX_VERSION=4.14.1
3131
ENV PYTHON_TOX_UV_VERSION=1.7.0
3232
RUN set -x \
33-
&& pip3 install tox==${PYTHON_TOX_VERSION} tox-uv==${PYTHON_TOX_UV_VERSION}\
33+
&& pip3 install uv tox==${PYTHON_TOX_VERSION} tox-uv==${PYTHON_TOX_UV_VERSION}\
3434
&& true
3535

3636
COPY .docker/entrypoint.sh /entrypoint.sh

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022-2024 GoodData Corporation
1+
Copyright (c) 2022-2025 GoodData Corporation
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

0 commit comments

Comments
 (0)