diff --git a/pyproject.toml b/pyproject.toml index 1e42351..b6b2f87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "volttron-postgresql-historian" -version = "0.1.0" +version = "2.0.0rc0" description = "VOLTTRON historian agent that stores data in a PostgreSQL database. It extends the SQLHistorian class." authors = ["VOLTTRON Team "] license = "Apache License 2.0" @@ -12,7 +12,7 @@ packages = [ { include = "historian", from = "src" } ] [tool.poetry.dependencies] python = ">=3.10,<4.0" -volttron-lib-sql-historian="^0.1.1a8" +volttron-lib-sql-historian=">=2.0.0rc0" psycopg2-binary = "^2.9.5" [tool.poetry.group.dev.dependencies] @@ -29,7 +29,7 @@ coverage = "^6.3.2" pytest-cov = "^3.0.0" Sphinx = "^6.0.0" sphinx-rtd-theme = "^1.2.0" -volttron-testing = "^0.4.0rc3" +#volttron-testing = "^0.4.0rc3" [tool.yapfignore] ignore_patterns = [ diff --git a/src/historian/postgresql/postgresqlfuncts.py b/src/historian/postgresql/postgresqlfuncts.py index 5e8ba9e..2d165f2 100644 --- a/src/historian/postgresql/postgresqlfuncts.py +++ b/src/historian/postgresql/postgresqlfuncts.py @@ -33,7 +33,8 @@ from psycopg2.sql import Identifier, Literal, SQL from psycopg2.extras import execute_values -from volttron.utils import (jsonapi, setup_logging) +from volttron.utils import jsonapi +from volttron.client.logs import setup_logging from historian.sql import DbDriver