fix dependencies

This commit is contained in:
Gabriel Augendre 2023-09-04 22:07:13 +02:00 committed by crocmagnon-pr[bot]
parent 1558b5767b
commit e65beb4597
4 changed files with 8 additions and 4 deletions

View file

@ -67,7 +67,7 @@ repos:
hooks: hooks:
- id: pip-compile - id: pip-compile
name: pip-compile requirements.txt name: pip-compile requirements.txt
args: [-q, --allow-unsafe, requirements.in] args: [-q, --allow-unsafe, --no-strip-extras, requirements.in]
files: ^requirements\.(in|txt)$ files: ^requirements\.(in|txt)$
- id: pip-compile - id: pip-compile
name: pip-compile constraints.txt name: pip-compile constraints.txt
@ -75,5 +75,5 @@ repos:
files: ^requirements\.in|constraints\.txt$ files: ^requirements\.in|constraints\.txt$
- id: pip-compile - id: pip-compile
name: pip-compile requirements-dev.txt 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)$ files: ^requirements-dev\.(in|txt)$

View file

@ -4,6 +4,8 @@ pytest>=6.0
pytest-cov>=3.0.0 pytest-cov>=3.0.0
pytest-django>=4.5.0 pytest-django>=4.5.0
pytest-selenium>=4.0.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 pre-commit>=2.7
model-bakery>=1.1 model-bakery>=1.1
invoke>=2.0.0 invoke>=2.0.0

View file

@ -90,6 +90,8 @@ pluggy==1.3.0
# via pytest # via pytest
pre-commit==3.4.0 pre-commit==3.4.0
# via -r requirements-dev.in # via -r requirements-dev.in
py==1.11.0
# via -r requirements-dev.in
pyproject-hooks==1.0.0 pyproject-hooks==1.0.0
# via build # via build
pysocks==1.7.1 pysocks==1.7.1

View file

@ -21,7 +21,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
common_args += " --upgrade" common_args += " --upgrade"
with ctx.cd(BASE_DIR): with ctx.cd(BASE_DIR):
ctx.run( ctx.run(
f"pip-compile {common_args} requirements.in", f"pip-compile {common_args} --no-strip-extras requirements.in",
pty=True, pty=True,
echo=True, echo=True,
) )
@ -31,7 +31,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
echo=True, echo=True,
) )
ctx.run( ctx.run(
f"pip-compile {common_args} requirements-dev.in", f"pip-compile {common_args} --no-strip-extras requirements-dev.in",
pty=True, pty=True,
echo=True, echo=True,
) )