Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ from being registered so its hooks won't be registered and its command line opti
Changelog
--------------

v1.1.1 (2024-01-20)
+++++++++++++++++++

* Fixes #54 - ``AttributeError`` when cacheprovider plugin disabled. Thanks @jhanm12


v1.1.0 (2022-12-03)
+++++++++++++++++++

Expand Down
3 changes: 3 additions & 0 deletions random_order/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@


def process_failed_first_last_failed(session, config, items):
if not hasattr(config, 'cache'):
return

if not config.getoption('failedfirst'):
return

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def read(fname):

setup(
name='pytest-random-order',
version='1.1.0',
version='1.1.1',
author='Jazeps Basko',
author_email='jazeps.basko@gmail.com',
maintainer='Jazeps Basko',
Expand Down