fix dependencies

This commit is contained in:
Gabriel Augendre 2023-09-04 22:02:12 +02:00 committed by crocmagnon-pr[bot]
parent d12ca6ee10
commit 62b35991f1
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.1.0 pytest-django>=4.1.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.1 pre-commit>=2.1
model-bakery>=1.3.1 model-bakery>=1.3.1
bpython>=0.22.1 bpython>=0.22.1

View file

@ -114,6 +114,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
pygments==2.16.1 pygments==2.16.1
# via bpython # via bpython
pyproject-hooks==1.0.0 pyproject-hooks==1.0.0

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,
) )