Skip to content

Commit 407b4ec

Browse files
authored
Merge pull request creativecommons#530 from creativecommons/python-updates
Update Python modules (Django 4.2.23, urllib3 2.5.0, requests 2.32.4, etc.)
2 parents a5b75e1 + 0859dd4 commit 407b4ec

File tree

3 files changed

+510
-611
lines changed

3 files changed

+510
-611
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://docs.docker.com/engine/reference/builder/
22

33
# https://hub.docker.com/_/python/
4-
FROM python:3.11-slim
4+
FROM python:3.11
55

66
# Configure apt not to prompt during docker build
77
ARG DEBIAN_FRONTEND=noninteractive
@@ -18,6 +18,10 @@ ENV PYTHONUNBUFFERED=1
1818
# https://docs.python.org/3.11/library/faulthandler.html
1919
ENV PYTHONFAULTHANDLER=1
2020

21+
# Python: force-enable pip's PEP 517 mode
22+
# https://github.com/pypa/pip/issues/6334
23+
ENV PIP_USE_PEP517=true
24+
2125
WORKDIR /root
2226

2327
# Configure apt to avoid installing recommended and suggested packages

0 commit comments

Comments
 (0)