Displaying 5 results from an estimated 5 matches for "update_check_tests".
2018 Jan 31
2
Migrate utils/ Python 2 scripts to Python 3
> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Thanks for the information. Then how about standalone scripts (many
> one-file) like utils/update_check_tests.py that are unrelated to lit
> or other important infrastructure? Can they be changed from
> `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
>
No. Every machine running macOS has /usr/bin/python and /usr/bin/python2.7 and because of system integrity protection it isn't even p...
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
Thanks for the information. Then how about standalone scripts (many
one-file) like utils/update_check_tests.py that are unrelated to lit
or other important infrastructure? Can they be changed from
`#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
On Tue, Jan 30, 2018 at 11:20 AM, Chris Matthews
<chris.matthews at apple.com> wrote:
> Personally, every machine I work with only has Python 2....
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
...48 AM, Adrian Prantl <aprantl at apple.com> wrote:
>
>
>
>> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Thanks for the information. Then how about standalone scripts (many
>> one-file) like utils/update_check_tests.py that are unrelated to lit
>> or other important infrastructure? Can they be changed from
>> `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
>>
>
> No. Every machine running macOS has /usr/bin/python and /usr/bin/python2.7 and because of system integrity protecti...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
...;aprantl at apple.com> wrote:
>>
>>
>>
>>> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>
>>> Thanks for the information. Then how about standalone scripts (many
>>> one-file) like utils/update_check_tests.py that are unrelated to lit
>>> or other important infrastructure? Can they be changed from
>>> `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
>>>
>>
>> No. Every machine running macOS has /usr/bin/python and /usr/bin/python2.7 and because of system...
2018 Jan 30
4
Migrate utils/ Python 2 scripts to Python 3
Personally, every machine I work with only has Python 2.7.
Justin is correct that there is a non-trivial amount of effort to convert the bots.
Python 3 is wonderful. But, a Python 3 dependency seems like one burden that could be avoided. We have already made that trade-off in the past, for example by only using standard python packages, so there is less/nothing to pip install when getting