refactor: update dependency versions and streamline backend installation commands (#3939)
* Update Makefile to streamline backend dependency installation commands * Update dependency versions in pyproject.toml for weaviate-client, httpx, and others * Update dependency versions in pyproject.toml for better compatibility and stability * new lock * refactor: streamline backend dependency installation commands * update examples formatting
This commit is contained in:
parent
b877bc9e08
commit
bf2aadf6a4
9 changed files with 73 additions and 60 deletions
8
Makefile
8
Makefile
|
|
@ -64,13 +64,11 @@ help: ## show this help message
|
|||
|
||||
reinstall_backend: ## forces reinstall all dependencies (no caching)
|
||||
@echo 'Installing backend dependencies'
|
||||
#@poetry install > /dev/null 2>&1
|
||||
@cd src/backend/base && uv sync -n --reinstall && cd ../../../ && uv sync -n --reinstall > /dev/null 2>&1
|
||||
@uv sync -n --reinstall --frozen
|
||||
|
||||
install_backend: ## install the backend dependencies
|
||||
@echo 'Installing backend dependencies'
|
||||
#@poetry install > /dev/null 2>&1
|
||||
@cd src/backend/base && uv sync && cd ../../../ && uv sync > /dev/null 2>&1
|
||||
@uv sync --frozen
|
||||
|
||||
install_frontend: ## install the frontend dependencies
|
||||
@echo 'Installing frontend dependencies'
|
||||
|
|
@ -141,7 +139,7 @@ coverage: ## run the tests and generate a coverage report
|
|||
#@poetry run coverage erase
|
||||
|
||||
unit_tests: ## run unit tests
|
||||
cd src/backend/base && uv sync --extra dev && cd ../../../ && uv sync --extra dev > /dev/null 2>&1
|
||||
@uv sync --extra dev --frozen
|
||||
ifeq ($(async), true)
|
||||
uv run pytest src/backend/tests \
|
||||
--ignore=src/backend/tests/integration \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue