Skip to content

Commit daf80c4

Browse files
authored
Updated default version of pytest to 6.0.1 (#10328)
Also updates the default Pytest plugin versions.
1 parent 8c958a1 commit daf80c4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pants.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ branch_notes = """
117117
"""
118118

119119
[pytest]
120+
args = ["--no-header"]
120121
pytest_plugins.add = [
121122
"ipdb",
122123
"pytest-icdiff",

src/python/pants/backend/python/subsystems/pytest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ def register_options(cls, register):
2323
help='Arguments to pass directly to Pytest, e.g. `--pytest-args="-k test_foo --quiet"`',
2424
)
2525
register(
26-
"--version", default="pytest>=5.3.5,<5.4", help="Requirement string for Pytest.",
26+
"--version", default="pytest>=6.0.1,<6.1", help="Requirement string for Pytest.",
2727
)
2828
register(
2929
"--pytest-plugins",
3030
type=list,
3131
default=[
32-
"pytest-timeout>=1.3.4,<1.4",
33-
"pytest-cov>=2.8.1,<2.9",
32+
"pytest-timeout>=1.4.2,<1.5",
33+
"pytest-cov>=2.10.1,<2.11",
3434
# NB: zipp has frequently destabilized builds due to floating transitive versions under pytest.
3535
"zipp==2.1.0",
3636
],

0 commit comments

Comments
 (0)