Skip to content

Commit

Permalink
Update Dockerfile for py3.9 (#1223)
Browse files Browse the repository at this point in the history
* Update pre-commit conifg

Update gitlint to 0.15.1
Update flake8 til 3.9.2
Update isort to 5.9.3
Update pre-commit-hooks to 4.0.1

* Add support for python 3.9

python 3.9 has finally removed Thread.isAlive() function.
but because we still (?) need to support python version w/o is_alive() we need to check for both

* Update requirements

Python3.9 does not have sources for some of the old library versions MAD expects
Gevent updated to version 20.9
Greenlet updated to version 1.1
OpenCV updated to version 4.4

* Update toxt and docker-dev

Add python 3.9 to test suite
Remove exclude for questgen.py
add N818 to tox ignore (requires a lot of fixing in apk:wizard: to solve)

* Lint questgen

* Tell flake8 about _

* WIP Update mysqlclient requirement to 2.0.3

* Upgrade requirements to be more in sync with redis-mitm-branch

* Update Dockerfile

Co-authored-by: fosJoddie <5710881+fosJoddie@users.noreply.github.com>
  • Loading branch information
jinnatar and fosJoddie committed May 8, 2022
1 parent 2c41d48 commit 5e3ff41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################
# MAD
############################
FROM python:3.7-slim AS mad-core
FROM python:3.9-slim AS mad-core
# Working directory for the application
WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ psutil~=5.6
pytesseract~=0.3
requests~=2.22
s2sphere~=0.2
websockets>=7
websockets>=7

0 comments on commit 5e3ff41

Please sign in to comment.