Skip to content

Commit

Permalink
build(telemetry): Add python 3.12 support (#615)
Browse files Browse the repository at this point in the history
* Add python 3.12 support for kedro-telemetry

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Increase timeout UV

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Increase timeout for docs build

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

---------

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
ankatiyar authored Mar 19, 2024
1 parent 846db2b commit d5bc782
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:

jobs:
e2e-tests:
env:
UV_HTTP_TIMEOUT: 600
defaults:
run:
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/kedro-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:

check-docs:
runs-on: ubuntu-latest
env:
UV_HTTP_TIMEOUT: 600
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kedro-telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
uses: ./.github/workflows/unit-tests.yml
with:
plugin: kedro-telemetry
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
uses: ./.github/workflows/e2e-tests.yml
with:
plugin: kedro-telemetry
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:

jobs:
lint:
env:
UV_HTTP_TIMEOUT: 600
defaults:
run:
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

unit-tests:
runs-on: ${{ inputs.os }}
env:
UV_HTTP_TIMEOUT: 600
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions kedro-datasets/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ build:
jobs:
pre_install:
- python -m pip install "uv==0.1.13"
- export UV_HTTP_TIMEOUT=600
- uv pip install --system --upgrade sphinx readthedocs-sphinx-ext "kedro-datasets[docs,test] @ ./kedro-datasets"
- uv pip freeze
pre_build:
Expand Down
1 change: 1 addition & 0 deletions kedro-telemetry/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Upcoming release 0.4.0
* Updated the plugin to generate an unique UUID for each user of `kedro-telemetry`.
* Added support for Python 3.12.

# Release 0.3.2
* Updated plugin to share if a project is being run in a ci environment.
Expand Down

0 comments on commit d5bc782

Please sign in to comment.