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

Import problem

Open
#583 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, python

Research direction

Start by reproducing the import from source/tests/conftest.py with the documented Python 3.9 Docker image and Firebase SDK version. Trace the dependency imports through firebase_admin.auth, httplib2, and pyparsing to identify the incompatibility; done means the import completes without the reported AttributeError.

Written by the indexing model from the issue text.

Description

api: auth
  • Operating System version: docker image python:3.9 (debian bullseye)
  • Firebase SDK version: firebase_admin-5.0.3
  • Firebase Product: auth
  • Python version: 3.9
  • Pip version: 21.2.4
Steps to reproduce:

Hello everyone!
I've got some import problem while importing auth module today:

source/tests/conftest.py:7: in <module>
    import firebase_admin.auth
/usr/local/lib/python3.9/site-packages/firebase_admin/auth.py:22: in <module>
    from firebase_admin import _auth_client
/usr/local/lib/python3.9/site-packages/firebase_admin/_auth_client.py:20: in <module>
    from firebase_admin import _auth_providers
/usr/local/lib/python3.9/site-packages/firebase_admin/_auth_providers.py:21: in <module>
    from firebase_admin import _auth_utils
/usr/local/lib/python3.9/site-packages/firebase_admin/_auth_utils.py:23: in <module>
    from firebase_admin import _utils
/usr/local/lib/python3.9/site-packages/firebase_admin/_utils.py:23: in <module>
    import httplib2
/usr/local/lib/python3.9/site-packages/httplib2/__init__.py:52: in <module>
    from . import auth
/usr/local/lib/python3.9/site-packages/httplib2/auth.py:20: in <module>
    auth_param_name = token.copy().setName("auth-param-name").addParseAction(pp.downcaseTokens)
E   AttributeError: module 'pyparsing' has no attribute 'downcaseTokens'
Relevant Code:
import firebase_admin.auth
Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
3d 9h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

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 firebase/firebase-admin-python

All issues in firebase/firebase-admin-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.