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

[BUG] Versioning conflict urllib3 #464

Closed
boehb-efs opened this issue Aug 1, 2023 · 0 comments · Fixed by #466
Closed

[BUG] Versioning conflict urllib3 #464

boehb-efs opened this issue Aug 1, 2023 · 0 comments · Fixed by #466
Labels
bug Something isn't working

Comments

@boehb-efs
Copy link

boehb-efs commented Aug 1, 2023

What is the bug?

When I start my script, which uses opensearch-py 2.2.0 (same with 2.3.0) and python-keycloak (version 2.16.3), I get an error, that urllib3 2.0.4 is not found.
No such file or directory: '/opt/conda/lib/python3.11/site-packages/urllib3-2.0.4.dist-info/METADATA'
Is there a (conscious) reason, that opensearch-py prevents from using urllib3 >= 2?
https://github.com/opensearch-project/opensearch-py/blob/1532b06ec2adeecbf28c78fe67f463a67179a1a7/setup.py#L53C1-L53C1

This can easily lead to conflicts with other libraries!

How can one reproduce the bug?

python -m pip install superb-data-klient

import superbdataklient as sdk

client = sdk.SDKClient(env='sdk-dev')

However it appears to run, if executed a second time.

What is the expected behavior?

No versioning conflicts.

Do you have any screenshots?

Further informations see attachments.
install.log
client_init.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants