Skip to content

Commit 22c2138

Browse files
github-actions[bot]p-pekalapawelpinkosSanthinPiotrSierkin-Ki
authored
Release 0.31.0 (#126)
* Documentation improvement (#80) * Documentation improvement * GitPython is not required anymore (#83) Installation docs upgrade * Documentation improvement (#80) * Documentation improvement * GitPython is not required anymore (#83) Installation docs upgrade * feat: looker integration for compile and deploy, new command: bi * tests fix, looker git with ssh * chore: organizing imports, removed not used variables * chore: dbt2looker as extra dependency, mypy errors fix, bi-git-key-path option instead of key-path * chore: formatting, types-requests dependency for mypy * refactor: refactoring bi, removing bi command, fix tests, moving bi flags to bi.yml instead of call option * Fix after rebase * Fix after rebase * Fix after rebase * Fix after rebase * Airbyte integration (#86) * [DATA-366] Update datahub package and add dbt extra (#79) Co-authored-by: Piotr Sierkin <[email protected]> * Documentation improvement (#80) * Added IAP Airbyte authorization with service account file Co-authored-by: Piotr Sierkin <[email protected]> Co-authored-by: Piotr Pękala <[email protected]> Co-authored-by: Pawel Pinkos <[email protected]> Co-authored-by: Pawel Jurkiewicz <[email protected]> Co-authored-by: pawelpinkos <[email protected]> * Service account OIDC ID token in deploy command (#91) * Added possibility to pass platform-agnostic service account OIDC ID token to deploy command * Added changelog information * added 'source freshness' command to dbt compile * Bump copier (#93) * [DATA-366] Update datahub package and add dbt extra (#79) * feat: update datahub package and add dbt extra * fix: replace datahub requirements * fix: pre-commit coma Co-authored-by: Piotr Sierkin <[email protected]> * Documentation improvement (#80) * Documentation improvement * dp compile default environment has been set to local * GitPython is not required anymore (#83) Installation docs upgrade * chore: bump datahub (#84) Co-authored-by: Piotr Sierkin <[email protected]> * [DATA-366] Update datahub package and add dbt extra (#79) * feat: update datahub package and add dbt extra * fix: replace datahub requirements * fix: pre-commit coma Co-authored-by: Piotr Sierkin <[email protected]> * Documentation improvement (#80) * Documentation improvement * GitPython is not required anymore (#83) Installation docs upgrade * chore: bump packages except copier * fix: package name * chore: add specific version for pyyaml * fix: misspelling * chore: test docs * chore: test * test * test * test * test * test * test * chore: bump packages * chore: add renovate * chore: bump copier * chore: update exception * fix: update by removing not existing flag * chore: update tests * feat: update schema on manifest to v7 * chore: bump packages * chore: delete renovate * chore: bump python version * chore: remove junk * chore: bring back old exception * chore: add matrix to tox * chore: add new require and classifier * trigger * chore(docs): update badge and changelog * chore(docs): replace old extension * chore: add description * chore(docs): add old suffix and envops * chore(docs): update changelog * chore(docs): update changelog * chore(docs): update copier * chore: pinup version for dbt2looker * chore(docs): update changelog * chore: replace var for more meaningful Co-authored-by: Piotr Sierkin <[email protected]> Co-authored-by: Piotr Pękala <[email protected]> * chore: downgrade version to properly prepare release * chore(docs): fix date in changelog * BI deployment is disabled when config is missing (#95) * DATA-629: Added Airbyte configuration documentation (#97) * feat: disable sync bucket (#102) * chore: add flag to turn off bucket syncing with artefacts * chore: replace default value * chore(docs): updat changelog * fix: add readthedocs config file * chore: repair failing tests * feat: add test for sync_bucket * chore(docs): cosmetic changes in changelog * chore: rename `sync-bucket` to `disable-bucket-sync` * chore(docs): update with flag * chore: replace `sync_bucket` with `disable_bucket_sync` * chore: update name for `_bucket_sync` --------- Co-authored-by: Piotr Sierkin <[email protected]> * Fix failing readthedocs builds (#104) * Removed sphinx action from prepare-release pipeline (#105) * Bump werkzeug from 2.2.2 to 2.2.3 (#106) * Bump werkzeug from 2.2.2 to 2.2.3 Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](pallets/werkzeug@2.2.2...2.2.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * bump codeclimate-action to 4.0.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pawel Jurkiewicz <[email protected]> * Airbyte fix creating multiple connections (#109) * Fixing tests. * Fix failing test. * Remove redundant line. * Add info about fix to CHANGELOG.md. * Add workspace_id entry to config. * Get rid of walrus operator & add test for missing workspace id. * Fix wrong connection id in Airflow ingestion task. * Fix typo in test name. * Add fetching default workspace if not available in config. * Increasign test coverage. * Update workspace_id configuration description. * Bumping Python version to 3.8 in prepare-release workflow. * Pin pydantic version (#112) * Pin Pydantic version until Copier fixes their dependency. * Add info to changelog. * Upgrade dbt to 1.5.4 (#114) * Upgrade dbt to 1.5.4 * Fixing imports for publish.py * Update of dbt_schema_version * Updating manifest.json for tests * Fix manifest for testing * Fixing manifest cntd. * Fixing manifest cntd. * Replace example-project with exampleproject * Adding tutorial for upgrading manifest in tests cntd. * Fixing typos in the docs * Version fixes before release --------- Co-authored-by: Michal Rudko <[email protected]> * Databricks generate job (#116) * new feature * small fixes * dbt databricks factory requirement * python 3.9 onwards * testing * linting * annotations fix * linting * no docs * linting * update docs * testing * tests with databricks * testenv * Upgrade pyyaml * Dbt glue (#118) * DBT glue * DBT glue * DBT glue * DBT glue * Dbt glue with spark (#120) * Dbt glue with spark * Fixing dp cli * Dbt upgtade (#122) * Dbt upgrade to 1.7 * Dbt upgrade to 1.7 * Fixing dp cli * Upgrade versions * Upgrade versions * feat: Add support for python 3.11 and 3.12 (#125) # Add Python 3.11 and 3.12 Support ## Summary Adds full support for Python 3.11 and 3.12 while maintaining Python 3.9/3.10 compatibility. Python 3.9 is deprecated (EOL Oct 2025) with support ending April 30, 2026. ## Changes **Dependencies** - Removed `pydantic<2` (unused, blocked Python 3.12) - Updated `packaging` to `>=23.0` (setuptools compatibility) - Updated `fsspec`, `gcsfs`, `s3fs` to `>=2024.6.0,<2025.0.0` - Added `setuptools<75.0.0` constraint in tox/requirements-dev **Testing** - Configured tox for `py39`, `py310`, `py311`, `py312` - All 112 tests pass on Python 3.10-3.12 (96% coverage) - Updated pre-commit: flake8 6.1.0, mypy 1.7.1 **Code Quality** - Fixed exception handling: `ClientError` instead of bare `Exception` - Removed unnecessary `type: ignore` comments - Fixed line length violations **Documentation** - Updated `CONTRIBUTING.md` with dev setup and tox usage - Updated `.pre-commit-config.yaml` tool versions ## Testing ```bash tox # All versions tox -e py312 # Specific version Results: 112 tests passed, 96% coverage on Python 3.9-3.12 Release Version: 0.31.0 Type: Minor (non-breaking, adds Python 3.11/3.12 support) Target Branch: develop → main Breaking Changes None. Fully backward compatible. * fix: rollback manual version bump and changelog edit * fix: rollback another manual change in dp version * ci: rollback missing default CHANGELOG configuration that was manually edited * ci: fix release pipeline, add permissions to GH token * ci: fix release pipeline, add permissions to GH token * FIX #126 - Bump version and CHANGELOG for release 0.31.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Piotr Pękala <[email protected]> Co-authored-by: Pawel Pinkos <[email protected]> Co-authored-by: Piotr Sierkin <[email protected]> Co-authored-by: Piotr Sierkin <[email protected]> Co-authored-by: Pawel Jurkiewicz <[email protected]> Co-authored-by: pawelpinkos <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Szafran <[email protected]> Co-authored-by: jszafran <[email protected]> Co-authored-by: michalrudko <[email protected]> Co-authored-by: Michal Rudko <[email protected]> Co-authored-by: ptutak-getindata <[email protected]> Co-authored-by: Dominik Gniewek-Węgrzyn <[email protected]> Co-authored-by: Dominik Gniewek-Węgrzyn <[email protected]>
1 parent 4c4dcc2 commit 22c2138

20 files changed

+497
-97
lines changed

.github/workflows/prepare-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ on:
66
version_part:
77
description: The part of the version to update (patch, minor or major)
88
required: true
9-
default: 'minor'
9+
default: "minor"
1010

1111
jobs:
1212
prepare-release:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write # to create branch, tag and push the changes
16+
pull-requests: write # to create pull request
1417
strategy:
1518
matrix:
1619
python-version: [3.9]
@@ -26,7 +29,7 @@ jobs:
2629
run: |
2730
echo "INPUT_VERSION_PART: ${{ github.event.inputs.version_part }}"
2831
python -c "if '${{ github.event.inputs.version_part }}' not in ['patch', 'minor', 'major']: raise ValueError(\"'${{ github.event.inputs.version_part }}' must be one of ['patch', 'minor', 'major'])\")"
29-
- name: Bump the version number # bump2version is a maintained fork of original bumpversion
32+
- name: Bump the version number # bump2version is a maintained fork of original bumpversion
3033
id: bump_version
3134
run: |
3235
pip install bump2version

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # to push to develop, create releases and tags
1113
strategy:
1214
matrix:
13-
python-version: [3.7]
15+
python-version: ["3.9"]
1416
env:
1517
PYTHON_PACKAGE: data_pipelines_cli
1618
steps:

.github/workflows/python-package.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.9", "3.10"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -40,12 +40,3 @@ jobs:
4040
- name: Test with tox
4141
run: |
4242
tox
43-
44-
- name: Report coverage
45-
uses: paambaati/[email protected]
46-
env:
47-
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE }}
48-
with:
49-
coverageCommand: coverage xml
50-
debug: true
51-
coverageLocations: coverage.xml:coverage.py

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
out/
55
.idea_modules/
66

7+
# VSCode
8+
.vscode/
9+
710
### macOS
811
*.DS_Store
912
.AppleDouble
@@ -125,4 +128,4 @@ venv.bak/
125128

126129
docs/_build
127130

128-
dp-testing
131+
dp-testing

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: check-yaml
2424

2525
- repo: https://github.com/pycqa/flake8
26-
rev: 4.0.1
26+
rev: 6.1.0
2727
hooks:
2828
- id: flake8
2929
additional_dependencies: [
@@ -33,7 +33,7 @@ repos:
3333
]
3434

3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v0.961
36+
rev: v1.7.1
3737
hooks:
3838
- id: mypy
3939
additional_dependencies:

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python 3.12.12 3.9.24 3.10.19 3.11.14

0 commit comments

Comments
 (0)