From 4e187105375a8cc090671df16c5ffa7b7e84501f Mon Sep 17 00:00:00 2001 From: Diego Navarro Date: Thu, 21 Feb 2019 19:05:35 +0100 Subject: [PATCH] Upgrades pytest, pytest-django and pytest-cov version to fix travis build (#358) * Upgrades pytest, pytest-django and pytest-cov version * Skips testing Python 3.5 with django trunk (Django 2.1 requires Python 3.6) --- CHANGES.rst | 2 ++ requirements-test.txt | 5 +++-- tox.ini | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 4ea6812..629c4dc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,8 @@ master (unreleased) - Support `reversed` for all kinds of `Choices` objects, fixes GH-309 - Fix Model instance non picklable GH-330 - Fix patched `save` in FieldTracker +- Upgrades test requirements (pytest, pytest-django, pytest-cov) and + skips tox test with Python 3.5 and Django (trunk) 3.1.2 (2018.05.09) ------------------ diff --git a/requirements-test.txt b/requirements-test.txt index fa21abd..f8c6741 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,3 +1,4 @@ -pytest==3.3.1 -pytest-django==3.1.2 +pytest==4.3.0 +pytest-django==3.4.7 psycopg2==2.7.6.1 +pytest-cov==2.6.1 \ No newline at end of file diff --git a/tox.ini b/tox.ini index c092160..4cdf852 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ envlist = py27-django{19,110,111} py34-django{19,110,111,200} - py35-django{19,110,111,200,201,trunk} + py35-django{19,110,111,200,201} py36-django{111,200,201,trunk} flake8 @@ -16,7 +16,6 @@ deps = djangotrunk: https://github.com/django/django/archive/master.tar.gz freezegun == 0.3.8 -rrequirements-test.txt - pytest-cov ignore_outcome = djangotrunk: True passenv =