Skip to content

feat: added optional job which checks deprecated modules for python 3.11

Jiří Prokop requested to merge prokop/check_deprecated_python_modules into main

Description

Created simple script for checking deprecated python modules for version specified in pyproject.toml. List of deprecated modules is fetched from python docs.

How to test

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.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

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.

Related issues

closes STR-1373

Edited by Jiří Prokop

Merge request reports

Loading