Skip to content

Commit b0c386c

Browse files
committed
fixed the conflict issue
2 parents bd7d406 + 0a4dbc8 commit b0c386c

1,794 files changed

Lines changed: 365209 additions & 97557 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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ 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+
<<<<<<< HEAD
1516
uses: actions/github-script@v7
17+
=======
18+
uses: actions/github-script@v8
19+
>>>>>>> origin/langflow-main
1620
with:
1721
script: |
1822
const pullRequestNumber = context.payload.pull_request.number;

.github/workflows/create-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
name: Create Release Job
2121
runs-on: ubuntu-latest
2222
steps:
23+
<<<<<<< HEAD
2324
- uses: actions/download-artifact@v5
25+
=======
26+
- uses: actions/download-artifact@v7
27+
>>>>>>> origin/langflow-main
2428
with:
2529
name: dist-main
2630
path: dist

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

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,20 @@ jobs:
5656
- name: Build main package
5757
run: make build_langflow args="--wheel"
5858
- name: Upload base artifact
59+
<<<<<<< HEAD
5960
uses: actions/upload-artifact@v4
61+
=======
62+
uses: actions/upload-artifact@v6
63+
>>>>>>> origin/langflow-main
6064
with:
6165
name: adhoc-dist-base
6266
path: src/backend/base/dist
6367
- name: Upload main artifact
68+
<<<<<<< HEAD
6469
uses: actions/upload-artifact@v4
70+
=======
71+
uses: actions/upload-artifact@v6
72+
>>>>>>> origin/langflow-main
6573
with:
6674
name: adhoc-dist-main
6775
path: dist
@@ -134,7 +142,11 @@ jobs:
134142
shell: bash
135143

136144
- name: Setup Python
145+
<<<<<<< HEAD
137146
uses: actions/setup-python@v5
147+
=======
148+
uses: actions/setup-python@v6
149+
>>>>>>> origin/langflow-main
138150
with:
139151
python-version: ${{ matrix.python-version }}
140152
architecture: ${{ matrix.arch == 'amd64' && 'x64' || matrix.arch }}
@@ -158,21 +170,33 @@ jobs:
158170
# Download artifacts for wheel installation
159171
- name: Download LFX package artifact
160172
if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != ''
173+
<<<<<<< HEAD
161174
uses: actions/download-artifact@v5
175+
=======
176+
uses: actions/download-artifact@v7
177+
>>>>>>> origin/langflow-main
162178
with:
163179
name: ${{ inputs.lfx-artifact-name }}
164180
path: ./lfx-dist
165181

166182
- name: Download base package artifact
167183
if: steps.install-method.outputs.method == 'wheel'
184+
<<<<<<< HEAD
168185
uses: actions/download-artifact@v5
186+
=======
187+
uses: actions/download-artifact@v7
188+
>>>>>>> origin/langflow-main
169189
with:
170190
name: ${{ inputs.base-artifact-name || needs.build-if-needed.outputs.base-artifact-name || 'adhoc-dist-base' }}
171191
path: ./base-dist
172192

