2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-02-02 03:14:56 +00:00

Revert "remove require-hashes for now"

This reverts commit 7a7e12130a.
This commit is contained in:
Matthias Mair
2026-01-19 21:57:16 +01:00
parent 3823c89090
commit b7fa42eeea
8 changed files with 17 additions and 17 deletions

View File

@@ -432,7 +432,7 @@ def run_install(c, uv, install_file, run_preflight=True):
)
run(
c,
f'pip3 install --no-cache-dir --disable-pip-version-check -U -r {install_file}',
f'pip3 install --no-cache-dir --disable-pip-version-check -U --require-hashes -r {install_file}',
)
else:
if run_preflight:
@@ -440,7 +440,7 @@ def run_install(c, uv, install_file, run_preflight=True):
c,
'pip3 install --no-cache-dir --disable-pip-version-check -U uv setuptools',
)
run(c, f'uv pip install -U -r {install_file}')
run(c, f'uv pip install -U --require-hashes -r {install_file}')
def yarn(c, cmd):
@@ -568,7 +568,7 @@ def setup_dev(c, tests=False):
info("Installing required python packages from 'src/backend/requirements-dev.txt'")
# Install required Python packages with PIP
run(c, 'pip3 install -U -r src/backend/requirements-dev.txt')
run(c, 'pip3 install -U --require-hashes -r src/backend/requirements-dev.txt')
# Install pre-commit hook
info('Installing pre-commit for checks before git commits...')