From 11465d907d25f517b8f6b88eb6bcf26b4538270f Mon Sep 17 00:00:00 2001 From: Jonathan Kamens Date: Tue, 16 Feb 2016 12:54:19 -0500 Subject: [PATCH] MAINT: Upgrade Logbook version Upgrade Logbook to 0.12.5. This required changing a usage of `logbook.NullHandler()` which passed `bubble=True`, since `NullHandler` no longer supports the `bubble` argument. --- etc/requirements.txt | 2 +- zipline/examples/olmar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/requirements.txt b/etc/requirements.txt index 4b17de47..cdfe7dd4 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -2,7 +2,7 @@ pip>=7.1.0 # Logging -Logbook==0.10.0 +Logbook==0.12.5 # Scientific Libraries diff --git a/zipline/examples/olmar.py b/zipline/examples/olmar.py index 73950523..9294ea35 100644 --- a/zipline/examples/olmar.py +++ b/zipline/examples/olmar.py @@ -9,7 +9,7 @@ from zipline.utils.factory import load_from_yahoo from zipline.finance import commission zipline_logging = logbook.NestedSetup([ - logbook.NullHandler(level=logbook.DEBUG, bubble=True), + logbook.NullHandler(), logbook.StreamHandler(sys.stdout, level=logbook.INFO), logbook.StreamHandler(sys.stderr, level=logbook.ERROR), ])