173193
- name: Download main package artifact
174194
if: steps.install-method.outputs.method == 'wheel'
195+
<<<<<<< HEAD
175196
uses: actions/download-artifact@v5
197+
=======
198+
uses: actions/download-artifact@v7
199+
>>>>>>> origin/langflow-main
176200
with:
177201
name: ${{ inputs.main-artifact-name || needs.build-if-needed.outputs.main-artifact-name || 'adhoc-dist-main' }}
178202
path: ./main-dist
@@ -190,7 +214,11 @@ jobs:
190214
find ./lfx-dist -name "*.whl" -type f
191215
WHEEL_FILE=$(find ./lfx-dist -name "*.whl" -type f | head -1)
192216
if [ -n "$WHEEL_FILE" ]; then
217+
<<<<<<< HEAD
193218
uv pip install --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
219+
=======
220+
uv pip install --prerelease=allow --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
221+
>>>>>>> origin/langflow-main
194222
else
195223
echo "No wheel file found in ./lfx-dist/"
196224
exit 1
@@ -218,7 +246,11 @@ jobs:
218246
find ./main-dist -name "*.whl" -type f
219247
WHEEL_FILE=$(find ./main-dist -name "*.whl" -type f | head -1)
220248
if [ -n "$WHEEL_FILE" ]; then
249+
<<<<<<< HEAD
221250
uv pip install --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
251+
=======
252+
uv pip install --prerelease=allow --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
253+
>>>>>>> origin/langflow-main
222254
else
223255
echo "No wheel file found in ./main-dist/"
224256
exit 1
@@ -232,7 +264,11 @@ jobs:
232264
find ./lfx-dist -name "*.whl" -type f
233265
WHEEL_FILE=$(find ./lfx-dist -name "*.whl" -type f | head -1)
234266
if [ -n "$WHEEL_FILE" ]; then
267+
<<<<<<< HEAD
235268
uv pip install --python ./test-env/bin/python "$WHEEL_FILE"
269+
=======
270+
uv pip install --prerelease=allow --python ./test-env/bin/python "$WHEEL_FILE"
271+
>>>>>>> origin/langflow-main
236272
else
237273
echo "No wheel file found in ./lfx-dist/"
238274
exit 1
@@ -260,7 +296,11 @@ jobs:
260296
find ./main-dist -name "*.whl" -type f
261297
WHEEL_FILE=$(find ./main-dist -name "*.whl" -type f | head -1)
262298
if [ -n "$WHEEL_FILE" ]; then
299+
<<<<<<< HEAD
263300
uv pip install --python ./test-env/bin/python "$WHEEL_FILE"
301+
=======
302+
uv pip install --prerelease=allow --python ./test-env/bin/python "$WHEEL_FILE"
303+
>>>>>>> origin/langflow-main
264304
else
265305
echo "No wheel file found in ./main-dist/"
266306
exit 1
@@ -302,17 +342,28 @@ jobs:
302342
shell: bash
303343

304344
# Test steps
345+
<<<<<<< HEAD
305346
- name: Test CLI help command (Windows)
306347
if: matrix.os == 'windows'
307348
run: |
308349
call test-env\Scripts\activate.bat
309350
python -m langflow --help
351+
=======
352+
- name: Test CLI help command
353+
if: matrix.os == 'windows'
354+
run: |
355+
uv run --python ./test-env/Scripts/python.exe python -m langflow --help
356+
>>>>>>> origin/langflow-main
310357
shell: cmd
311358

312359
- name: Test CLI help command (Unix)
313360
if: matrix.os != 'windows'
314361
run: |
362+
<<<<<<< HEAD
315363
./test-env/bin/python -m langflow --help
364+
=======
365+
uv run --python ./test-env/bin/python python -m langflow --help
366+
>>>>>>> origin/langflow-main
316367
shell: bash
317368

318369
- name: Test server startup (Windows)
@@ -342,6 +393,11 @@ jobs:
342393
- name: Test server startup (Unix)
343394
if: matrix.os != 'windows'
344395
timeout-minutes: 5
396+
<<<<<<< HEAD
397+
=======
398+
env:
399+
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES
400+
>>>>>>> origin/langflow-main
345401
run: |
346402
# Start server in background
347403
./test-env/bin/python -m langflow run --host localhost --port 7860 --backend-only &
@@ -432,7 +488,11 @@ jobs:
432488
shell: bash
433489

434490
- name: Setup Python
491+
<<<<<<< HEAD
435492
uses: actions/setup-python@v5
493+
=======
494+
uses: actions/setup-python@v6
495+
>>>>>>> origin/langflow-main
436496
with:
437497
python-version: ${{ matrix.python-version }}
438498
architecture: ${{ matrix.arch == 'amd64' && 'x64' || matrix.arch }}
@@ -456,21 +516,33 @@ jobs:
456516
# Download artifacts for wheel installation
457517
- name: Download LFX package artifact
458518
if: steps.install-method.outputs.method == 'wheel' && inputs.lfx-artifact-name != ''
519+
<<<<<<< HEAD
459520
uses: actions/download-artifact@v5
521+
=======
522+
uses: actions/download-artifact@v7
523+
>>>>>>> origin/langflow-main
460524
with:
461525
name: ${{ inputs.lfx-artifact-name }}
462526
path: ./lfx-dist
463527

