Skip to content

Commit 030e65f

Browse files
committed
adapted workflows
1 parent fd28389 commit 030e65f

File tree

4 files changed

+25
-81
lines changed

4 files changed

+25
-81
lines changed

.github/workflows/notebooks.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
fetch-depth: 0
2323
- uses: ./.github/actions/python-package-shared-setup
2424
with:
25-
rye-version: ${{ vars.RYE_VERSION }}
2625
python-version: 3.12
2726
- name: Format
2827
working-directory: examples
@@ -64,7 +63,6 @@ jobs:
6463
fetch-depth: 0
6564
- uses: ./.github/actions/python-package-shared-setup
6665
with:
67-
rye-version: ${{ vars.RYE_VERSION }}
6866
python-version: 3.12
6967
- name: Create readme
7068
working-directory: examples
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Labelbox Notebooks Rye Setup
2+
3+
inputs:
4+
python-version:
5+
required: true
6+
7+
runs:
8+
using: "composite"
9+
steps:
10+
- name: Install the latest version of rye
11+
uses: eifinger/setup-rye@v4
12+
with:
13+
enable-cache: true
14+
- name: Rye Setup
15+
shell: bash
16+
run: |
17+
rye config --set-bool behavior.use-uv=true
18+
- name: Python setup
19+
shell: bash
20+
run: rye pin ${{ inputs.python-version }}
21+
- name: Environment setup
22+
working-directory: libs/labelbox
23+
shell: bash
24+
run: |
25+
rye sync -f --update-all

.github/workflows/python-package-shared.yml

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

.github/workflows/rdme-custompages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: ./.github/actions/python-package-shared-setup
1818
with:
19-
rye-version: ${{ vars.RYE_VERSION }}
2019
python-version: 3.12
2120
- name: Create readme
2221
working-directory: examples

0 commit comments

Comments
 (0)