standard-tests: rename langchain_standard_tests to langchain_tests, release 0.3.2 (#28203)

This commit is contained in:
Erick Friis
2024-11-18 19:10:39 -08:00
committed by GitHub
parent 24eea2e398
commit 0dbaf05bb7
60 changed files with 70 additions and 83 deletions

View File

@@ -219,11 +219,7 @@ jobs:
# Replace all dashes in the package name with underscores,
# since that's how Python imports packages with dashes in the name.
if [ "$PKG_NAME" == "langchain-tests" ]; then
IMPORT_NAME="langchain_standard_tests"
else
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
fi
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"