464528
- name: Download base package artifact
465529
if: steps.install-method.outputs.method == 'wheel'
530+
<<<<<<< HEAD
466531
uses: actions/download-artifact@v5
532+
=======
533+
uses: actions/download-artifact@v7
534+
>>>>>>> origin/langflow-main
467535
with:
468536
name: ${{ inputs.base-artifact-name || needs.build-if-needed.outputs.base-artifact-name || 'adhoc-dist-base' }}
469537
path: ./base-dist
470538

471539
- name: Download main package artifact
472540
if: steps.install-method.outputs.method == 'wheel'
541+
<<<<<<< HEAD
473542
uses: actions/download-artifact@v5
543+
=======
544+
uses: actions/download-artifact@v7
545+
>>>>>>> origin/langflow-main
474546
with:
475547
name: ${{ inputs.main-artifact-name || needs.build-if-needed.outputs.main-artifact-name || 'adhoc-dist-main' }}
476548
path: ./main-dist
@@ -488,7 +560,11 @@ jobs:
488560
find ./lfx-dist -name "*.whl" -type f
489561
WHEEL_FILE=$(find ./lfx-dist -name "*.whl" -type f | head -1)
490562
if [ -n "$WHEEL_FILE" ]; then
563+
<<<<<<< HEAD
491564
uv pip install --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
565+
=======
566+
uv pip install --prerelease=allow --python ./test-env/Scripts/python.exe "$WHEEL_FILE"
567+
>>>>>>> origin/langflow-main
492568
else
493569
echo "No wheel file found in ./lfx-dist/"
494570
exit 1
@@ -530,7 +606,11 @@ jobs:
530606
find ./lfx-dist -name "*.whl" -type f
531607
WHEEL_FILE=$(find ./lfx-dist -name "*.whl" -type f | head -1)
532608
if [ -n "$WHEEL_FILE" ]; then
609+
<<<<<<< HEAD
533610
uv pip install --python ./test-env/bin/python "$WHEEL_FILE"
611+
=======
612+
uv pip install --prerelease=allow --python ./test-env/bin/python "$WHEEL_FILE"
613+
>>>>>>> origin/langflow-main
534614
else
535615
echo "No wheel file found in ./lfx-dist/"
536616
exit 1
@@ -558,13 +638,76 @@ jobs:
558638
find ./main-dist -name "*.whl" -type f
559639
WHEEL_FILE=$(find ./main-dist -name "*.whl" -type f | head -1)
560640
if [ -n "$WHEEL_FILE" ]; then
641+
<<<<<<< HEAD
561642
uv pip install --python ./test-env/bin/python "$WHEEL_FILE"
643+
=======
644+
uv pip install --prerelease=allow --python ./test-env/bin/python "$WHEEL_FILE"
645+
>>>>>>> origin/langflow-main
562646
else
563647
echo "No wheel file found in ./main-dist/"
564648
exit 1
565649
fi
566650
shell: bash
567651

