Skip to contentSkip to conversation

Travis-CI: Drop Python 2 from matrix

PATCH Applied Petr Lautrbach 2 participants 3 messages Nov 19, 2019 – Nov 21, 2019 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Travis-CI: Drop Python 2 from matrix

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.

---
 .travis.yml | 2 --
 1 file changed, 2 deletions(-)
.travis.yml +0 -2
index 7a9e73ce55db..e9f86baa4e6f 100644
@@ -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/)
Signature · 1 line
2.23.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Petr Lautrbach

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.

Quoted 20 lines
---
  .travis.yml | 2 --
  1 file changed, 2 deletions(-)
.travis.yml +0 -2
index 7a9e73ce55db..e9f86baa4e6f 100644
@@ -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/)
#2 lore raw
Quoted 8 lines · Stephen Smalley
Quoted 5 lines · Petr Lautrbach

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.

Thanks, applied.

Quoted 20 lines
Quoted 19 lines

---
  .travis.yml | 2 --

  1 file changed, 2 deletions(-)
.travis.yml +0 -0
index 7a9e73ce55db..e9f86baa4e6f 100644
@@ -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/)