[llvm-dev] Python version requirement

Stella Laurenzo via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 29 15:18:06 PST 2021


I think we should enforce a minimum version and that should not be less
than 3.6. <3.6 is eol, and bug fixes for 3.6 will continue through 2021.
Obviously, we should make sure that bots are upgraded of course, I would
think...

On Fri, Jan 29, 2021, 12:28 PM Chris Tetreault via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> It was actually pointed out to me that the linked page just says “known to
> work”, not “minimum required”, so now I’m very confused as to what to do. I
> think two reasonable ways ahead are to just roll with it and require 3.6,
> or to revert the recent patches that require it and to find the lowest
> version that works with the resulting code. Thoughts?
>
>
>
> *From:* llvm-dev <llvm-dev-bounces at lists.llvm.org> *On Behalf Of *Chris
> Tetreault via llvm-dev
> *Sent:* Friday, January 29, 2021 12:18 PM
> *To:* llvm-dev at lists.llvm.org
> *Subject:* [EXT] [llvm-dev] Python version requirement
>
>
>
>                 I just pushed a patch that uses CMake to actually enforce
> the minimum version of Python 3.6. (https://reviews.llvm.org/D95635) On
> https://llvm.org/docs/GettingStarted.html#software, we document that
> Python 3.6 is the minimum version of python that is required for LLVM, and
> some patches have gone in to use Python 3.6 features. As of a few days ago,
> if you try to run the test suite without python 3.6 or greater, you will
> get a syntax error in the test suite python code. However, I had to revert
> my patch because some of the build bots don’t actually have Python 3.6.
> Specifically, I got a failure in the fuchsia-x86_64-linux bot that has
> Python 3.5.3. I have no way of knowing if any other infrastructure has this
> issue. (unless they email me to complain)
>
>
>
>                 I think that Ideally we want CMake to enforce the version
> minimum, but we can’t do that until the build bots are all updated. I
> wanted to raise awareness of this issue so that hopefully we can get this
> sorted out soon.
>
>
>
> Thanks,
>
>                 Christopher Tetreault
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210129/49466b19/attachment.html>


More information about the llvm-dev mailing list