Skip to content

Commit

Permalink
0.9.7: rules expert: raise if intelmqmail cannot be imported
Browse files Browse the repository at this point in the history
and list intelmqmail as python package dependency
  • Loading branch information
wagner-intevation committed Jun 29, 2022
1 parent f2f2b9c commit 33e8d88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
intelmq-certbund-contact (0.9.7-1) unstable; urgency=medium

* rules expert: raise error if intelmqmail cannot be imported.
* list intelmqmail as dependency in python package.

-- Sebastian Wagner <[email protected]> Wed, 29 Jun 2022 15:46:40 +0200

intelmq-certbund-contact (0.9.6-2) unstable; urgency=medium

* Packaging: Try with --with-quilt in rules.
Expand Down
2 changes: 2 additions & 0 deletions intelmq/bots/experts/certbund_rules/expert.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
if 'unittest' in sys.modules:
import unittest
raise unittest.SkipTest("Importing intelmqmail.script failed.")
else:
raise

from intelmq.lib.bot import Bot
from intelmq_certbund_contact.rulesupport import Context
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
REQUIRES = [
'intelmq>=3.0.2',
'psycopg2',
'intelmqmail',
]

BOTS = []
Expand All @@ -24,7 +25,7 @@

setup(
name='intelmq_certbund_contact',
version="0.9.5",
version="0.9.7",
maintainer='Intevation GmbH',
maintainer_email='[email protected]',
python_requires='>=3.4',
Expand Down

0 comments on commit 33e8d88

Please sign in to comment.