gitlab-ci, fix mypy errors and create requirements.txt

1 job from master in 13 seconds (queued for 1 minute and 39 seconds)
Status Job ID Name Coverage
  Test
failed #520
test

00:00:13

 
Name Stage Failure
failed
test Test
ModuleNotFoundError: No module named 'dataclasses'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
Command failed with exit code 1
ERROR: Job failed: exit status 1