From 6641fb7619bf83c82ee7e5586143bf691af5c460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 9 Dec 2024 21:30:10 +0100 Subject: [PATCH] chg: [RELEASE] Updated PyVulnerabilityLookup and bumped version number. --- fedivuln/publish.py | 6 +++--- poetry.lock | 6 +++--- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fedivuln/publish.py b/fedivuln/publish.py index c495df7..9c40079 100644 --- a/fedivuln/publish.py +++ b/fedivuln/publish.py @@ -86,9 +86,9 @@ def listen_to_http_event_stream(url, headers=None, params=None, topic="comment") try: # Attempt to parse the data as JSON message = json.loads(data_line) - # print("Received JSON message:") - # print(message) - publish(create_status_content(message, topic)) + print("Received JSON message:") + print(message) + # publish(create_status_content(message, topic)) except json.JSONDecodeError: # Handle plain text messages print(f"Received plain message: {data_line}") diff --git a/poetry.lock b/poetry.lock index 000f692..4918210 100644 --- a/poetry.lock +++ b/poetry.lock @@ -438,13 +438,13 @@ files = [ [[package]] name = "pyvulnerabilitylookup" -version = "2.1.0" +version = "2.2.0" description = "Python CLI and module for Vulnerability Lookup" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "pyvulnerabilitylookup-2.1.0-py3-none-any.whl", hash = "sha256:03ceb06363e280ba0a695b1e1688567d7aa7a73fbfc8af0561902f0ccba136dd"}, - {file = "pyvulnerabilitylookup-2.1.0.tar.gz", hash = "sha256:d2b8989e136ae478db4502731f2e52a45987e8f2ba71250f2116ec32878d0d7e"}, + {file = "pyvulnerabilitylookup-2.2.0-py3-none-any.whl", hash = "sha256:27acef0e4fb1fad301c1a4c403de0fe6f06dcd2d12234eb2f63d2f737a7475a7"}, + {file = "pyvulnerabilitylookup-2.2.0.tar.gz", hash = "sha256:cdf56157cf9df013e2131ed3c03029e9e9be9211d4cf4097b2999448b6d6fec3"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index 17f419c..09f58fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "FediVuln" -version = "0.5.0" +version = "0.5.1" description = "A client to gather vulnerability-related information from the Fediverse." authors = ["Cédric Bonhomme "] license = "GPL-3.0-or-later"