Skip to content

Commit 85be3a8

Browse files
committed
merge fix
2 parents 4c39133 + 2d67402 commit 85be3a8

228 files changed

Lines changed: 25006 additions & 10892 deletions

File tree

Some content is hidden

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

.github/workflows/add-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issues: write
1313
steps:
1414
- name: Manage LGTM Review Label
15-
uses: actions/github-script@v7
15+
uses: actions/github-script@v8
1616
with:
1717
script: |
1818
const LGTM_LABEL = 'lgtm';

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
with:
213213
filters: ./.github/changes-filter.yaml
214214
- name: Set up Python
215-
uses: actions/setup-python@v5
215+
uses: actions/setup-python@v6
216216
with:
217217
python-version: '3.12'
218218
- name: Install deps for coverage check
@@ -316,7 +316,7 @@ jobs:
316316
ref: ${{ inputs.ref || github.ref }}
317317

318318
- name: Set up Python 3.12
319-
uses: actions/setup-python@v5
319+
uses: actions/setup-python@v6
320320
with:
321321
python-version: 3.12
322322

.github/workflows/community-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: Add community label
1414
if: github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'COLLABORATOR'
15-
uses: actions/github-script@v7
15+
uses: actions/github-script@v8
1616
with:
1717
script: |
1818
const pullRequestNumber = context.payload.pull_request.number;

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Create Release Job
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/download-artifact@v5
23+
- uses: actions/download-artifact@v7
2424
with:
2525
name: dist-main
2626
path: dist

.github/workflows/cross-platform-test.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
- name: Build main package
5757
run: make build_langflow args="--wheel"
5858
- name: Upload base artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v6
6060
with:
6161
name: adhoc-dist-base
6262
path: src/backend/base/dist
6363
- name: Upload main artifact
64-
uses: actions/upload-artifact@v4
64+
uses: actions/upload-artifact@v6
6565
with:
6666
name: adhoc-dist-main
6767
path: dist
@@ -134,7 +134,7 @@ jobs:
134134
shell: bash
135135

136136
- name: Setup Python
137-
uses: actions/setup-python@v5
137+
uses: actions/setup-python@v6
138138
with:
139139
python-version: ${{ matrix.python-version }}
140140
architecture: ${{ matrix.arch == 'amd64' && 'x64' || matrix.arch }}
@@ -158,21 +158,21 @@ jobs:
158158
# Download artifacts for wheel installation
159159
- name: Download LFX package artifact
160160
if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != ''
161-
uses: actions/download-artifact@v5
161+
uses: actions/download-artifact@v7
162162
with:
163163
name: ${{ inputs.lfx-artifact-name }}
164164
path: ./lfx-dist
165165

166166
- name: Download base package artifact
167167
if: steps.install-method.outputs.method == 'wheel'
168-
uses: actions/download-artifact@v5
168+
uses: actions/download-artifact@v7
169169
with:
170170
name: ${{ inputs.base-artifact-name || needs.build-if-needed.outputs.base-artifact-name || 'adhoc-dist-base' }}
171171
path: ./base-dist
172172

173173
- name: Download main package artifact
174174
if: steps.install-method.outputs.method == 'wheel'
175-
uses: actions/download-artifact@v5
175+
uses: actions/download-artifact@v7
176176
with:
177177
name: ${{ inputs.main-artifact-name || needs.build-if-needed.outputs.main-artifact-name || 'adhoc-dist-main' }}
178178
path: ./main-dist
@@ -302,17 +302,16 @@ jobs:
302302
shell: bash
303303

304304
# Test steps
305-
- name: Test CLI help command (Windows)
305+
- name: Test CLI help command
306306
if: matrix.os == 'windows'
307307
run: |
308-
call test-env\Scripts\activate.bat
309-
python -m langflow --help
308+
uv run --python ./test-env/Scripts/python.exe python -m langflow --help
310309
shell: cmd
311310

312311
- name: Test CLI help command (Unix)
313312
if: matrix.os != 'windows'
314313
run: |
315-
./test-env/bin/python -m langflow --help
314+
uv run --python ./test-env/bin/python python -m langflow --help
316315
shell: bash
317316

318317
- name: Test server startup (Windows)
@@ -432,7 +431,7 @@ jobs:
432431
shell: bash
433432

