benjamin-hodgson / benjamin-hodgson/poll

import from collections will not work with Python 3.8

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Get warnings now
```
/usr/local/lib/python3.7/site-packages/poll/__init__.py:268: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
if isinstance(ex, collections.Iterable):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at poll/__init__.py around line 268, where the warning identifies use of collections.Iterable. Check the project’s supported Python versions and run its existing tests under Python 3.8; done means the deprecated import warning is gone and the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.