Fixed issues related to lazy_import in python 3.8

12 jobs for python-version-issues in 22 minutes and 38 seconds (queued for 3 seconds)