Skip to content

Commit 3450bfc

Browse files
authored
infra: add UV_FROZEN to makefiles (langchain-ai#29642)
These are set in Github workflows, but forgot to add them to most makefiles for convenience when developing locally. `uv run` will automatically sync the lock file. Because many of our development dependencies are local installs, it will pick up version changes and update the lock file. Passing `--frozen` or setting this environment variable disables the behavior.
1 parent d172984 commit 3450bfc

File tree

19 files changed

+57
-0
lines changed

19 files changed

+57
-0
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
.PHONY: all clean help docs_build docs_clean docs_linkcheck api_docs_build api_docs_clean api_docs_linkcheck spell_check spell_fix lint lint_package lint_tests format format_diff
22

3+
.EXPORT_ALL_VARIABLES:
4+
UV_FROZEN = true
5+
36
## help: Show this help info.
47
help: Makefile
58
@printf "\n\033[1mUsage: make <TARGETS> ...\033[0m\n\n\033[1mTargets:\033[0m\n\n"

libs/cli/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# LINTING AND FORMATTING
44
######################
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for Python and notebook files.
710
PYTHON_FILES=.
811
MYPY_CACHE=.mypy_cache

libs/partners/anthropic/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE=tests/integration_tests/

libs/partners/chroma/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE = tests/integration_tests/

libs/partners/deepseek/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE = tests/integration_tests/

libs/partners/exa/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/fireworks/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE = tests/integration_tests/

libs/partners/groq/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/huggingface/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/mistralai/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
INTEGRATION_TEST_FILE ?= tests/integration_tests/

libs/partners/nomic/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/ollama/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test: TEST_FILE = tests/integration_tests/

libs/partners/openai/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/pinecone/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE = tests/integration_tests/

libs/partners/prompty/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/qdrant/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/partners/voyageai/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
integration_test integration_tests: TEST_FILE=tests/integration_tests/

libs/partners/xai/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811

libs/standard-tests/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Default target executed when no arguments are given to make.
44
all: help
55

6+
.EXPORT_ALL_VARIABLES:
7+
UV_FROZEN = true
8+
69
# Define a variable for the test file path.
710
TEST_FILE ?= tests/unit_tests/
811
INTEGRATION_TEST_FILE ?= tests/integration_tests/

0 commit comments

Comments
 (0)