Update python dependencies as suggested by dependabot

main
Alexander Graf 2 years ago
parent 874e58348f
commit 6f71ea833b
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -11,6 +11,7 @@ DEV_LISTEN="${DEV_LISTEN:-127.0.0.1:8080}"
[[ "${DEV_LISTEN}" == *:* ]] || DEV_LISTEN="127.0.0.1:${DEV_LISTEN}" [[ "${DEV_LISTEN}" == *:* ]] || DEV_LISTEN="127.0.0.1:${DEV_LISTEN}"
DEV_ADMIN="${DEV_ADMIN:-admin@example.com}" DEV_ADMIN="${DEV_ADMIN:-admin@example.com}"
DEV_PASSWORD="${DEV_PASSWORD:-letmein}" DEV_PASSWORD="${DEV_PASSWORD:-letmein}"
DEV_ARGS=( "$@" )
### MAIN ### MAIN
@ -90,7 +91,8 @@ EOF
# build # build
chmod -R u+rwX,go+rX . chmod -R u+rwX,go+rX .
"${docker}" build --tag "${DEV_NAME}:latest" . echo Running: "${docker/*\/}" build --tag "${DEV_NAME}:latest" "${DEV_ARGS[@]}" .
"${docker}" build --tag "${DEV_NAME}:latest" "${DEV_ARGS[@]}" .
# gather volumes to map into container # gather volumes to map into container
volumes=() volumes=()
@ -110,6 +112,7 @@ done
cat <<EOF cat <<EOF
============================================================================= =============================================================================
The "${DEV_NAME}" container was built using this configuration: The "${DEV_NAME}" container was built using this configuration:
DEV_NAME="${DEV_NAME}" DEV_NAME="${DEV_NAME}"
@ -118,19 +121,34 @@ DEV_PROFILER="${DEV_PROFILER}"
DEV_LISTEN="${DEV_LISTEN}" DEV_LISTEN="${DEV_LISTEN}"
DEV_ADMIN="${DEV_ADMIN}" DEV_ADMIN="${DEV_ADMIN}"
DEV_PASSWORD="${DEV_PASSWORD}" DEV_PASSWORD="${DEV_PASSWORD}"
============================================================================= DEV_ARGS=( ${DEV_ARGS[*]} )
============================================================================= =============================================================================
You can start the container later using this commandline:
You can start the container later using this command:
${docker/*\/} run --rm -it --name "${DEV_NAME}" --publish ${DEV_LISTEN}:8080$(printf " %q" "${volumes[@]}") "${DEV_NAME}" ${docker/*\/} run --rm -it --name "${DEV_NAME}" --publish ${DEV_LISTEN}:8080$(printf " %q" "${volumes[@]}") "${DEV_NAME}"
=============================================================================
============================================================================= =============================================================================
Enter the running container using this command:
${docker/*\/} exec -it "${DEV_NAME}" /bin/bash
=============================================================================
To update requirements-prod.txt you can build (and test) using:
${docker/*\/} build --tag "${DEV_NAME}:latest" --build-arg MAILU_DEPS=dev .
And then fetch the new dependencies with:
${docker/*\/} exec "${DEV_NAME}" pip freeze >$(realpath "${base}")/requirements-new.txt
=============================================================================
The Mailu UI can be found here: http://${DEV_LISTEN}/sso/login The Mailu UI can be found here: http://${DEV_LISTEN}/sso/login
EOF EOF
[[ -z "${DEV_DB}" ]] && echo "You can log in with user ${DEV_ADMIN} and password ${DEV_PASSWORD}" [[ -z "${DEV_DB}" ]] && echo "You can log in with user ${DEV_ADMIN} and password ${DEV_PASSWORD}"
cat <<EOF cat <<EOF
============================================================================= =============================================================================
Starting mailu dev environment... Starting mailu dev environment...

@ -1,3 +1,3 @@
pip==22.3 pip==22.3.1
setuptools==65.5.0 setuptools==65.6.3
wheel==0.37.1 wheel==0.38.4

@ -7,16 +7,18 @@ attrs==22.1.0
Babel==2.11.0 Babel==2.11.0
bcrypt==4.0.1 bcrypt==4.0.1
blinker==1.5 blinker==1.5
certifi==2022.9.24 certifi==2022.12.7
cffi==1.15.1 cffi==1.15.1
charset-normalizer==2.1.1 charset-normalizer==2.1.1
click==8.1.3 click==8.1.3
colorclass==2.2.2
cryptography==38.0.3 cryptography==38.0.3
decorator==5.1.1 decorator==5.1.1
defusedxml==0.7.1 defusedxml==0.7.1
Deprecated==1.2.13 Deprecated==1.2.13
dnspython==2.2.1 dnspython==2.2.1
dominate==2.7.0 dominate==2.7.0
easygui==0.98.3
email-validator==1.3.0 email-validator==1.3.0
Flask==2.2.2 Flask==2.2.2
Flask-Babel==2.0.0 Flask-Babel==2.0.0
@ -40,14 +42,17 @@ Mako==1.2.3
MarkupSafe==2.1.1 MarkupSafe==2.1.1
marshmallow==3.18.0 marshmallow==3.18.0
marshmallow-sqlalchemy==0.28.1 marshmallow-sqlalchemy==0.28.1
msoffcrypto-tool==5.0.0
multidict==6.0.2 multidict==6.0.2
oletools==0.60.1
mysql-connector-python==8.0.29 mysql-connector-python==8.0.29
olefile==0.46
oletools==0.60.1
packaging==21.3 packaging==21.3
passlib==1.7.4 passlib==1.7.4
pcodedmp==1.2.6
podop @ file:///app/libs/podop podop @ file:///app/libs/podop
postfix-mta-sts-resolver==1.1.4 postfix-mta-sts-resolver==1.1.4
protobuf==3.20.1 protobuf==3.20.2
psycopg2-binary==2.9.5 psycopg2-binary==2.9.5
pycares==4.2.2 pycares==4.2.2
pycparser==2.21 pycparser==2.21
@ -56,7 +61,6 @@ pyOpenSSL==22.1.0
pyparsing==2.4.7 pyparsing==2.4.7
python-dateutil==2.8.2 python-dateutil==2.8.2
python-magic==0.4.27 python-magic==0.4.27
python-dateutil==2.8.2
pytz==2022.6 pytz==2022.6
PyYAML==6.0 PyYAML==6.0
Radicale==3.1.8 Radicale==3.1.8

Loading…
Cancel
Save