Tweak tox config a bit per broken tests

This commit is contained in:
Lance Edgar 2021-04-28 19:07:42 -05:00
parent eede391be8
commit 91db10b10c

28
tox.ini
View file

@ -9,42 +9,30 @@ deps =
nose nose
commands = commands =
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
nosetests {posargs} nosetests {posargs}
[testenv:py27] [testenv:py27]
# TODO: this is only here to avoid "latest" packages which break us on python2.7 # TODO: this only adds the sa-utils restriction, per python2
deps = commands =
coverage pip install --upgrade pip
fixture pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon SQLAlchemy-Utils<0.36.7
mock nosetests {posargs}
nose
SQLAlchemy<1.4
SQLAlchemy-Utils<0.36.7
[testenv:coverage] [testenv:coverage]
basepython = python3 basepython = python3
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
deps =
coverage
fixture
mock
nose
SQLAlchemy<1.4
commands = commands =
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage} nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
[testenv:docs] [testenv:docs]
basepython = python3 basepython = python3
# TODO: capping sqlalchemy for now, to avoid issues w/ zope.sqlalchemy
deps = deps =
Sphinx Sphinx
sphinx-rtd-theme sphinx-rtd-theme
SQLAlchemy<1.4
changedir = docs changedir = docs
commands = commands =
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer] rattail-tempmon pip install --upgrade --upgrade-strategy eager Tailbone rattail[auth,bouncer,db] rattail-tempmon
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs