Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Importing ABC from collections has been deprecated and will be removed in Python 3.10

Open Beginner friendly
#454 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
testing

Research direction

Start with xblock/test/test_user_service.py at lines 36 and 39, where the deprecated collections ABCs are used. Run the focused test file and confirm the compatibility issue is addressed for Python 3.10 while the user-service assertions still pass.

Written by the indexing model from the issue text.

Description

xblock/test/test_user_service.py
36:    assert isinstance(current_user.emails, collections.Iterable)
39:    assert isinstance(current_user.opt_attrs, collections.Mapping)
Dominant language
Python
Stars
470
Forks
231
Avg merge
21h 8m
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/XBlock

All issues in openedx/XBlock

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.