Created simple script for checking deprecated python modules for version specified in pyproject.toml
. List of deprecated modules is fetched from python docs.
Simply push a commit, then click on pipelines and run the check_deprecated_modules job manually. Alternatively, you can run the script by youself locally.
I wasn't sure whether to add anything to the documentation (e.g., the 'root' README.md), so I didn't. If you think I should, please let me know.
I tested the job by pushing python files with deprecated imports, the job failed as expected. You can check that in this MR's pipelines -there will also be a lot of depricated modules from venv's site-packages(that is fixed now), my test files are at the bottow.
closes STR-1373