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

Update dependencies: PDM and pytest #41

Merged
merged 1 commit into from
Jun 17, 2023
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
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN groupadd --force --gid ${GROUP_ID} --system usergroup && \
USER user

WORKDIR /app
RUN python -m pip install --upgrade pip==23.1.2 && pip install --user pdm==2.7.0
RUN python -m pip install --upgrade pip==23.1.2 && pip install --user pdm==2.7.4
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

COPY main.py pdm.lock pyproject.toml /app/
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_name }}/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN addgroup -S usergroup && adduser -S user -G usergroup && mkdir /app && chown
USER user

WORKDIR /app
RUN python -m pip install --upgrade pip==23.1.2 && pip install --user pdm==2.7.0
RUN python -m pip install --upgrade pip==23.1.2 && pip install --user pdm==2.7.4
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

COPY main.py pdm.lock pyproject.toml /app/
Expand Down
18 changes: 9 additions & 9 deletions {{ cookiecutter.project_name }}/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion {{ cookiecutter.project_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dev = [
"isort==5.12.0",
"mypy==1.3.0",
"pytest-cov==4.1.0",
"pytest==7.3.1",
"pytest==7.3.2",
"ssort==0.11.6",
"ruff==0.0.272",
]
Expand Down
Loading