test against min direct deps

This commit is contained in:
Sydney Runkle
2025-07-02 13:06:46 -04:00
parent 000f5c3043
commit 183b7e3262
4 changed files with 37 additions and 22 deletions
+10
View File
@@ -46,6 +46,16 @@ jobs:
working-directory: ${{ inputs.working-directory }}
run: make test
- name: Install min version of deps
shell: bash
working-directory: ${{ inputs.working-directory }}
run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall
- name: Run tests with min version of deps
shell: bash
run: make test
working-directory: ${{ inputs.working-directory }}
- name: Ensure the tests did not create any additional files
shell: bash
working-directory: ${{ inputs.working-directory }}
+8
View File
@@ -42,6 +42,14 @@ jobs:
shell: bash
run: make test_parallel
- name: Install min version of deps
shell: bash
run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall
- name: Run tests with min version of deps
shell: bash
run: make test_parallel
- name: Ensure the tests did not create any additional files
shell: bash
run: |
@@ -17,6 +17,7 @@ from typing import (
overload,
)
# meaningless change to trigger tests
from typing_extensions import Unpack
from langgraph._typing import UNSET, DeprecatedKwargs
+18 -22
View File
@@ -25,30 +25,26 @@ Repository = "https://www.github.com/langchain-ai/langgraph"
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-dotenv",
"pytest-mock",
"syrupy",
"httpx",
"pytest-watcher",
"mypy",
"ruff",
"jupyter",
"pytest-xdist[psutil]",
"pytest-repeat",
"langgraph-prebuilt",
"langgraph-checkpoint",
"pytest>=8.3.2",
"pytest-cov>=4.0.0",
"pytest-dotenv>=0.5.2",
"pytest-mock>=3.10.0",
"syrupy>=4.0.2",
"httpx>=0.26.0",
'pytest-watcher>=0.4.1',
"mypy>=1.6.0",
"ruff>=0.6.2",
"jupyter>=1.0.0",
"pytest-xdist[psutil]>=3.6.1",
"pytest-repeat>=0.9.3",
"langgraph-checkpoint-sqlite",
"langgraph-checkpoint-postgres",
"langgraph-sdk",
"psycopg[binary]",
"uvloop==0.21.0beta1",
"pyperf",
"py-spy",
"types-requests",
"pycryptodome",
"langgraph-cli[inmem]",
'psycopg[binary]>=3.0.0; python_version >= "3.10"',
"pyperf>=2.7.0",
"py-spy>=0.3.14",
"types-requests>=2.32.0.20240914",
"pycryptodome>=3.21.0",
"langgraph-cli[inmem]>=0.2.8",
]
[tool.uv]