This repository was archived by the owner on Aug 14, 2023. It is now read-only.
File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ COPY web /pgadmin4/web
20
20
21
21
# Install dependencies
22
22
COPY requirements.txt /pgadmin4
23
+ COPY constraints.txt /pgadmin4
23
24
RUN rm -rf /pgadmin4/web/*.log \
24
25
/pgadmin4/web/config_*.py \
25
26
/pgadmin4/web/node_modules \
@@ -43,7 +44,7 @@ RUN apk add --no-cache \
43
44
cargo \
44
45
python3-dev && \
45
46
python3 -m venv --system-site-packages --without-pip /venv && \
46
- /venv/bin/python3 -m pip install --no-cache-dir -r requirements.txt && \
47
+ /venv/bin/python3 -m pip install --no-cache-dir -r requirements.txt -c constraints.txt && \
47
48
apk del --no-cache build-deps
48
49
49
50
#########################################################################
Original file line number Diff line number Diff line change
1
+ ###############################################################################
2
+ #
3
+ # IMPORTANT:
4
+ #
5
+ # If runtime or build time dependencies are changed in this file, the committer
6
+ # *must* ensure the DEB and RPM package maintainers are informed as soon as
7
+ # possible.
8
+ #
9
+ ###############################################################################
10
+
11
+ # markupsafe removed soft_unicode in 2.1.0 which resulted in import error
12
+ # https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0
13
+ markupsafe==2.0.1
You can’t perform that action at this time.
0 commit comments