[BUG] Versioning conflict urllib3
envgap__opensearch-project__opensearch-py-464
01 / FAILURE SIGNATURE
As reported upstream
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.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
1532b06ec2adeecbf28c78fe67f463a67179a1a7- Manifest
setup.py- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
opensearch-project/opensearch-py #464 · read the original issue
### 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` ```python 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](https://github.com/opensearch-project/opensearch-py/files/12229083/install.log) [client_init.log](https://github.com/opensearch-project/opensearch-py/files/12229084/client_init.log)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]