Skip to content

Commit

Permalink
Cleanup and bump of version.
Browse files Browse the repository at this point in the history
craig8 committed Oct 23, 2024
1 parent 521a73a commit 65e3d60
Showing 3 changed files with 18 additions and 21 deletions.
32 changes: 13 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "volttron-listener"
version = "2.0.0rc1"
version = "2.0.0rc2"
description = "The volttron-listener agent allows publishing of message bus traffic to standard out."
authors = ["VOLTTRON Team <[email protected]>"]
license = "Apache License 2.0"
@@ -18,24 +18,18 @@ classifiers = [
"License :: OSI Approved :: Apache Software License"
]
[tool.poetry.dependencies]
python = "^3.10"
volttron-core = ">=2.0.0rc0"

# [tool.poetry.group.dev.dependencies]
# # formatting, quality, tests
# pytest = "^6.2.5"
# mock = "^4.0.3"
# pre-commit = "^2.17.0"
# yapf = "^0.32.0"
# toml = "^0.10.2"
# isort = "^5.10.1"
# safety = "^1.10.3"
# mypy = "^0.942"
# coverage = "^6.3.2"
# pytest-cov = "^3.0.0"
# Sphinx = "^4.5.0"
# sphinx-rtd-theme = "^1.0.0"
# volttron-core = "^1.1.0"
python = ">=3.10,<4.0"

#volttron-core = {path="../volttron-core", develop = true}

[tool.poetry.group.dev.dependencies]
volttron-testing = {path = "../volttron-testing", develop = true}

# These will either be brought in elsewhere if you have a multi-project environment or uncomment locally to work
# against a specific path.
#volttron-lib-zmq = {path = "../volttron-lib-zmq", develop = true}
#volttron-lib-auth = {path = "../volttron-lib-auth", develop = true}


[tool.yapfignore]
ignore_patterns = [
2 changes: 1 addition & 1 deletion src/listener/agent.py
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@
from pprint import pformat
import datetime

from volttron.client.vip.agent.subsystems.configstore import VALID_ACTIONS
from volttron.utils.commands import vip_main
from volttron.client.messaging.health import STATUS_GOOD
from volttron.client.vip.agent import Agent, Core, PubSub
@@ -81,7 +82,6 @@ def onsetup(self, sender, **kwargs):
@Core.receiver('onstart')
def onstart(self, sender, **kwargs):
# TODO: Bring back version?
pass
#_log.debug("VERSION IS: {}".format(self.core.version()))
if self._heartbeat_period != 0:
_log.debug(f"Heartbeat starting for {self.core.identity} published every {self._heartbeat_period}")
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -30,4 +30,7 @@
if path.resolve() not in sys.path:
sys.path.insert(0, path.resolve().as_posix())

from volttrontesting.fixtures.volttron_platform_fixtures import *
from volttrontesting.fixtures import get_pyproject_toml
from volttrontesting.fixtures.volttron_platform_fixtures import volttron_instance


0 comments on commit 65e3d60

Please sign in to comment.