ashb edited a comment on pull request #13083:
URL: https://github.com/apache/airflow/pull/13083#issuecomment-745387027
> On the Internet, I found such a solution. Maybe that will be a better idea
than dropping MD5.
>
> ```
> sed -i 's/hashlib.md5()/hashlib.md5(usedforsecurity=False)/g'
<virtual_environment>/lib/python3.6/site-packages/django/db/backends/base/schema.py
> ```
Ace -- an undocumented parameter. That doesn't work on Python 3.7:
```
In [4]: hashlib.md5(b'abc', usedforsecurity=False)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-0fa59ad09572> in <module>
----> 1 hashlib.md5(b'abc', usedforsecurity=False)
TypeError: openssl_md5() takes no keyword arguments
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]