mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-12-22 06:01:47 +01:00
fix dependencies
This commit is contained in:
parent
1558b5767b
commit
e65beb4597
4 changed files with 8 additions and 4 deletions
|
@ -67,7 +67,7 @@ repos:
|
|||
hooks:
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements.txt
|
||||
args: [-q, --allow-unsafe, requirements.in]
|
||||
args: [-q, --allow-unsafe, --no-strip-extras, requirements.in]
|
||||
files: ^requirements\.(in|txt)$
|
||||
- id: pip-compile
|
||||
name: pip-compile constraints.txt
|
||||
|
@ -75,5 +75,5 @@ repos:
|
|||
files: ^requirements\.in|constraints\.txt$
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements-dev.txt
|
||||
args: [-q, --allow-unsafe, requirements-dev.in]
|
||||
args: [-q, --allow-unsafe, --no-strip-extras, requirements-dev.in]
|
||||
files: ^requirements-dev\.(in|txt)$
|
||||
|
|
|
@ -4,6 +4,8 @@ pytest>=6.0
|
|||
pytest-cov>=3.0.0
|
||||
pytest-django>=4.5.0
|
||||
pytest-selenium>=4.0.0
|
||||
# pytest-selenium 4.0.1 has an implicit dependency on `py`
|
||||
py>=1.11.0
|
||||
pre-commit>=2.7
|
||||
model-bakery>=1.1
|
||||
invoke>=2.0.0
|
||||
|
|
|
@ -90,6 +90,8 @@ pluggy==1.3.0
|
|||
# via pytest
|
||||
pre-commit==3.4.0
|
||||
# via -r requirements-dev.in
|
||||
py==1.11.0
|
||||
# via -r requirements-dev.in
|
||||
pyproject-hooks==1.0.0
|
||||
# via build
|
||||
pysocks==1.7.1
|
||||
|
|
4
tasks.py
4
tasks.py
|
@ -21,7 +21,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
|
|||
common_args += " --upgrade"
|
||||
with ctx.cd(BASE_DIR):
|
||||
ctx.run(
|
||||
f"pip-compile {common_args} requirements.in",
|
||||
f"pip-compile {common_args} --no-strip-extras requirements.in",
|
||||
pty=True,
|
||||
echo=True,
|
||||
)
|
||||
|
@ -31,7 +31,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
|
|||
echo=True,
|
||||
)
|
||||
ctx.run(
|
||||
f"pip-compile {common_args} requirements-dev.in",
|
||||
f"pip-compile {common_args} --no-strip-extras requirements-dev.in",
|
||||
pty=True,
|
||||
echo=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue