Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urlutils.py v.1.1 #3382

Closed
rthieledesy opened this issue Jul 21, 2015 · 2 comments
Closed

urlutils.py v.1.1 #3382

rthieledesy opened this issue Jul 21, 2015 · 2 comments

Comments

@rthieledesy
Copy link

Hallo,

I have installed the Invenio 1.1.6 on Scientific Linux 6.5. We will starting to test the upgrading process on Invenio 1.2.
But in the moment, we get the following warning:
/usr/lib64/python2.6/site-packages/invenio/urlutils.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead

I have seen, that for Invenio 1.2 the urutils.py is using haslib instead of md5.
Is it possible, that the urlutils.py v.1.1 is getting the md5 import from v.1.2? It would be helpful for avoiding the deprecation warnings.

Robert Thiele
DESY

@tiborsimko
Copy link
Member

OK, nobody took this issue during Hacktoberfest, so I'm going to take it myself...

tiborsimko added a commit to tiborsimko/invenio that referenced this issue Nov 14, 2016
* BETTER Uses `md5` from `hashlib` when available. (closes inveniosoftware#3382)

Signed-off-by: Tibor Simko <[email protected]>
tiborsimko added a commit to tiborsimko/invenio that referenced this issue Nov 14, 2016
* BETTER Uses `md5` from `hashlib` when available. (closes inveniosoftware#3382)

Signed-off-by: Tibor Simko <[email protected]>
@tiborsimko
Copy link
Member

Closed by #3718.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants