[PATCH 2 of 5 timesheet] [tox] Force cubicweb <3.27 in tox for py27

Simon Chabot simon.chabot at logilab.fr
Thu Mar 5 16:16:54 CET 2020


# HG changeset patch
# User Simon Chabot <simon.chabot at logilab.fr>
# Date 1583403696 -3600
#      Thu Mar 05 11:21:36 2020 +0100
# Node ID 5fcde88ecac1cd1b829a7033bbc8f948f62a5c35
# Parent  1a8777a303367e5a69b0259a0f8e14434daa6c37
# Available At https://hg.logilab.org/review/cubes/timesheet/
#              hg pull https://hg.logilab.org/review/cubes/timesheet/ -r 5fcde88ecac1
[tox] Force cubicweb <3.27 in tox for py27

Cubicweb 3.27 is not python 2 compatible.
Force the version in tox.

diff -r 1a8777a30336 -r 5fcde88ecac1 tox.ini
--- a/tox.ini	Thu Feb 13 10:06:01 2020 +0100
+++ b/tox.ini	Thu Mar 05 11:21:36 2020 +0100
@@ -7,6 +7,13 @@
 commands =
   {envpython} -m pytest {posargs}
 
+[testenv:py27]
+deps=
+  cubicweb<3.27
+  -rdev-requirements.txt
+commands =
+  {envpython} -m pytest {posargs}
+
 [pytest]
 python_files = *test_*.py
 testpaths = test



More information about the cubicweb-devel mailing list