feat: Use pyproject standardized dependency-groups (#6689)
* Use pyproject standardized dependency-groups * fix: update Python version requirement to support up to 3.14 --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
400572342f
commit
0886bdad16
12 changed files with 141 additions and 146 deletions
2
.github/workflows/lint-py.yml
vendored
2
.github/workflows/lint-py.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Run Mypy
|
||||
run: |
|
||||
uv run mypy --namespace-packages -p "langflow"
|
||||
|
|
|
|||
2
.github/workflows/nightly_build.yml
vendored
2
.github/workflows/nightly_build.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
|
||||
- name: Generate main nightly tag
|
||||
id: generate_main_tag
|
||||
|
|
|
|||
2
.github/workflows/py_autofix.yml
vendored
2
.github/workflows/py_autofix.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
uv sync --frozen
|
||||
uv sync
|
||||
uv pip install -e .
|
||||
|
||||
- name: Run starter projects update
|
||||
|
|
|
|||
4
.github/workflows/python_test.yml
vendored
4
.github/workflows/python_test.yml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Run unit tests
|
||||
uses: nick-fields/retry@v3
|
||||
with:
|
||||
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Run integration tests
|
||||
run: make integration_tests_no_api_keys
|
||||
- name: Minimize uv cache
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
- name: Setup Environment
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Check Version
|
||||
id: check-version
|
||||
run: |
|
||||
|
|
@ -129,7 +129,7 @@ jobs:
|
|||
- name: Setup Environment
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
|
||||
# If pre-release is true, we need to check if ["a", "b", "rc", "dev", "post"] is in the version string
|
||||
# if the version string is incorrect, we need to exit the workflow
|
||||
|
|
|
|||
4
.github/workflows/release_nightly.yml
vendored
4
.github/workflows/release_nightly.yml
vendored
|
|
@ -75,7 +75,7 @@ jobs:
|
|||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
|
||||
- name: Verify Nightly Name and Version
|
||||
id: verify
|
||||
|
|
@ -152,7 +152,7 @@ jobs:
|
|||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
|
||||
- name: Verify Nightly Name and Version
|
||||
id: verify
|
||||
|
|
|
|||
2
.github/workflows/store_pytest_durations.yml
vendored
2
.github/workflows/store_pytest_durations.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: "Setup Environment"
|
||||
uses: ./.github/actions/setup-uv
|
||||
- name: Install the project
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Run unit tests
|
||||
id: run_tests
|
||||
continue-on-error: true
|
||||
|
|
|
|||
2
.github/workflows/typescript_test.yml
vendored
2
.github/workflows/typescript_test.yml
vendored
|
|
@ -262,7 +262,7 @@ jobs:
|
|||
uses: ./.github/actions/setup-uv
|
||||
|
||||
- name: Install Python Dependencies
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
|
||||
- name: Configure Environment Variables
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue