Skip to content

Commit adc6ca7

Browse files
authored
Update project dependencies: redis, mypy, and cookiecutter. Update Docker images: Postgres and Redis. (#110)
Update project dependencies: * redis from 4.6.0 to 5.0.0 * mypy from 1.4.1 to 1.5.1 Update cookiecutter dependencies: * cookiecutter from 2.2.3 to 2.4.0 Update Docker images: * postgres from 15.3 to 15.4 * redis from 7.0.12 to 7.2.0 Update and pin pip and pdm version in GitHub Action ci.yml.
1 parent aa8891f commit adc6ca7

File tree

6 files changed

+392
-315
lines changed

6 files changed

+392
-315
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323

2424
- name: "Set up PDM"
2525
run: |
26-
pip install --user pdm==2.6.1
26+
pip install --upgrade pip==23.2.1
27+
pip install --user pdm==2.8.2
2728
pdm install
2829
2930
- name: "Test Cookiecutter"

pdm.lock

Lines changed: 312 additions & 242 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ authors = [
66
{name = "Michal Nakoneczny", email = "michal@nakoneczny.pl"},
77
]
88
dependencies = [
9-
"cookiecutter==2.2.3",
9+
"cookiecutter==2.3.0",
1010
]
1111
requires-python = ">=3.7"
1212
license = {text = "MIT"}
1313

14-
[project.optional-dependencies]
1514
[build-system]
1615
requires = ["pdm-pep517"]
1716
build-backend = "pdm.pep517.api"

{{ cookiecutter.project_name }}/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.8"
22
services:
33
db:
4-
image: "postgres:15.3-alpine3.18"
4+
image: "postgres:15.4-alpine3.18"
55
restart: "on-failure"
66
environment:
77
POSTGRES_HOST: "${POSTGRES_HOST}"
@@ -17,7 +17,7 @@ services:
1717
retries: 4
1818

1919
redis:
20-
image: "redis:7.0.12-alpine3.18"
20+
image: "redis:7.2.0-alpine3.18"
2121
command: >
2222
--requirepass ${REDIS_PASSWORD}
2323
restart: "on-failure"

{{ cookiecutter.project_name }}/webapp/pdm.lock

Lines changed: 73 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)