Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/v11 test updates #21

Merged
merged 9 commits into from
Oct 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup and bump of version.
craig8 committed Oct 23, 2024
commit 65e3d6051281869c1cdb4618008b412ab803b1ab
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