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
Use packaging.version instead of distutils Version classes #3700
Conversation
7a230f0
to
438c3fd
Compare
Thank you for the contribution @njzjz! It's good to keep the code base up to date and to clear warnings. If you feel like continuing with this and if you have the time, there are about 40 further usages of |
Resolves the following warning: /usr/local/lib/python3.10/dist-packages/horovod/tensorflow/elastic.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
2bfa8e1
to
29ad6d0
Compare
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Hi @maxhgerlach, I have replaced all of Note: Per documentation distutils will be removed in Python 3.12. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @njzjz! Let's just wait for a full run of the CI pipeline.
Tests are fines, only unrelated failures. |
Checklist before submitting
Description
Resolves the following warning:
Review process to land