From 58f5523ccf96c4b9201d382e2997216c0f3cef55 Mon Sep 17 00:00:00 2001 From: abhishekram Date: Wed, 12 Jun 2019 15:59:07 +0530 Subject: [PATCH] Bump version to 1.2.0 --- CHANGELOG.md | 10 ++++++++++ pyas2lib/__init__.py | 12 +++++++----- setup.py | 3 +-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9781838..b80993f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.2.0 - 2019-06-12 + +* Use f-strings for string formatting. +* Use HTTP email policy for flattening email messages. +* Add proper support for other encryption algos. +* Use dataclasses for organization and partner. +* Remove support for python 3.5. +* Add utility function for extracting info from certificates. + + ## 1.1.1 - 2019-06-03 * Remove leftover print statement. diff --git a/pyas2lib/__init__.py b/pyas2lib/__init__.py index eefd495..1cc0a5e 100644 --- a/pyas2lib/__init__.py +++ b/pyas2lib/__init__.py @@ -1,13 +1,15 @@ -from pyas2lib.as2 import DIGEST_ALGORITHMS -from pyas2lib.as2 import ENCRYPTION_ALGORITHMS -from pyas2lib.as2 import MDN_CONFIRM_TEXT -from pyas2lib.as2 import MDN_FAILED_TEXT +from pyas2lib.constants import ( + DIGEST_ALGORITHMS, + ENCRYPTION_ALGORITHMS, + MDN_CONFIRM_TEXT, + MDN_FAILED_TEXT +) from pyas2lib.as2 import Mdn from pyas2lib.as2 import Message from pyas2lib.as2 import Organization from pyas2lib.as2 import Partner -__version__ = '1.1.1' +__version__ = '1.2.0' __all__ = [ diff --git a/setup.py b/setup.py index e58394b..bb77d41 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ 'pytest==3.4.0', 'pytest-cov==2.5.1', 'coverage==4.3.4', - 'nose', ] setup( @@ -27,7 +26,7 @@ long_description="Docs for this project are maintained at " "https://github.com/abhishek-ram/pyas2-lib/blob/" "master/README.md", - version='1.1.1', + version='1.2.0', author="Abhishek Ram", author_email="abhishek8816@gmail.com", packages=find_packages(