mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 01:23:07 +00:00
infra: add UV_FROZEN to makefiles (#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.
This commit is contained in:
parent
d172984c91
commit
3450bfc806
3
Makefile
3
Makefile
@ -1,5 +1,8 @@
|
|||||||
.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
|
.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
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
## help: Show this help info.
|
## help: Show this help info.
|
||||||
help: Makefile
|
help: Makefile
|
||||||
@printf "\n\033[1mUsage: make <TARGETS> ...\033[0m\n\n\033[1mTargets:\033[0m\n\n"
|
@printf "\n\033[1mUsage: make <TARGETS> ...\033[0m\n\n\033[1mTargets:\033[0m\n\n"
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# LINTING AND FORMATTING
|
# LINTING AND FORMATTING
|
||||||
######################
|
######################
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for Python and notebook files.
|
# Define a variable for Python and notebook files.
|
||||||
PYTHON_FILES=.
|
PYTHON_FILES=.
|
||||||
MYPY_CACHE=.mypy_cache
|
MYPY_CACHE=.mypy_cache
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
INTEGRATION_TEST_FILE ?= tests/integration_tests/
|
INTEGRATION_TEST_FILE ?= tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test: TEST_FILE = tests/integration_tests/
|
integration_test: TEST_FILE = tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
integration_test integration_tests: TEST_FILE = tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
|
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
UV_FROZEN = true
|
||||||
|
|
||||||
# Define a variable for the test file path.
|
# Define a variable for the test file path.
|
||||||
TEST_FILE ?= tests/unit_tests/
|
TEST_FILE ?= tests/unit_tests/
|
||||||
INTEGRATION_TEST_FILE ?= tests/integration_tests/
|
INTEGRATION_TEST_FILE ?= tests/integration_tests/
|
||||||
|
Loading…
Reference in New Issue
Block a user