aiohttp: RuntimeWarning: coroutine 'noop' was never awaited (4.0.0a1-py3.6 / 3.6.2-py3.8)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with setup.py and the WebClient API call path described in the report, then reproduce the warning using aiohttp >= 4.0 with Python 3.6. Compare the behavior against aiohttp 3.6.2 and determine whether the warning comes from the SDK or its dependency. Done means the affected WebClient calls no longer emit the reported RuntimeWarning with the supported dependency range.
Written by the indexing model from the issue text.
Description
Description
When using the lastest slackclient, which pulls in the aiohttp in setup.py with
install_requires=["aiohttp>3.5.2"],
Results in aiohttp version 4.0.0.a1. When using this version I noticed the following output when invoking the WebClient api calls, for example chat_postMessage
/Users/jeremy/venv/lib/python3.6/site-packages/aiohttp-4.0.0a1-py3.6-macosx-10.14-x86_64.egg/aiohttp/client.py:977: RuntimeWarning: coroutine 'noop' was never awaited
If I downgraded the version of aiohttp to < 4.0, I obtain version 3.6.2 . I no longer see the above issue when using this version.
I don't know if this issue rises to the level of a "bug" per-se since I don't see any issue in my app; and I believe this might just be a warning. Unsure. I did find this one related bug:
https://github.com/aio-libs/aiohttp/issues/4282.
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: 2.0
python version: 3.6.8
OS version(s): MacOS Mojave
Steps to reproduce:
- Use aiohttp >= 4.0
- Execute any WebClient api call
- observe the RuntimeWarning as noted
- Downgrade aiohttp < 4.0
- Re-execute any WEbClient api call
- Do not observe the RuntimeWarning.
Expected result:
Ideally be able to use the latest aiohttp library and not see this RuntimeWarning
Actual result:
Currently observing RuntimeWarning with aiohttp > 4.0
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
- Dominant language
- Python
- Stars
- 4k
- Forks
- 874
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 64
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/python-slack-sdk
-
`WebClient` raises `JSONDecodeError` instead of `SlackApiError` on a malformed JSON body when retry handlers are setPossibly taken @agustin18 claimed this 14 days ago. Openbug semver:major web-client
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
slackapi/python-slack-sdk#2070 ·
Maintainers usually reply within 1 day
-
SignatureVerifier.is_valid raises instead of returning False for a malformed timestamp, signature or bodyPossibly taken @AmyScript claimed this 13 days ago. Openbug security semver:patch
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
slackapi/python-slack-sdk#2067 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 42/100
slackapi/python-slack-sdk#2066 ·
Maintainers usually reply within 1 day
-
Add missing Web API methods that are documented on docs.slack.dev to WebClientPossibly taken @zimeg claimed this 20 days ago. Openenhancement web-client
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slackapi/python-slack-sdk#2014 · 2 comments · 2 reactions · 2 assignees ·
Maintainers usually reply within 1 day
-
Installation and Bot reject ISO 8601 timestamps with a negative UTC offset or a Z suffixPossibly taken @hello-ashleyintech claimed this 44 days ago. Openauto-triage-stale bug
slackapi/python-slack-sdk#1989 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in slackapi/python-slack-sdk
Similar issues
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getcommunityone/open-navigator#1658 ·
Maintainers usually reply within 1 day
-
review-panel severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kristovatlas/coin-accounting#636 ·
Maintainers usually reply within 1 day