mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35: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)$
|
files: src/backend/requirements-dev\.(in|txt)$
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
name: pip-compile requirements.txt
|
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)$
|
files: src/backend/requirements\.(in|txt)$
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
name: pip-compile requirements.txt
|
name: pip-compile requirements.txt
|
||||||
|
@ -91,7 +91,6 @@ line-ending = "auto"
|
|||||||
[tool.uv.pip]
|
[tool.uv.pip]
|
||||||
python-version = "3.9"
|
python-version = "3.9"
|
||||||
no-strip-extras=true
|
no-strip-extras=true
|
||||||
generate-hashes=true
|
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = ["src/backend/InvenTree", "InvenTree"]
|
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(
|
run(
|
||||||
c,
|
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:
|
else:
|
||||||
run(
|
run(
|
||||||
c,
|
c,
|
||||||
'pip3 install --no-cache-dir --disable-pip-version-check -U uv setuptools',
|
'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
|
# Run plugins install
|
||||||
if not skip_plugins:
|
if not skip_plugins:
|
||||||
|
Reference in New Issue
Block a user