From a4c22d1b8238d585c433a5bc25a6378bdf867456 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Tue, 2 Jan 2018 23:37:34 -0600 Subject: [PATCH] Use Protocol 2 for pickling so things will work with RTD --- docs/plot_directive.py | 2 +- docs/richdem-docs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plot_directive.py b/docs/plot_directive.py index dd23b355..22481ecf 100644 --- a/docs/plot_directive.py +++ b/docs/plot_directive.py @@ -697,7 +697,7 @@ def render_figures(code, code_path, output_dir, output_base, context, if cached: try: - pickle.dump(results, open(cached+'.pickle', 'wb')) + pickle.dump(results, open(cached+'.pickle', 'wb'), protocol=2) except Exception as err: raise PlotError(traceback.format_exc()) diff --git a/docs/richdem-docs b/docs/richdem-docs index 1005ede8..388ccfb1 160000 --- a/docs/richdem-docs +++ b/docs/richdem-docs @@ -1 +1 @@ -Subproject commit 1005ede8e4ee66b989a3a783f7859d09cd3ea785 +Subproject commit 388ccfb1a3c80e1a18eae774aa75f7589f357a2a