diff mbox series

Travis-CI: Drop Python 2 from matrix

Message ID 20191119104326.1572146-1-plautrba@redhat.com (mailing list archive)
State Accepted
Headers show
Series Travis-CI: Drop Python 2 from matrix | expand

Commit Message

Petr Lautrbach Nov. 19, 2019, 10:43 a.m. UTC
As a result of Python 2 sunset - https://www.python.org/doc/sunset-python-2/ -
Python 2 code will not be supported in this project anymore and new Python code
should be written only for Python 3.

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
---
 .travis.yml | 2 --
 1 file changed, 2 deletions(-)

Comments

Stephen Smalley Nov. 20, 2019, 1:06 p.m. UTC | #1
On 11/19/19 5:43 AM, Petr Lautrbach wrote:
> As a result of Python 2 sunset - https://www.python.org/doc/sunset-python-2/ -
> Python 2 code will not be supported in this project anymore and new Python code
> should be written only for Python 3.
> 
> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>

Acked-by: Stephen Smalley <sds@tycho.nsa.gov>

> ---
>   .travis.yml | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 7a9e73ce55db..e9f86baa4e6f 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -17,10 +17,8 @@ env:
>       - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
>   
>       # Test several Python versions
> -    - PYVER=python2.7 RUBYLIBVER=2.6
>       - PYVER=python3.5 RUBYLIBVER=2.6
>       - PYVER=python3.6 RUBYLIBVER=2.6
> -    - PYVER=pypy2.7-6.0 RUBYLIBVER=2.6
>       - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
>   
>       # Test several Ruby versions (http://rubies.travis-ci.org/)
>
Stephen Smalley Nov. 21, 2019, 5:07 p.m. UTC | #2
On 11/20/19 8:06 AM, Stephen Smalley wrote:
> On 11/19/19 5:43 AM, Petr Lautrbach wrote:
>> As a result of Python 2 sunset - 
>> https://www.python.org/doc/sunset-python-2/ -
>> Python 2 code will not be supported in this project anymore and new 
>> Python code
>> should be written only for Python 3.
>>
>> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
> 
> Acked-by: Stephen Smalley <sds@tycho.nsa.gov>

Thanks, applied.

> 
>> ---
>>   .travis.yml | 2 --
>>   1 file changed, 2 deletions(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 7a9e73ce55db..e9f86baa4e6f 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -17,10 +17,8 @@ env:
>>       - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
>>       # Test several Python versions
>> -    - PYVER=python2.7 RUBYLIBVER=2.6
>>       - PYVER=python3.5 RUBYLIBVER=2.6
>>       - PYVER=python3.6 RUBYLIBVER=2.6
>> -    - PYVER=pypy2.7-6.0 RUBYLIBVER=2.6
>>       - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
>>       # Test several Ruby versions (http://rubies.travis-ci.org/)
>>
>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 7a9e73ce55db..e9f86baa4e6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,10 +17,8 @@  env:
     - PYVER=python3.7 RUBYLIBVER=2.6 LINKER=bfd
 
     # Test several Python versions
-    - PYVER=python2.7 RUBYLIBVER=2.6
     - PYVER=python3.5 RUBYLIBVER=2.6
     - PYVER=python3.6 RUBYLIBVER=2.6
-    - PYVER=pypy2.7-6.0 RUBYLIBVER=2.6
     - PYVER=pypy3.5-6.0 RUBYLIBVER=2.6
 
     # Test several Ruby versions (http://rubies.travis-ci.org/)