[PATCH] D67753: [gn build] Fix Python DeprecationWarning
Marco Antognini via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 08:01:18 PDT 2019
mantognini added a comment.
/usr/bin/env python --version
Python 3.7.0
Apparently I was slightly wrong: it's not specific to the .4 maintenance release but any 3.7 version. On the download page <https://www.python.org/downloads/release/python-374/> I though the items applied to 3.7.4 only, but as can be confirmed by the 3.7 documentation page <https://docs.python.org/3/whatsnew/3.7.html> it's not. Apologies for this. The fix is still relevant though.
I assume you couldn't reproduce the warnings. Do you have by any change some PYTHONWARNINGS <https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS> environment variable turning the warning off or some command line argument that does the same?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67753/new/
https://reviews.llvm.org/D67753
More information about the llvm-commits
mailing list