langgraph: separate prebuilt into a standalone package (#3589)

This commit is contained in:
Vadym Barda
2025-02-26 18:33:07 -05:00
committed by GitHub
parent 2e36189c16
commit 24c13c211e
58 changed files with 3958 additions and 2535 deletions
+3
View File
@@ -39,6 +39,7 @@ jobs:
- 'libs/checkpoint-sqlite/**'
- 'libs/checkpoint-postgres/**'
- 'libs/scheduler-kafka/**'
- 'libs/prebuilt/**'
sdk-js:
- 'libs/sdk-js/**'
@@ -56,6 +57,7 @@ jobs:
"libs/checkpoint-sqlite",
"libs/checkpoint-postgres",
"libs/scheduler-kafka",
"libs/prebuilt",
]
if: needs.changes.outputs.python == 'true'
uses: ./.github/workflows/_lint.yml
@@ -74,6 +76,7 @@ jobs:
"libs/checkpoint",
"libs/checkpoint-sqlite",
"libs/checkpoint-postgres",
"libs/prebuilt",
]
if: needs.changes.outputs.python == 'true'
uses: ./.github/workflows/_test.yml
+1 -1
View File
@@ -195,7 +195,7 @@ jobs:
"$PKG_NAME==$VERSION" \
)
if [[ "$PKG_NAME" == *checkpoint* ]]; then
if [[ "$PKG_NAME" == *checkpoint* || "$PKG_NAME" == *prebuilt* ]]; then
# since checkpoint packages are namespace packages, import them with . convention
# i.e. import langgraph.checkpoint or langgraph.checkpoint.sqlite
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/./g)"
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
matrix:
lib-version:
- "development"
- "latest"
# - "latest"
steps:
- uses: actions/checkout@v4