[Python-Dev] Starting to use gcc-8 on upstream Python project CI

有賀淳/Jun Aruga happy at oh4u.net
Wed Aug 22 13:38:32 EDT 2018


Hi Brett,

> So is the request simply to use gcc 8 instead of what Travis uses as the default gcc?

Yes, you are right.

> IOW change https://github.com/python/cpython/blob/28853a249b1d0c890b7e9ca345290bb8c1756446/.travis.yml#L71 somehow to use gcc8 specifically?

If we just change only the test case of the gcc version from 4.8
(default) to 8, that's not difficult.
I wanted to know how we implement the case if we need it.

> Since it's only used for the code coverage build I don't think  anyone would mind if you changed it. Just open an issue on bugs.python.org and then submit a PR to change it.

Okay, as I have not join the Python development, I did not know how
the core developers are using the CI.

> Just open an issue on bugs.python.org and then submit a PR to change it.

Sure, later if anyone does not open the ticket, I will do it submitting the PR.

Thanks for the explanation.

Jun

On Wed, 22 Aug 2018 at 19:04, Brett Cannon <brett at python.org> wrote:
>
> So is the request simply to use gcc 8 instead of what Travis uses as the default gcc? IOW change https://github.com/python/cpython/blob/28853a249b1d0c890b7e9ca345290bb8c1756446/.travis.yml#L71 somehow to use gcc8 specifically? Since it's only used for the code coverage build I don't think  anyone would mind if you changed it. Just open an issue on bugs.python.org and then submit a PR to change it.
>
> On Tue, 21 Aug 2018 at 08:35 Jun Aruga <jaruga at redhat.com> wrote:
>>
>> Hi Miro,
>>
>> Thanks for forwarding to python-dev.
>>
>> Jun
>>
>>
>> On Mon, Aug 20, 2018 at 8:31 PM, Miro Hrončok <mhroncok at redhat.com> wrote:
>> > On 20.8.2018 20:02, Jun Aruga wrote:
>> >>
>> >> Dear Python sig.
>> >>
>> >> Someone can you help to promote for the upstream Python project to use
>> >> gcc-8 on the Travis CI test?
>> >> Right now the project has 4 test cases [1] including defaut gcc
>> >> version 4.8 cases on Travis CI.
>> >>
>> >> However technically it is possible to use gcc-N (4.8, 5, 6, 7, 8, and
>> >> etc) on Travis CI.
>> >> I think that using the latest version gcc-8 on the upstream project is
>> >> quite beneficial for us.
>> >> Because maybe we Fedora people are working to fix new version gcc's
>> >> issues.
>> >> When the python project start to use gcc-8, it is easy to share the
>> >> situation publicly outside of Fedora, and of course they can help to
>> >> check the issues.
>> >> As I checked the Python project's .travis.yml, I had no idea about how
>> >> to add gcc-8 case. ;(
>> >>
>> >> I can show you 2 cases to use the technique as an example. [2][3]
>> >>
>> >>
>> >> [1] Python
>> >>    https://travis-ci.org/python/cpython
>> >>    https://github.com/python/cpython/blob/master/.travis.yml
>> >>
>> >> [2] Ruby
>> >>    https://travis-ci.org/junaruga/ruby/builds/418242410
>> >>    https://github.com/junaruga/ruby/blob/feature/ci-new-gcc/.travis.yml
>> >>    https://github.com/ruby/ruby/pull/1937
>> >>
>> >> [3] A project I am working as a hobby.
>> >>    https://travis-ci.org/trinityrnaseq/trinityrnaseq
>> >>    https://github.com/trinityrnaseq/trinityrnaseq/blob/master/.travis.yml
>> >
>> >
>> >
>> > I'm taking this to python-dev at python.org which is more appropriate place to
>> > discuss this. I think Victor is involved in the CIs, is that right?
>> >
>> > --
>> > Miro Hrončok
>> > --
>> > Phone: +420777974800
>> > IRC: mhroncok
>>
>>
>>
>> --
>> Jun Aruga jaruga at redhat.com
>> IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno,
>> Czech Republic
>> _______________________________________________
>> Python-Dev mailing list
>> Python-Dev at python.org
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/happy%40oh4u.net



-- 
Jun Aruga


More information about the Python-Dev mailing list