Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package name is conflicting with google_api_python_client #88

Open
pfouque opened this issue Jan 16, 2023 · 0 comments
Open

Package name is conflicting with google_api_python_client #88

pfouque opened this issue Jan 16, 2023 · 0 comments

Comments

@pfouque
Copy link

pfouque commented Jan 16, 2023

Describe the bug
When you install this library and google_api_python_client, the init.py is overridden by google_api_python_client, and you can't import anything from root folder
Google's one is probably here for retro compatibility, but it's conflicting with this (really generic) library's folder name.

To Reproduce
Steps to reproduce the behavior:

  1. Install api-client and google-api-python-client
  2. import anything from api_client
  3. See errors

Expected behavior

Import from init like in the documentation.

Screenshots

  • .venv/lib/python3.10/site-packages/api_client-1.3.1.dist-info/RECORD
    apiclient/init.py,sha256=OG83djdXgEeSQ5gpEAHq2EjvwmBYeD3h00xwN1R2IlE,551

  • .venv/lib/python3.10/site-packages/google_api_python_client-2.72.0.dist-info/RECORD
    apiclient/__init__.py,sha256=U1SOZ1GeeF3uCr0fzO5Od-rpe17R12-Ppyq25NTSbow,746

Versions (please complete the following information):

  • Python version: 3.10
  • API Client version: 1.3.1
  • Dependency versions:

Additional context
Unfortunately, the only solution I see is to rename the folder...(and why not the project).
the name doesn't help to find this library, and adding some words in the name would improve SEO
(api-client-toolkit, request-api-client, rest-api-client, ...)

PS: I love what you do with this library, It makes creating rest-client so DRY!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant