Skip to content

Commit

Permalink
Remove dev requirements in production requirements.txt (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter authored May 12, 2024
1 parent 82d02c2 commit 9449698
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COPY --from=ghcr.io/kyverno/kyverno-cli:v1.12.1 /ko-app/kubectl-kyverno
COPY --from=docker.io/alpine/helm:3.14.4 /usr/bin/helm /usr/local/bin/helm
COPY --from=ghcr.io/fluxcd/flux-cli:v2.2.3 /usr/local/bin/flux /usr/local/bin/flux

COPY requirements.txt /src/
RUN pip3 install -r /src/requirements.txt
COPY requirements_dev.txt /src/
RUN pip3 install -r /src/requirements_dev.txt

SHELL ["/bin/bash", "-c"]
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ FROM python:3.12-alpine as base
RUN apk add --no-cache ca-certificates git

WORKDIR /app
COPY requirements.txt /requirements.txt
COPY flux_local/ ./flux_local
COPY setup.py .
COPY setup.cfg .

RUN pip install --no-cache-dir -r /requirements.txt
RUN pip install -e .

COPY --from=ghcr.io/fluxcd/flux-cli:v2.2.3 /usr/local/bin/flux /usr/local/bin/flux
Expand Down
15 changes: 1 addition & 14 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
-e .
aiofiles==23.2.1
black==24.4.2
coverage==7.5.1
GitPython==3.1.43
mashumaro==3.13
mypy==1.10.0
nest_asyncio==1.6.0
pdoc==14.4.0
pip==24.0
pre-commit==3.7.1
pytest==8.2.0
pytest-asyncio==0.23.6
pytest-cov==5.0.0
python-slugify==8.0.4
PyYAML==6.0.1
ruff==0.4.4
types-aiofiles==23.2.0.20240403
types-PyYAML==6.0.12.20240311
typing-extensions==4.11.0
types-python-slugify==8.0.2.20240310
wheel==0.43.0
yamllint==1.35.1
syrupy==4.6.1

0 comments on commit 9449698

Please sign in to comment.