Skip to content

Commit af0e3eb

Browse files
authored
Merge pull request #188 from sandiegopython/davidfischer/python-debian-upgrade
Upgrades to Python and Debian
2 parents e2c263f + 974f4c9 commit af0e3eb

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ARG PYTHON_VERSION=3.10-slim-buster
1+
# https://www.debian.org/releases/stable/
2+
# https://hub.docker.com/_/python/
3+
ARG PYTHON_VERSION=3.13-slim-bookworm
24

35
FROM python:${PYTHON_VERSION}
46

@@ -20,7 +22,7 @@ RUN apt-get install -y --no-install-recommends \
2022
make \
2123
build-essential \
2224
g++ \
23-
postgresql-client \
25+
postgresql-client libpq-dev \
2426
git
2527

2628
RUN mkdir -p /code

requirements/common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ django-enforce-host==1.1.0
2121
defusedxml==0.7.1
2222

2323
# Used for image field handling
24-
pillow==10.3.0
24+
pillow==11.3.0

requirements/deployment.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
-r common.txt
22

33
# Database server
4-
psycopg2-binary==2.9.9
4+
# https://www.psycopg.org/docs/install.html#install-from-source
5+
psycopg2==2.9.10
56

67
# Email
78
django-anymail==10.3

0 commit comments

Comments
 (0)