434433
- name: Setup Python
435-
uses: actions/setup-python@v5
434+
uses: actions/setup-python@v6
436435
with:
437436
python-version: ${{ matrix.python-version }}
438437
architecture: ${{ matrix.arch == 'amd64' && 'x64' || matrix.arch }}
@@ -456,21 +455,21 @@ jobs:
456455
# Download artifacts for wheel installation
457456
- name: Download LFX package artifact
458457
if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != ''
459-
uses: actions/download-artifact@v5
458+
uses: actions/download-artifact@v7
460459
with:
461460
name: ${{ inputs.lfx-artifact-name }}
462461
path: ./lfx-dist
463462

464463
- name: Download base package artifact
465464
if: steps.install-method.outputs.method == 'wheel'
466-
uses: actions/download-artifact@v5
465+
uses: actions/download-artifact@v7
467466
with:
468467
name: ${{ inputs.base-artifact-name || needs.build-if-needed.outputs.base-artifact-name || 'adhoc-dist-base' }}
469468
path: ./base-dist
470469

471470
- name: Download main package artifact
472471
if: steps.install-method.outputs.method == 'wheel'
473-
uses: actions/download-artifact@v5
472+
uses: actions/download-artifact@v7
474473
with:
475474
name: ${{ inputs.main-artifact-name || needs.build-if-needed.outputs.main-artifact-name || 'adhoc-dist-main' }}
476475
path: ./main-dist
@@ -603,14 +602,13 @@ jobs:
603602
- name: Test CLI help command (Windows)
604603
if: matrix.os == 'windows'
605604
run: |
606-
call test-env\Scripts\activate.bat
607-
python -m langflow --help
605+
uv run --python ./test-env/Scripts/python.exe python -m langflow --help
608606
shell: cmd
609607

610608
- name: Test CLI help command (Unix)
611609
if: matrix.os != 'windows'
612610
run: |
613-
./test-env/bin/python -m langflow --help
611+
uv run --python ./test-env/bin/python python -m langflow --help
614612
shell: bash
615613

616614
- name: Test server startup (Windows)

.github/workflows/deploy-docs-draft.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v6
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: 22
2727
cache: npm
@@ -259,7 +259,7 @@ jobs:
259259
reactions: hooray
260260

261261
- name: Upload Deploy Log
262-
uses: actions/upload-artifact@v4
262+
uses: actions/upload-artifact@v6
263263
if: always()
264264
with:
265265
name: deploy.log

.github/workflows/deploy-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v6
2525

26-
- uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v6
2727
with:
2828
node-version: 22
2929
cache: npm

.github/workflows/deploy_gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v6
1919
with:
2020
node-version: 22
2121
cache: npm

.github/workflows/docker-build-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
id: version
8484
run: |
8585
echo "Extracting base version from pyproject.toml"
86-
version=$(uv tree 2>/dev/null | grep '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
86+
version=$(uv tree 2>/dev/null | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//' | head -n 1)
8787
echo "Using version: $version"
8888
echo version=$version >> $GITHUB_OUTPUT
8989
@@ -599,7 +599,7 @@ jobs:
599599
id: version
600600
run: |
601601
if [[ "${{ inputs.release_type }}" == "base" ]]; then
602-
version=$(uv tree 2>/dev/null | grep '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
602+
version=$(uv tree 2>/dev/null | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//' | head -n 1)
603603
else
604604
version=$(uv tree 2>/dev/null | grep '^langflow' | grep -v '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
605605
fi

.github/workflows/docker-nightly-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
id: version
7373
run: |
7474
echo "Extracting base version from pyproject.toml"
75-
version=$(uv tree 2>/dev/null | grep '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
75+
version=$(uv tree 2>/dev/null | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//' | head -n 1)
7676
7777
7878
# Verify nightly tag format
@@ -345,7 +345,7 @@ jobs:
345345
id: version
346346
run: |
347347
if [[ "${{ inputs.release_type }}" == "nightly-base" ]]; then
348-
version=$(uv tree 2>/dev/null | grep '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
348+
version=$(uv tree 2>/dev/null | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//' | head -n 1)
349349
else
350350
version=$(uv tree 2>/dev/null | grep '^langflow' | grep -v '^langflow-base' | cut -d' ' -f2 | sed 's/^v//')
351351
fi

0 commit comments

Comments
 (0)