Skip to content

Commit

Permalink
Update dependencies:
Browse files Browse the repository at this point in the history
* pdm from 2.15.4 to 2.16.1
* mypy from 1.10.0 to 1.10.1
* ruff from 0.4.10 to 0.5.0
  • Loading branch information
mnako committed Jul 1, 2024
1 parent 8aba24e commit f901082
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 36 deletions.
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==24.1 && pip install --user pdm==2.15.4
RUN python -m pip install --upgrade pip==24.1.1 && pip install --user pdm==2.16.1
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==24.1 && pip install --user pdm==2.15.4
RUN python -m pip install --upgrade pip==24.1.1 && pip install --user pdm==2.16.1
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

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

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

4 changes: 2 additions & 2 deletions {{ cookiecutter.project_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ homepage = ""
dev = [
"black==24.4.2",
"isort==5.13.2",
"mypy==1.10.0",
"mypy==1.10.1",
"pytest-cov==5.0.0",
"pytest==8.2.2",
"ssort==0.13.0",
"ruff==0.4.10",
"ruff==0.5.0",
]
[build-system]
requires = ["pdm-pep517"]
Expand Down

0 comments on commit f901082

Please sign in to comment.