Skip to content

Commit

Permalink
switch to pep 440 parser (#226)
Browse files Browse the repository at this point in the history
* switch to pep 440 parser used by setuptools to support .dev0 versions
https://www.python.org/dev/peps/pep-0440/
  • Loading branch information
thehesiod authored May 22, 2017
1 parent 4ebe3b6 commit ddc514c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Changes
-------
0.3.3a0 (XXXX-XX-XX)
0.3.3 (2017-05-22)
^^^^^^^^^^^^^^^^^^
* switch to PEP 440 version parser to support 'dev' versions

0.3.2 (2017-05-22)
^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion aiobotocore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .session import get_session, AioSession

__all__ = ['get_session', 'AioSession']
__version__ = '0.3.3a0'
__version__ = '0.3.3'
4 changes: 2 additions & 2 deletions aiobotocore/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
from botocore.hooks import first_non_none_response
from botocore.utils import is_valid_endpoint_url
from botocore.vendored.requests.structures import CaseInsensitiveDict
from distutils.version import StrictVersion
from packaging.version import parse as parse_version
from multidict import MultiDict
from urllib.parse import urlparse

PY_35 = sys.version_info >= (3, 5)
AIOHTTP_2 = StrictVersion(aiohttp.__version__) > StrictVersion('2.0.0')
AIOHTTP_2 = parse_version(aiohttp.__version__) > parse_version('2.0.0')

# Monkey patching: We need to insert the aiohttp exception equivalents
# The only other way to do this would be to have another config file :(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


install_requires = ['botocore>=1.5.34, <=1.5.52', 'aiohttp>=2.0.4',
'multidict>=2.1.4', 'wrapt>=1.10.10']
'multidict>=2.1.4', 'wrapt>=1.10.10', 'packaging>=16.8']

PY_VER = sys.version_info

Expand Down

0 comments on commit ddc514c

Please sign in to comment.