Upgrade dependencies

This commit is contained in:
Balakrishnan Balasubramanian 2024-01-12 10:55:09 -05:00
parent e18f1c7a96
commit 121a02b8ae
4 changed files with 8 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# Needs python3 >= 3.9, sed, git for build
# Needs python3 >= 3.9, sed, git for build, docker for tests
build: clean
python3 -m pip install -r requirements.txt --no-compile --target build
cp -r mail4one/ build/
sed -i "s/DEVELOMENT/$(shell scripts/get_version.sh)/" build/mail4one/version.py
find build -name "*.pyi" -o -name "py.typed" | xargs -I typefile rm typefile
rm -rf build/bin
rm -rf build/bin
rm -rf build/mail4one/__pycache__
rm -rf build/*.dist-info
python3 -m zipapp \
@ -26,6 +26,7 @@ docker-tests:
docker run --pull=always -v `pwd`:/app -w /app --rm python:3.9 sh scripts/runtests.sh
# ============================================================================
# Below targets for devs. Need pipenv, black installed
requirements.txt: Pipfile.lock
pipenv requirements > requirements.txt

6
Pipfile.lock generated
View File

@ -35,11 +35,11 @@
},
"attrs": {
"hashes": [
"sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04",
"sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"
"sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30",
"sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"
],
"markers": "python_version >= '3.7'",
"version": "==23.1.0"
"version": "==23.2.0"
},
"python-jata": {
"hashes": [

View File

@ -107,7 +107,7 @@ cd test_dir
python3 -m http.server 25
```
In local machine or a browser
You should see file listing a, b, c. Repeat for port 465, 995 to make sure firewall rules and dns is working
You should see file listing a, b, c. Repeat for port 465, 995 to make sure firewall rules and dns is working
```sh
curl http://mail.example.com:25
```

View File

@ -1,5 +1,5 @@
-i https://pypi.org/simple
aiosmtpd==1.4.4.post2; python_version ~= '3.7'
atpublic==4.0; python_version >= '3.8'
attrs==23.1.0; python_version >= '3.7'
attrs==23.2.0; python_version >= '3.7'
python-jata==1.2; python_version >= '3.8'