Skip to content

Commit

Permalink
Update dependencies:
Browse files Browse the repository at this point in the history
* pip from 23.2.1 to 23.3.1
* black from 23.9.1 to 23.10.0
* mypy from 1.6.0 to 1.6.1
* ruff from 0.0.292 to 0.1.1
  • Loading branch information
mnako committed Oct 22, 2023
1 parent e4ee6da commit 77b361a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 48 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==23.2.1 && pip install --user pdm==2.9.3
RUN python -m pip install --upgrade pip==23.3.1 && pip install --user pdm==2.9.3
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.2.1 && pip install --user pdm==2.9.3
RUN python -m pip install --upgrade pip==23.3.1 && pip install --user pdm==2.9.3
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"

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

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

6 changes: 3 additions & 3 deletions {{ cookiecutter.project_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ homepage = ""

[project.optional-dependencies]
dev = [
"black==23.9.1",
"black==23.10.0",
"isort==5.12.0",
"mypy==1.6.0",
"mypy==1.6.1",
"pytest-cov==4.1.0",
"pytest==7.4.2",
"ssort==0.11.6",
"ruff==0.0.292",
"ruff==0.1.1",
]
[build-system]
requires = ["pdm-pep517"]
Expand Down

0 comments on commit 77b361a

Please sign in to comment.