Skip to content

Commit 7a64614

Browse files
authored
Merge branch 'main' into fix-plotly-utf8
2 parents f91c835 + d0309be commit 7a64614

File tree

117 files changed

+8923
-788
lines changed

Some content is hidden

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

117 files changed

+8923
-788
lines changed

.github/reviewers.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/check-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
check-version:
10+
permissions:
11+
contents: read
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/checkout@v4
@@ -52,6 +54,8 @@ jobs:
5254
uses: ./.github/workflows/kedro-telemetry.yml
5355

5456
build-publish:
57+
permissions:
58+
contents: write
5559
needs: [ check-version, airflow-test, docker-test, datasets-test, telemetry-test ]
5660
if: |
5761
always() &&

.github/workflows/check-tsc-vote.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/detect-secrets.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,25 @@ on:
1212

1313
jobs:
1414
detect-secrets:
15+
permissions:
16+
contents: read
1517
defaults:
1618
run:
1719
shell: bash
1820
runs-on: ${{ inputs.os }}
1921
steps:
2022
- name: Checkout code
2123
uses: actions/checkout@v4
22-
- name: Set up Python
23-
uses: actions/setup-python@v5
24+
- name: Install the latest version of uv with Python ${{inputs.python-version}}
25+
uses: astral-sh/setup-uv@v6
2426
with:
27+
version: "latest"
2528
python-version: ${{ inputs.python-version }}
26-
- name: Cache python packages
27-
uses: actions/cache@v4
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{inputs.plugin}}-${{inputs.os}}-python-${{inputs.python-version}}
31-
restore-keys: ${{inputs.plugin}}
32-
- name: Install uv
33-
run: |
34-
python -m pip install "uv==0.2.21"
29+
activate-environment: true
3530
- name: Install dependencies
3631
run: |
37-
cd ${{ inputs.plugin }}
38-
uv pip install --system "kedro @ git+https://github.com/kedro-org/kedro@main"
39-
uv pip install --system "${{inputs.plugin}}[lint] @ ."
40-
uv pip freeze --system
32+
make plugin=${{ inputs.plugin }} install-lint-requirements
33+
uv pip freeze
4134
- name: Install pre-commit hooks
4235
run: |
4336
pre-commit install --install-hooks
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Check links in MkDocs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
linkcheck:
15+
permissions:
16+
contents: read
17+
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
matrix:
22+
python-version: [ "3.11" ]
23+
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v5
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
33+
- name: Install the latest version of uv with Python ${{inputs.python-version}}
34+
uses: astral-sh/setup-uv@v6
35+
with:
36+
version: "latest"
37+
python-version: ${{ inputs.python-version }}
38+
activate-environment: true
39+
40+
- name: Install docs requirements
41+
run: |
42+
cd kedro-datasets && uv pip install -e ".[docs]"
43+
44+
- name: Run MkDocs on strict mode.
45+
run: |
46+
make build-datasets-docs

.github/workflows/e2e-tests.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,26 @@ on:
1212

1313
jobs:
1414
e2e-tests:
15+
permissions:
16+
contents: read
1517
defaults:
1618
run:
1719
shell: bash
1820
runs-on: ${{ inputs.os }}
1921
steps:
2022
- name: Checkout code
2123
uses: actions/checkout@v4
22-
- name: Set up Python ${{inputs.python-version}}
23-
uses: actions/setup-python@v5
24+
- name: Install the latest version of uv with Python ${{inputs.python-version}}
25+
uses: astral-sh/setup-uv@v6
2426
with:
25-
python-version: ${{inputs.python-version}}
26-
- name: Cache python packages
27-
uses: actions/cache@v4
28-
with:
29-
path: ~/.cache/pip
30-
key: ${{inputs.plugin}}-${{inputs.os}}-python-${{inputs.python-version}}
31-
restore-keys: ${{inputs.plugin}}
32-
- name: Install uv
33-
run: |
34-
python -m pip install "uv==0.2.21"
27+
version: "latest"
28+
python-version: ${{ inputs.python-version }}
29+
activate-environment: true
3530
- name: Install dependencies
3631
run: |
37-
cd ${{ inputs.plugin }}
38-
uv pip install --system "kedro @ git+https://github.com/kedro-org/kedro@main"
39-
uv pip install --system "${{inputs.plugin}}[test] @ ."
40-
- name: pip freeze
41-
run: uv pip freeze --system
32+
uv pip install "kedro @ git+https://github.com/kedro-org/kedro@main"
33+
make plugin=${{ inputs.plugin }} install-test-requirements
34+
uv pip freeze
4235
- name: Run end to end tests
4336
# Custom shell to run kedro-docker e2e-tests because -it flag for `docker run`
4437
# isn't supported on Github Actions. See https://github.com/actions/runner/issues/241

.github/workflows/kedro-airflow.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ on:
1717
- "kedro-docker/**"
1818
- "kedro-telemetry/**"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
unit-tests:
2225
strategy:
2326
matrix:
2427
os: [ ubuntu-latest, windows-latest ]
25-
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
28+
python-version: [ "3.10", "3.11", "3.12" ]
2629
uses: ./.github/workflows/unit-tests.yml
2730
with:
2831
plugin: kedro-airflow
@@ -40,7 +43,7 @@ jobs:
4043
strategy:
4144
matrix:
4245
os: [ ubuntu-latest ]
43-
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
46+
python-version: [ "3.10", "3.11", "3.12" ]
4447
uses: ./.github/workflows/e2e-tests.yml
4548
with:
4649
plugin: kedro-airflow

.github/workflows/kedro-datasets.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
- "kedro-docker/**"
1818
- "kedro-telemetry/**"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
unit-tests:
2225
strategy:
@@ -37,6 +40,8 @@ jobs:
3740
python-version: "3.11"
3841

3942
check-docs:
43+
permissions:
44+
contents: read
4045
runs-on: ubuntu-latest
4146
steps:
4247
- name: Checkout code

.github/workflows/kedro-docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ on:
1717
- "kedro-datasets/**"
1818
- "kedro-telemetry/**"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
unit-tests:
2225
strategy:
2326
matrix:
2427
os: [ ubuntu-latest, windows-latest ]
25-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
28+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
2629
uses: ./.github/workflows/unit-tests.yml
2730
with:
2831
plugin: kedro-docker
@@ -40,7 +43,7 @@ jobs:
4043
strategy:
4144
matrix:
4245
os: [ ubuntu-latest ]
43-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
46+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
4447
uses: ./.github/workflows/e2e-tests.yml
4548
with:
4649
plugin: kedro-docker

.github/workflows/kedro-telemetry.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ on:
1717
- "kedro-datasets/**"
1818
- "kedro-docker/**"
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
unit-tests:
2225
strategy:
2326
matrix:
2427
os: [ ubuntu-latest ]
25-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
28+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
2629
uses: ./.github/workflows/unit-tests.yml
2730
with:
2831
plugin: kedro-telemetry

0 commit comments

Comments
 (0)