Skip to content

Commit

Permalink
set the requirement for dataclasses correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekram committed Apr 12, 2020
1 parent 6885125 commit 241ca9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release History

## 1.3.1 - 2020-04-12
* Use correct format for setting dataclasses requirement for python 3.6

## 1.3.0 - 2020-04-05
* Fix and update the SMIME capabilities in the Signed attributes of a signature
* Update the versions of crypto dependencies and related changes
Expand Down
2 changes: 1 addition & 1 deletion pyas2lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pyas2lib.as2 import Organization
from pyas2lib.as2 import Partner

__version__ = "1.3.0"
__version__ = "1.3.1"


__all__ = [
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import sys
from setuptools import setup, find_packages

install_requires = [
"asn1crypto==1.3.0",
"oscrypto==1.2.0",
"pyOpenSSL==19.1.0",
"dataclasses==0.7;python_version=='3.6'",
]

if sys.version_info.minor == 6:
install_requires += ["dataclasses==0.7"]

tests_require = [
"pytest==5.4.1",
"pytest-cov==2.8.1",
Expand All @@ -26,7 +23,7 @@
long_description="Docs for this project are maintained at "
"https://github.com/abhishek-ram/pyas2-lib/blob/"
"master/README.md",
version="1.3.0",
version="1.3.1",
author="Abhishek Ram",
author_email="[email protected]",
packages=find_packages(where=".", exclude=("test*",)),
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ envlist = py36, py37, py38
[testenv]
commands = {envpython} setup.py test
deps =

0 comments on commit 241ca9d

Please sign in to comment.