Update lowest required pytest version (#260)

* Update lowest required pytest version

* tox: Run tests for minimal version of pytest

* Bump version to 3.0.1. Update changelog
This commit is contained in:
Milosz Sliwinski 2018-11-01 22:05:45 +01:00 committed by Alessio Bogon
parent 9dd326ad5d
commit f7a30fc843
4 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,11 @@
Changelog
=========
3.0.1
------
- Minimal supported version of `pytest` is now 2.9.0 as lower versions do not support `bool` type ini options (sliwinski-milosz) #260
3.0.0
------

View File

@ -3,6 +3,6 @@
from pytest_bdd.steps import given, when, then
from pytest_bdd.scenario import scenario, scenarios
__version__ = '3.0.0'
__version__ = '3.0.1'
__all__ = [given.__name__, when.__name__, then.__name__, scenario.__name__, scenarios.__name__]

View File

@ -76,7 +76,7 @@ setup(
"parse",
"parse_type",
"py",
"pytest>=2.8.1",
"pytest>=2.9.0",
"six>=1.9.0",
],
# the following makes a plugin available to py.test

View File

@ -1,7 +1,7 @@
[tox]
distshare={homedir}/.tox/distshare
#envlist=linters,py27,py27-xdist,py27-pytest-latest,py34
envlist=linters,py27,py27-pytest-latest,py34
envlist=linters,py27,py27-pytest-minimal,py27-pytest-latest,py34
skip_missing_interpreters = true
[testenv]
@ -25,6 +25,13 @@ deps =
git+https://github.com/pytest-dev/py#egg=py
git+https://github.com/pytest-dev/pytest.git@features#egg=pytest
[testenv:py27-pytest-minimal]
basepython=python2.7
deps =
pytest==2.9.0
pytest-xdist==1.17
mock
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
usedevelop=True