Skip to content

Commit 3f398c3

Browse files
authored
Merge pull request #3015 from onaio/update-dependencies
Update dependencies
2 parents 02aa149 + ee3c50f commit 3f398c3

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

docker/onadata-uwsgi/Dockerfile.ubuntu

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,40 +17,40 @@ WORKDIR /srv/onadata
1717

1818
# hadolint ignore=DL3008
1919
RUN apt-get update \
20-
&& apt-get install -y --no-install-recommends git-core gcc libc6-dev build-essential libgdal-dev libmemcached-dev zlib1g-dev \
21-
&& ldconfig \
22-
&& rm -rf /var/lib/apt/lists/*
20+
&& apt-get install -y --no-install-recommends git-core gcc libc6-dev build-essential libgdal-dev libmemcached-dev zlib1g-dev \
21+
&& ldconfig \
22+
&& rm -rf /var/lib/apt/lists/*
2323

2424
RUN python -m venv /srv/onadata/.venv
2525

2626

2727
# hadolint ignore=DL3013
2828
RUN --mount=type=secret,id=ONADEPLOY_GH_TOKEN \
29-
if [ -n "$optional_packages" ]; then \
30-
test -s /run/secrets/ONADEPLOY_GH_TOKEN \
31-
|| { echo "ONADEPLOY_GH_TOKEN secret is required"; exit 1; } \
32-
&& git config --global \
33-
url."https://x-access-token:$(cat /run/secrets/ONADEPLOY_GH_TOKEN)@github.com/".insteadOf \
34-
"https://github.com/" \
35-
&& git config --global --add \
36-
url."https://x-access-token:$(cat /run/secrets/ONADEPLOY_GH_TOKEN)@github.com/".insteadOf \
37-
"ssh://git@github.com/" \
38-
&& /srv/onadata/.venv/bin/pip install --no-cache-dir ${optional_packages} \
39-
&& rm -f ~/.gitconfig; \
40-
fi
29+
if [ -n "$optional_packages" ]; then \
30+
test -s /run/secrets/ONADEPLOY_GH_TOKEN \
31+
|| { echo "ONADEPLOY_GH_TOKEN secret is required"; exit 1; } \
32+
&& git config --global \
33+
url."https://x-access-token:$(cat /run/secrets/ONADEPLOY_GH_TOKEN)@github.com/".insteadOf \
34+
"https://github.com/" \
35+
&& git config --global --add \
36+
url."https://x-access-token:$(cat /run/secrets/ONADEPLOY_GH_TOKEN)@github.com/".insteadOf \
37+
"ssh://git@github.com/" \
38+
&& /srv/onadata/.venv/bin/pip install --no-cache-dir ${optional_packages} \
39+
&& rm -f ~/.gitconfig; \
40+
fi
4141

4242
# hadolint ignore=DL3013
4343
RUN python -m pip install --no-cache-dir -U pip && \
44-
python -m pip install --no-cache-dir -r requirements/base.pip && \
45-
python -m pip install --no-cache-dir -r requirements/s3.pip && \
46-
python -m pip install --no-cache-dir -r requirements/ses.pip && \
47-
python -m pip install --no-cache-dir -r requirements/azure.pip && \
48-
python -m pip install --no-cache-dir pyyaml==6.0.3 uwsgitop==0.12 supervisor==4.2.5
44+
python -m pip install --no-cache-dir -r requirements/base.pip && \
45+
python -m pip install --no-cache-dir -r requirements/s3.pip && \
46+
python -m pip install --no-cache-dir -r requirements/ses.pip && \
47+
python -m pip install --no-cache-dir -r requirements/azure.pip && \
48+
python -m pip install --no-cache-dir pyyaml==6.0.3 uwsgitop==0.12 supervisor==4.3.0
4949

5050
ARG INSTALL_DEV_DEPENDENCIES=false
5151
RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then \
52-
python -m pip install --no-cache-dir -r requirements/dev.pip; \
53-
fi
52+
python -m pip install --no-cache-dir -r requirements/dev.pip; \
53+
fi
5454

5555
FROM base AS docs
5656

requirements/base.pip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ click-repl==0.3.0
6868
# via celery
6969
codetiming==1.4.0
7070
# via -r requirements/base.in
71-
cryptography==44.0.3
71+
cryptography==46.0.5
7272
# via
7373
# google-auth
7474
# jwcrypto
@@ -392,7 +392,7 @@ urllib3==2.6.3
392392
# sentry-sdk
393393
uwsgi==2.0.31
394394
# via onadata
395-
valigetta @ git+https://git@github.com/onaio/valigetta.git@v0.2.1
395+
valigetta @ git+https://git@github.com/onaio/valigetta.git@v0.2.2
396396
# via -r requirements/base.in
397397
vine==5.1.0
398398
# via

requirements/dev.pip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ click-repl==0.3.0
7979
# via celery
8080
codetiming==1.4.0
8181
# via -r requirements/base.in
82-
cryptography==44.0.3
82+
cryptography==46.0.5
8383
# via
8484
# google-auth
8585
# jwcrypto
@@ -556,7 +556,7 @@ urllib3==2.6.3
556556
# sentry-sdk
557557
uwsgi==2.0.31
558558
# via onadata
559-
valigetta @ git+https://git@github.com/onaio/valigetta.git@v0.2.1
559+
valigetta @ git+https://git@github.com/onaio/valigetta.git@v0.2.2
560560
# via -r requirements/base.in
561561
vine==5.1.0
562562
# via

0 commit comments

Comments
 (0)