aws / amazon-sagemaker-clarify

Fairness Aware Machine Learning. Bias detection and mitigation for datasets and models.
Apache License 2.0
66 stars 38 forks source link

chore: update python version to 3.9 for smclarify pypi binary #117

Closed Satish615 closed 2 years ago

Satish615 commented 2 years ago

Issue #, if available:

  1. Fix github actions which were failing before in pre-commit stage due to black import.

Description of changes:

  1. update smclarify version to 0.3 since additional bias metrics are added.
  2. update github workflows to build the packages on python 3.7, 3.8, 3.9 and run the test-coverage matrix for python 3.9.
  3. update the read.me, setup.py , setup.cfg to use python 3.9.
  4. fix the mypy issues occured with python 3.9.

Testing: ./devtool all passed in local. github actions workflow passed for 3.7, 3.8 and 3.9 on the forked repo.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Satish615 commented 2 years ago

The PR for adding 2 new bias metrics is not pushed yet. so its better to keep the package version back to 0.2 until then