From f2b375ab71f654888c19a8fdfe777507a7f7095f Mon Sep 17 00:00:00 2001 From: Edi Feschiyan Date: Mon, 13 Jul 2020 18:17:03 +0300 Subject: when pytests are run on Python 3.8 the test gathering and execution order is reversed and may break tests which require state to be carried over adding pytest-reverse to requirements/setup.py to be readily available if needed --- requirements.txt | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c08fa44..d599421 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,6 +13,7 @@ pyparsing==2.4.7 pytest==5.4.1 pytest-asyncio==0.11.0 pytest-dependency==0.5.1 +pytest-reverse==1.0.1 six==1.14.0 wcwidth==0.1.9 websockets==8.1 diff --git a/setup.py b/setup.py index 07e764d..68e8f3d 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setuptools.setup( url="https://github.com/refresher/pyagl", packages=setuptools.find_packages(), license="Apache 2.0", - install_requires=['websockets', 'parse', 'asyncssh', 'pytest', 'pytest-asyncio', 'pytest-dependency'], + install_requires=['websockets', 'parse', 'asyncssh', 'pytest', 'pytest-asyncio', 'pytest-dependency', 'pytest-reverse'], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', -- cgit 1.2.3-korg