Skip to content

Commit eaa2d7d

Browse files
satterlyclaude
andauthored
Bump version 9.0.4 -> 9.1.0 and update dependencies (#514)
* Bump version 9.0.4 -> 9.1.0 and update dependencies - Upgrade base image from python:3.9-slim-buster to python:3.13-slim-bookworm - Sync requirements.txt with alerta-server 9.1.0 - Bump MongoDB repo from 4.2 to 7.0, switch to mongosh - Update Nginx repo to bookworm Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: bump lxml 5.2.1 -> 5.3.2 and add libxml2/libxslt dev packages lxml 5.2.1 has no pre-built wheel for Python 3.13, causing build failure in CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: bump uWSGI 2.0.21 -> 2.0.31 for Python 3.13 compat uWSGI 2.0.21 uses _PyCFrame which was removed in Python 3.12. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: replace mongo with mongosh in entrypoint version check Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d4918a3 commit eaa2d7d

File tree

5 files changed

+28
-25
lines changed

5 files changed

+28
-25
lines changed

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-slim-buster
1+
FROM python:3.13-slim-bookworm
22

33
ENV PYTHONUNBUFFERED 1
44
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -45,6 +45,8 @@ RUN apt-get update && \
4545
libldap2-dev \
4646
libpq-dev \
4747
libsasl2-dev \
48+
libxml2-dev \
49+
libxslt-dev \
4850
postgresql-client \
4951
python3-dev \
5052
supervisor \
@@ -54,7 +56,7 @@ RUN apt-get update && \
5456
rm -rf /var/lib/apt/lists/*
5557

5658
RUN curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - && \
57-
echo "deb https://nginx.org/packages/debian/ buster nginx" | tee /etc/apt/sources.list.d/nginx.list && \
59+
echo "deb https://nginx.org/packages/debian/ bookworm nginx" | tee /etc/apt/sources.list.d/nginx.list && \
5860
apt-get update && \
5961
apt-get install -y --no-install-recommends \
6062
nginx && \
@@ -63,11 +65,11 @@ RUN curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - && \
6365
rm -rf /var/lib/apt/lists/*
6466

6567
# hadolint ignore=DL3008
66-
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - && \
67-
echo "deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list && \
68+
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | apt-key add - && \
69+
echo "deb https://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list && \
6870
apt-get update && \
6971
apt-get install -y --no-install-recommends \
70-
mongodb-org-shell && \
72+
mongodb-mongosh && \
7173
apt-get -y clean && \
7274
apt-get -y autoremove && \
7375
rm -rf /var/lib/apt/lists/*

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.0.4
1+
9.1.0

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ echo Alerta WebUI ${WEBUI_VERSION}
8989

9090
nginx -v
9191
echo uwsgi $(uwsgi --version)
92-
mongo --version | grep MongoDB
92+
mongosh --version
9393
psql --version
9494
python3 --version
9595
/venv/bin/pip list

requirements-docker.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lxml==5.2.1
1+
lxml==5.3.2
22
pysaml2==7.2.1
3-
python-ldap==3.4.4
4-
uWSGI==2.0.21
3+
python-ldap==3.4.5
4+
uWSGI==2.0.31

requirements.txt

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
bcrypt==4.2.0
2-
blinker==1.8.2
3-
cryptography==43.0.1
4-
Flask==3.0.3
5-
Flask-Compress==1.15
6-
Flask-Cors==5.0.0
1+
bcrypt==5.0.0
2+
blinker==1.9.0
3+
cryptography==46.0.6
4+
defusedxml==0.7.1
5+
Flask==3.1.3
6+
Flask-Compress==1.23
7+
Flask-Cors==6.0.2
78
mohawk==1.1.0
8-
psycopg2==2.9.9
9-
PyJWT==2.9.0
10-
pymongo==4.4.1
11-
pyparsing==3.1.4
9+
psycopg2==2.9.11
10+
PyJWT==2.12.1
11+
pymongo==4.16.0
12+
pyparsing==3.3.2
1213
python-dateutil==2.9.0.post0
13-
pytz==2024.1
14-
PyYAML==6.0.1
15-
requests==2.32.3
14+
pytz==2026.1.post1
15+
PyYAML==6.0.3
16+
requests==2.32.5
1617
requests-hawk==1.2.1
17-
sentry-sdk[flask]==2.13.0
18+
sentry-sdk[flask]==2.56.0
1819
StrEnum==0.4.15
19-
werkzeug==3.0.4
20+
werkzeug==3.1.7

0 commit comments

Comments
 (0)