Python 2 is dead for a while, and there is no point in running the tests now. Python 3.7 and 3.8 are available and we want to test them on travis.
Signed-off-by: Nir Soffer nsoffer@redhat.com --- .travis.yml | 4 ++-- tox.ini | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 89fb52a..bea805d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ dist: xenial language: python
python: - - "2.7" - "3.6" - "3.7" - - "3.8-dev" + - "3.8" + - "3.9-dev"
addons: apt: diff --git a/tox.ini b/tox.ini index 4a28561..af8a6cc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory.
[tox] -envlist = py27,py36,flake8 +envlist = py{36,37,38},flake8 skipsdist = True skip_missing_interpreters = True
@@ -18,8 +18,7 @@ whitelist_externals = make deps = pytest==4.0 commands = - py27: make PY_VERSION=2.7 BUILDARGS="--build-lib={envsitepackagesdir}" - py36: make PY_VERSION=3.6 BUILDARGS="--build-lib={envsitepackagesdir}" + py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs}
[testenv:flake8]
Python 2 is dead for a while, and there is no point in running the tests now. Python 3.7 and 3.8 are available and we want to test them on travis.
+1 LGTM
Signed-off-by: Nir Soffer nsoffer@redhat.com
.travis.yml | 4 ++-- tox.ini | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 89fb52a..bea805d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ dist: xenial language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8-dev"
- "3.8"
- "3.9-dev"
addons: apt: diff --git a/tox.ini b/tox.ini index 4a28561..af8a6cc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory.
[tox] -envlist = py27,py36,flake8 +envlist = py{36,37,38},flake8 skipsdist = True skip_missing_interpreters = True
@@ -18,8 +18,7 @@ whitelist_externals = make deps = pytest==4.0 commands =
- py27: make PY_VERSION=2.7 BUILDARGS="--build-lib={envsitepackagesdir}"
- py36: make PY_VERSION=3.6 BUILDARGS="--build-lib={envsitepackagesdir}"
- py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs}
[testenv:flake8]
Change itself LGTM, but probably need to remove py27 mentioned in README.dev as well.
On Tue, Apr 28, 2020 at 2:44 AM Nir Soffer nirsof@gmail.com wrote:
Python 2 is dead for a while, and there is no point in running the tests now. Python 3.7 and 3.8 are available and we want to test them on travis.
Signed-off-by: Nir Soffer nsoffer@redhat.com
.travis.yml | 4 ++-- tox.ini | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 89fb52a..bea805d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ dist: xenial language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8-dev"
- "3.8"
- "3.9-dev"
addons: apt: diff --git a/tox.ini b/tox.ini index 4a28561..af8a6cc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory.
[tox] -envlist = py27,py36,flake8 +envlist = py{36,37,38},flake8 skipsdist = True skip_missing_interpreters = True
@@ -18,8 +18,7 @@ whitelist_externals = make deps = pytest==4.0 commands =
- py27: make PY_VERSION=2.7 BUILDARGS="--build-lib={envsitepackagesdir}"
- py36: make PY_VERSION=3.6 BUILDARGS="--build-lib={envsitepackagesdir}"
- py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs}
[testenv:flake8]
2.25.4
On Sat, May 2, 2020, 15:40 Amit Bawer abawer@redhat.com wrote:
Change itself LGTM, but probably need to remove py27 mentioned in README.dev as well.
More work is needed to remove python 2 completely.
On Tue, Apr 28, 2020 at 2:44 AM Nir Soffer nirsof@gmail.com wrote:
Python 2 is dead for a while, and there is no point in running the tests now. Python 3.7 and 3.8 are available and we want to test them on travis.
Signed-off-by: Nir Soffer nsoffer@redhat.com
.travis.yml | 4 ++-- tox.ini | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 89fb52a..bea805d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ dist: xenial language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8-dev"
- "3.8"
- "3.9-dev"
addons: apt: diff --git a/tox.ini b/tox.ini index 4a28561..af8a6cc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory.
[tox] -envlist = py27,py36,flake8 +envlist = py{36,37,38},flake8 skipsdist = True skip_missing_interpreters = True
@@ -18,8 +18,7 @@ whitelist_externals = make deps = pytest==4.0 commands =
- py27: make PY_VERSION=2.7
BUILDARGS="--build-lib={envsitepackagesdir}"
- py36: make PY_VERSION=3.6
BUILDARGS="--build-lib={envsitepackagesdir}"
- py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs}
[testenv:flake8]
2.25.4
sanlock-devel@lists.fedorahosted.org