youknowone / itunes-iap

Apple iTunes In-app purchase verification tool
http://itunes-iap.readthedocs.io
Other
136 stars 50 forks source link

On python 3.4 asyncio.coroutines will traceback with AttributeError … #46

Closed MihaiBalint closed 7 years ago

MihaiBalint commented 7 years ago

…so use the alternative requests.

Traceback (most recent call last): File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/my_project/iap.py", line 6, in import itunesiap File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/itunesiap/init.py", line 13, in from .request import Request File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/itunesiap/request.py", line 6, in from itunesiap.verify_aiohttp import AiohttpVerify File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/itunesiap/verify_aiohttp.py", line 3, in import aiohttp File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/aiohttp/init.py", line 6, in from .client import * # noqa File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/aiohttp/client.py", line 15, in from . import connector as connector_mod File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/aiohttp/connector.py", line 13, in from . import hdrs, helpers File "/home/silver/.local/share/virtualenvs/silver/lib/python3.4/site-packages/aiohttp/helpers.py", line 142, in coroutines = asyncio.coroutines AttributeError: 'module' object has no attribute 'coroutines'

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 95.313% when pulling d9862e6e48da10a6bf9df442d0041d1ae471b40b on MihaiBalint:master into b7017b8b2cc20b7386c4e587b92b0383a4c06994 on youknowone:master.

codecov[bot] commented 7 years ago

Codecov Report

Merging #46 into master will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   95.31%   95.31%           
=======================================
  Files          10       10           
  Lines         448      448           
=======================================
  Hits          427      427           
  Misses         21       21
youknowone commented 7 years ago

It looks a little bit weird. On the previous test, 3.4 passed asyncio test: https://travis-ci.org/youknowone/itunes-iap/jobs/259505612

Is this because moduel problem? (e.g asyncio is not installed)

MihaiBalint commented 7 years ago

Debian jessie and Ubuntu 14.04 only ship python 3.4.0 which does not include asyncio.