fix: Hashlib md5 errors in FIPS for python 3.9+ by brijesh-vora-sp · Pull Request #4019 · feast-dev/feast
What this PR does / why we need it:
We get md5 error if the environment is FIPS enabled for python >=3.9. The error is
Traceback (most recent call last):
File "/root/.local/bin/feast", line 5, in <module>
from feast.cli import cli
File "/root/.local/lib/python3.10/site-packages/feast/__init__.py", line 7, in <module>
from feast.infra.offline_stores.bigquery_source import BigQuerySource
File "/root/.local/lib/python3.10/site-packages/feast/infra/offline_stores/bigquery_source.py", line 6, in <module>
from feast.data_source import DataSource
File "/root/.local/lib/python3.10/site-packages/feast/data_source.py", line 28, in <module>
from feast.repo_config import RepoConfig, get_data_source_class_from_type
File "/root/.local/lib/python3.10/site-packages/feast/repo_config.py", line 29, in <module>
from feast.usage import log_exceptions
File "/root/.local/lib/python3.10/site-packages/feast/usage.py", line 50, in <module>
"env_signature": hashlib.md5(
ValueError: [digital envelope routines] unsupported
The probable solution is to use disable the usedforsecurity.
Which issue(s) this PR fixes: