Skip to content

Commit

Permalink
Bound pytest below 3.7 due to pantsbuild#6282
Browse files Browse the repository at this point in the history
  • Loading branch information
stuhood committed Jul 31, 2018
1 parent 9acbac7 commit f01a585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/pants/backend/python/subsystems/pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class PyTest(Subsystem):
@classmethod
def register_options(cls, register):
super(PyTest, cls).register_options(register)
register('--requirements', advanced=True, default='pytest>=3.0.7,<4.0',
# TODO: This is currently bounded below `3.7` due to #6282.
register('--requirements', advanced=True, default='pytest>=3.0.7,<3.7',
help='Requirements string for the pytest library.')
register('--timeout-requirements', advanced=True, default='pytest-timeout>=1.2,<1.3',
help='Requirements string for the pytest-timeout library.')
Expand Down

0 comments on commit f01a585

Please sign in to comment.