This commit is contained in:
Sean Whalen
2018-07-18 10:55:01 -04:00
parent b97a6f5150
commit aed4d60ccb
5 changed files with 16 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
3.7.1
-----
- Require `elasticsearch>=6.3.0,<7.0.0` and `elasticsearch-dsl>=6.2.1,<7.0.0`
- Update for class changes in `elasticsearch-dsl` `6.2.0`
3.7.0
-----

View File

@@ -43,7 +43,7 @@ import imapclient.exceptions
import dateparser
import mailparser
__version__ = "3.7.0"
__version__ = "3.7.1"
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)

View File

@@ -38,8 +38,8 @@ class _SPFResult(InnerDoc):
class _AggregateReportDoc(DocType):
class Meta:
index = "dmarc_aggregate"
class Index:
name = "dmarc_aggregate"
xml_schema = Text()
org_name = Text()
@@ -134,8 +134,8 @@ class _ForensicSampleDoc(InnerDoc):
class _ForensicReportDoc(DocType):
class Meta:
index = "dmarc_forensic"
class Index:
name = "dmarc_forensic"
feedback_type = Text()
user_agent = Text()

View File

@@ -7,8 +7,8 @@ dnspython
imapclient
mail-parser
dateparser
elasticsearch
elasticsearch-dsl
elasticsearch>=6.3.0,<7.0.0
elasticsearch-dsl>=6.2.1,<7.0.0
flake8
sphinx
sphinx_rtd_theme

View File

@@ -14,7 +14,7 @@ from setuptools import setup
from codecs import open
from os import path
__version__ = "3.7.0"
__version__ = "3.7.1"
description = "A Python package and CLI for parsing aggregate and " \
"forensic DMARC reports"
@@ -93,7 +93,8 @@ setup(
# https://packaging.python.org/en/latest/requirements.html
install_requires=['dnspython', 'publicsuffix', 'xmltodict', 'geoip2',
'dnspython', 'imapclient', 'mail-parser', 'dateparser',
'elasticsearch', 'elasticsearch-dsl'
'elasticsearch>=6.3.0,<7.0.0',
'elasticsearch-dsl>=6.2.1,<7.0.0'
],
entry_points={