Bump version to 1.1.1 and document python2 is no longer supported (LP: #2008738)

This commit is contained in:
Scott Kitterman
2023-02-27 23:49:56 -05:00
parent 59e9dd2cb5
commit bf5ab32d55
3 changed files with 15 additions and 15 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
Version 1.1.0 Version 1.1.1
- Document dropping of Python 2 support (dropped as of 1.1.0) (LP:
#20086738)
2023-02-25 Version 1.1.0
- Add domain validity check for ascii domains (no specials) - Add domain validity check for ascii domains (no specials)
- Add option to specify index number of signature to verify to dkimverify - Add option to specify index number of signature to verify to dkimverify
(Thanks to Nick Baugh for the change) (Thanks to Nick Baugh for the change)
+8 -8
View File
@@ -13,7 +13,7 @@ https://tools.ietf.org/html/rfc6376
# VERSION # VERSION
This is dkimpy 1.1. This is dkimpy 1.1.1.
# REQUIREMENTS # REQUIREMENTS
@@ -24,12 +24,10 @@ extras_requires feature 'ARC' will add the extra dependencies needed for ARC.
Similarly, extras_requires feature 'asyncio' will add the extra dependencies Similarly, extras_requires feature 'asyncio' will add the extra dependencies
needed for asyncio. needed for asyncio.
- Python 2.x >= 2.7, or Python 3.x >= 3.5. Recent versions have not been - Python 3.x >= 3.5. Recent versions have not been on python3 < 3.4, but
tested on python < 2.7 or python3 < 3.4, but may still work on python2.6 may still work on earlier python3 versions.
and python 3.1 - 3.3. - dnspython or py3dns. dnspython is preferred if both are present and
- dnspython or pydns. dnspython is preferred if both are present and
installed to satisfy the DNS module requirement if neither are installed. installed to satisfy the DNS module requirement if neither are installed.
- argparse. Standard library in python2.7 and later.
- authres. Needed for ARC. - authres. Needed for ARC.
- PyNaCl. Needed for use of ed25519 capability. - PyNaCl. Needed for use of ed25519 capability.
- aiodns. Needed for asycnio (Requires python3.5 or later) - aiodns. Needed for asycnio (Requires python3.5 or later)
@@ -83,8 +81,10 @@ As of 0.6.0, all tests pass for both python2.7 and python3. The test suite
ships with test runners for dkimpy. After downloading the test suite, you ships with test runners for dkimpy. After downloading the test suite, you
can run the signing and validation tests like this: can run the signing and validation tests like this:
```python2.7 ./testarc.py sign runners/arcsigntest.py``` ```python3 ./testarc.py sign runners/arcsigntest.py```
```python2.7 ./testarc.py validate runners/arcverifytest.py``` ```python3 ./testarc.py validate runners/arcverifytest.py```
As ov version 1.1.0, python2.7 is no longer supported.
# USAGE # USAGE
+1 -5
View File
@@ -25,14 +25,11 @@ from setuptools import setup
import os import os
import sys import sys
version = "1.1" version = "1.1.1"
kw = {} # Work-around for lack of 'or' requires in setuptools. kw = {} # Work-around for lack of 'or' requires in setuptools.
try: try:
import DNS import DNS
if sys.version_info[0] == 2:
kw['install_requires'] = ['PyDNS']
else:
kw['install_requires'] = ['Py3DNS'] kw['install_requires'] = ['Py3DNS']
except ImportError: # If PyDNS is not installed, prefer dnspython except ImportError: # If PyDNS is not installed, prefer dnspython
kw['install_requires'] = ['dnspython>=1.16.0'] kw['install_requires'] = ['dnspython>=1.16.0']
@@ -73,7 +70,6 @@ setup(
'License :: DFSG approved', 'License :: DFSG approved',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Topic :: Communications :: Email :: Mail Transport Agents', 'Topic :: Communications :: Email :: Mail Transport Agents',
'Topic :: Communications :: Email :: Filters', 'Topic :: Communications :: Email :: Filters',