Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dev requirements in production requirements.txt #669

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading