Skip to content

Commit f7a30fc

Browse files
sliwinski-miloszyoutux
authored andcommitted
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
1 parent 9dd326a commit f7a30fc

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
3.0.1
5+
------
6+
7+
- Minimal supported version of `pytest` is now 2.9.0 as lower versions do not support `bool` type ini options (sliwinski-milosz) #260
8+
49
3.0.0
510
------
611

pytest_bdd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
from pytest_bdd.steps import given, when, then
44
from pytest_bdd.scenario import scenario, scenarios
55

6-
__version__ = '3.0.0'
6+
__version__ = '3.0.1'
77

88
__all__ = [given.__name__, when.__name__, then.__name__, scenario.__name__, scenarios.__name__]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def run_tests(self):
7676
"parse",
7777
"parse_type",
7878
"py",
79-
"pytest>=2.8.1",
79+
"pytest>=2.9.0",
8080
"six>=1.9.0",
8181
],
8282
# the following makes a plugin available to py.test

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
distshare={homedir}/.tox/distshare
33
#envlist=linters,py27,py27-xdist,py27-pytest-latest,py34
4-
envlist=linters,py27,py27-pytest-latest,py34
4+
envlist=linters,py27,py27-pytest-minimal,py27-pytest-latest,py34
55
skip_missing_interpreters = true
66

77
[testenv]
@@ -25,6 +25,13 @@ deps =
2525
git+https://github.com/pytest-dev/py#egg=py
2626
git+https://github.com/pytest-dev/pytest.git@features#egg=pytest
2727

28+
[testenv:py27-pytest-minimal]
29+
basepython=python2.7
30+
deps =
31+
pytest==2.9.0
32+
pytest-xdist==1.17
33+
mock
34+
2835
[testenv:coveralls]
2936
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
3037
usedevelop=True

0 commit comments

Comments
 (0)