652+
<<<<<<< HEAD
653+
=======
654+
- name: Force reinstall local wheels to prevent downgrades (Windows)
655+
if: steps.install-method.outputs.method == 'wheel' && matrix.os == 'windows'
656+
run: |
657+
# Reinstall LFX if it was provided
658+
if [ -n "${{ inputs.lfx-artifact-name }}" ]; then
659+
LFX_WHEEL=$(find ./lfx-dist -name "*.whl" -type f | head -1)
660+
if [ -n "$LFX_WHEEL" ]; then
661+
echo "Force reinstalling LFX: $LFX_WHEEL"
662+
NO_DEPS="--no-deps"
663+
if [ "${{ inputs.pre_release }}" = "true" ]; then
664+
NO_DEPS=""
665+
fi
666+
uv pip install --force-reinstall $NO_DEPS --prerelease=allow --python ./test-env/Scripts/python.exe "$LFX_WHEEL"
667+
fi
668+
fi
669+
670+
# Reinstall base
671+
BASE_WHEEL=$(find ./base-dist -name "*.whl" -type f | head -1)
672+
if [ -n "$BASE_WHEEL" ]; then
673+
echo "Force reinstalling langflow-base: $BASE_WHEEL"
674+
NO_DEPS="--no-deps"
675+
if [ "${{ inputs.pre_release }}" = "true" ]; then
676+
NO_DEPS=""
677+
fi
678+
uv pip install --force-reinstall $NO_DEPS --prerelease=allow --python ./test-env/Scripts/python.exe "$BASE_WHEEL"
679+
fi
680+
shell: bash
681+
682+
- name: Force reinstall local wheels to prevent downgrades (Unix)
683+
if: steps.install-method.outputs.method == 'wheel' && matrix.os != 'windows'
684+
run: |
685+
# Reinstall LFX if it was provided
686+
if [ -n "${{ inputs.lfx-artifact-name }}" ]; then
687+
LFX_WHEEL=$(find ./lfx-dist -name "*.whl" -type f | head -1)
688+
if [ -n "$LFX_WHEEL" ]; then
689+
echo "Force reinstalling LFX: $LFX_WHEEL"
690+
NO_DEPS="--no-deps"
691+
if [ "${{ inputs.pre_release }}" = "true" ]; then
692+
NO_DEPS=""
693+
fi
694+
uv pip install --force-reinstall $NO_DEPS --prerelease=allow --python ./test-env/bin/python "$LFX_WHEEL"
695+
fi
696+
fi
697+
698+
# Reinstall base
699+
BASE_WHEEL=$(find ./base-dist -name "*.whl" -type f | head -1)
700+
if [ -n "$BASE_WHEEL" ]; then
701+
echo "Force reinstalling langflow-base: $BASE_WHEEL"
702+
NO_DEPS="--no-deps"
703+
if [ "${{ inputs.pre_release }}" = "true" ]; then
704+
NO_DEPS=""
705+
fi
706+
uv pip install --force-reinstall $NO_DEPS --prerelease=allow --python ./test-env/bin/python "$BASE_WHEEL"
707+
fi
708+
shell: bash
709+
710+
>>>>>>> origin/langflow-main
568711
# PyPI installation steps
569712
- name: Install langflow from PyPI (Windows)
570713
if: steps.install-method.outputs.method == 'pypi' && matrix.os == 'windows'
@@ -603,14 +746,22 @@ jobs:
603746
- name: Test CLI help command (Windows)
604747
if: matrix.os == 'windows'
605748
run: |
749+
<<<<<<< HEAD
606750
call test-env\Scripts\activate.bat
607751
python -m langflow --help
752+
=======
753+
uv run --python ./test-env/Scripts/python.exe python -m langflow --help
754+
>>>>>>> origin/langflow-main
608755
shell: cmd
609756

610757
- name: Test CLI help command (Unix)
611758
if: matrix.os != 'windows'
612759
run: |
760+
<<<<<<< HEAD
613761
./test-env/bin/python -m langflow --help
762+
=======
763+
uv run --python ./test-env/bin/python python -m langflow --help
764+
>>>>>>> origin/langflow-main
614765
shell: bash
615766

616767
- name: Test server startup (Windows)
@@ -640,6 +791,11 @@ jobs:
640791
- name: Test server startup (Unix)
641792
if: matrix.os != 'windows'
642793
timeout-minutes: 5
794+
<<<<<<< HEAD
795+
=======
796+
env:
797+
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: YES
798+
>>>>>>> origin/langflow-main
643799
run: |
644800
# Start server in background
645801
./test-env/bin/python -m langflow run --host localhost --port 7860 --backend-only &

0 commit comments

Comments
 (0)