diff --git a/reference/python/Makefile b/reference/python/Makefile index 12a436de6..b85b3d32b 100644 --- a/reference/python/Makefile +++ b/reference/python/Makefile @@ -39,19 +39,29 @@ build: # To preview what the docs will look like when built serve-clean-docs: @./install-mkdocs.sh - @if [ "$$VERCEL" = "1" ] && [ -n "$$MKDOCS_INSIDERS" ]; then \ - ENABLE_INSIDERS_PLUGINS=true uv run --no-sync python -m mkdocs serve -c -f mkdocs.yml --strict; \ + @port=8000; \ + while lsof -ti:$$port > /dev/null 2>&1; do \ + port=$$((port + 1)); \ + done; \ + echo "Starting MkDocs server on port $$port..."; \ + if [ "$$VERCEL" = "1" ] && [ -n "$$MKDOCS_INSIDERS" ]; then \ + ENABLE_INSIDERS_PLUGINS=true uv run --no-sync python -m mkdocs serve -c -f mkdocs.yml --strict -a 127.0.0.1:$$port; \ else \ - uv run --no-sync python -m mkdocs serve -c -f mkdocs.yml --strict; \ + uv run --no-sync python -m mkdocs serve -c -f mkdocs.yml --strict -a 127.0.0.1:$$port; \ fi # For local development; uses --dirty to avoid rebuilding unchanged files serve-docs: @./install-mkdocs.sh - @if [ "$$VERCEL" = "1" ] && [ -n "$$MKDOCS_INSIDERS" ]; then \ - ENABLE_INSIDERS_PLUGINS=true uv run --no-sync python -m mkdocs serve -f mkdocs.yml --dirty; \ + @port=8000; \ + while lsof -ti:$$port > /dev/null 2>&1; do \ + port=$$((port + 1)); \ + done; \ + echo "Starting MkDocs server on port $$port..."; \ + if [ "$$VERCEL" = "1" ] && [ -n "$$MKDOCS_INSIDERS" ]; then \ + ENABLE_INSIDERS_PLUGINS=true uv run --no-sync python -m mkdocs serve -f mkdocs.yml --dirty -a 127.0.0.1:$$port; \ else \ - uv run --no-sync python -m mkdocs serve -f mkdocs.yml --dirty; \ + uv run --no-sync python -m mkdocs serve -f mkdocs.yml --dirty -a 127.0.0.1:$$port; \ fi # format-docs: diff --git a/reference/python/uv.lock b/reference/python/uv.lock index ee9bf7ac6..62e943d3d 100644 --- a/reference/python/uv.lock +++ b/reference/python/uv.lock @@ -1804,7 +1804,7 @@ dependencies = [ [[package]] name = "langchain-astradb" version = "1.0.0" -source = { git = "https://github.com/langchain-ai/langchain-datastax.git?subdirectory=libs%2Fastradb#01a17a6c3135ef6fdfdef69018f0701cb8db8048" } +source = { git = "https://github.com/langchain-ai/langchain-datastax.git?subdirectory=libs%2Fastradb#5ca41ad1495e5c0c8ab3cd9e2f5fbafca258ae12" } dependencies = [ { name = "astrapy", marker = "platform_python_implementation != 'PyPy'" }, { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "langchain-milvus" version = "0.3.0" -source = { git = "https://github.com/langchain-ai/langchain-milvus.git?subdirectory=libs%2Fmilvus#75a4e2557c00340540bec29e824741bb58832438" } +source = { git = "https://github.com/langchain-ai/langchain-milvus.git?subdirectory=libs%2Fmilvus#5de90dad86480b04faba9c02d1c96ed3b9d51866" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "pymilvus", marker = "platform_python_implementation != 'PyPy'" }, @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "langchain-nvidia-ai-endpoints" version = "1.0.0" -source = { git = "https://github.com/langchain-ai/langchain-nvidia.git?subdirectory=libs%2Fai-endpoints#60b9c88c8066c701882d618eebad9fc1f1ee9c04" } +source = { git = "https://github.com/langchain-ai/langchain-nvidia.git?subdirectory=libs%2Fai-endpoints#038cacf4d1ab3fdc78d8a63a84fe96b119cf7da4" } dependencies = [ { name = "aiohttp", marker = "platform_python_implementation != 'PyPy'" }, { name = "filetype", marker = "platform_python_implementation != 'PyPy'" }, @@ -2346,7 +2346,7 @@ dependencies = [ [[package]] name = "langgraph" version = "1.0.3" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Flanggraph#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Flanggraph#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2359,7 +2359,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint" version = "3.0.1" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "ormsgpack", marker = "platform_python_implementation != 'PyPy'" }, @@ -2378,7 +2378,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint-postgres" version = "3.0.1" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-postgres#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-postgres#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, { name = "orjson", marker = "platform_python_implementation != 'PyPy'" }, @@ -2389,7 +2389,7 @@ dependencies = [ [[package]] name = "langgraph-checkpoint-sqlite" version = "3.0.0" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-sqlite#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fcheckpoint-sqlite#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "aiosqlite", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2399,7 +2399,7 @@ dependencies = [ [[package]] name = "langgraph-prebuilt" version = "1.0.5" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fprebuilt#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fprebuilt#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "langchain-core", marker = "platform_python_implementation != 'PyPy'" }, { name = "langgraph-checkpoint", marker = "platform_python_implementation != 'PyPy'" }, @@ -2408,7 +2408,7 @@ dependencies = [ [[package]] name = "langgraph-sdk" version = "0.2.9" -source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fsdk-py#ed07d4a5d4cd2a8ba86fc8532d8567c4269866fb" } +source = { git = "https://github.com/langchain-ai/langgraph?subdirectory=libs%2Fsdk-py#d45f52ab0cac3d036c960cb344095294b537c3fe" } dependencies = [ { name = "httpx", marker = "platform_python_implementation != 'PyPy'" }, { name = "orjson", marker = "platform_python_implementation != 'PyPy'" },