diff --git a/docs/source/install.rst b/docs/source/install.rst index ac5b66f00c..04af196ebb 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -146,8 +146,7 @@ Documentation `_ for the latest installation details. .. _managing-conda-environments: @@ -178,7 +177,7 @@ You can install Zipline by running .. code-block:: bash - (env_zipline) $ conda install -c ml4t zipline-reloaded + (env_zipline) $ conda install -c conda-forge zipline-reloaded To deactivate the ``conda`` environment: diff --git a/src/zipline/utils/sqlite_utils.py b/src/zipline/utils/sqlite_utils.py index 3eba2ee301..c17ceb83ce 100644 --- a/src/zipline/utils/sqlite_utils.py +++ b/src/zipline/utils/sqlite_utils.py @@ -17,6 +17,7 @@ import sqlite3 import sqlalchemy as sa +from sqlalchemy.pool import NullPool from .input_validation import coerce_string @@ -42,7 +43,7 @@ def check_and_create_connection(path, require_exists): def check_and_create_engine(path, require_exists): if require_exists: verify_sqlite_path_exists(path) - return sa.create_engine("sqlite:///" + path) + return sa.create_engine("sqlite:///" + path, poolclass=NullPool) def coerce_string_to_conn(require_exists):