shaker/test-requirements.txt
Ilya Shakhat 9168689007 Resolve py27 and pep8 job failures
1. Cap version of stestr for py27 (the latest version is py3 only).

2. Flake8 is runtime dependency of diskimage-builder, currently they use
version >= 3.6.0, so Shaker must conform to this version too.

Failures found by the newer version of flake8:
 * W605 invalid escape sequence -- issues are fixed since they
   correspond to syntax warnings from py36.
 * E305 expected 2 blank lines after class or function definition --
   issues are fixed (older version didn't restrict spaces between
   functions and `if __name__ == "__main__":` block).
 * W504 line break after binary operator -- the rule is ignored since it
   contradicts the code style of the whole project.

Change-Id: I7fa53cfb6b654f5d93df30441a6eb2d47714d479
2020-04-05 15:49:53 +00:00

16 lines
638 B
Plaintext

# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
coverage>=4.0 # Apache-2.0
flake8<4.0.0,>=3.6.0 # MIT - must be in sync with diskimage-builder
mock>=2.0 # BSD
oslotest>=1.10.0 # Apache-2.0
sphinx!=1.6.6,!=1.6.7,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7;python_version>='3.4' # BSD
sphinxcontrib-httpdomain # BSD
sphinx_rtd_theme
stestr>=2.0.0,<3.0.0;python_version=='2.7' # Apache-2.0
stestr>=2.0.0;python_version>='3.4' # Apache-2.0
testtools>=1.4.0 # MIT