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:
@ -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
|
||||
|
@ -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
4
tasks.py
4
tasks.py
@ -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:
|
||||
|
Reference in New Issue
Block a user