2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00

remove hash requirement for now

This commit is contained in:
Matthias Mair
2025-01-26 15:48:25 +01:00
parent 4fb010864b
commit 00bb6c5274
4 changed files with 142 additions and 1603 deletions

View File

@ -36,7 +36,7 @@ repos:
files: src/backend/requirements-dev\.(in|txt)$
- id: pip-compile
name: pip-compile requirements.txt
args: [src/backend/requirements.in, -o, src/backend/requirements.txt, --no-strip-extras, --generate-hashes]
args: [src/backend/requirements.in, -o, src/backend/requirements.txt, --no-strip-extras]
files: src/backend/requirements\.(in|txt)$
- id: pip-compile
name: pip-compile requirements.txt

View File

@ -91,7 +91,6 @@ line-ending = "auto"
[tool.uv.pip]
python-version = "3.9"
no-strip-extras=true
generate-hashes=true
[tool.coverage.run]
source = ["src/backend/InvenTree", "InvenTree"]

File diff suppressed because it is too large Load Diff

View File

@ -324,14 +324,14 @@ def install(c, uv=False, skip_plugins=False):
)
run(
c,
f'pip3 install --no-cache-dir --disable-pip-version-check -U --require-hashes -r {INSTALL_FILE}',
f'pip3 install --no-cache-dir --disable-pip-version-check -U -r {INSTALL_FILE}',
)
else:
run(
c,
'pip3 install --no-cache-dir --disable-pip-version-check -U uv setuptools',
)
run(c, f'uv pip install -U --require-hashes -r {INSTALL_FILE}')
run(c, f'uv pip install -U -r {INSTALL_FILE}')
# Run plugins install
if not skip_plugins: