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

botocore & elasticsearch force upper bound on urllib3 version #6777

Open
achave11-ucsc opened this issue Dec 19, 2024 · 1 comment
Open

botocore & elasticsearch force upper bound on urllib3 version #6777

achave11-ucsc opened this issue Dec 19, 2024 · 1 comment
Labels
-- [priority] Low debt [type] A defect incurring continued engineering cost infra [subject] Project infrastructure like CI/CD, build and deployment scripts orange [process] Done by the Azul team

Comments

@achave11-ucsc
Copy link
Member

achave11-ucsc commented Dec 19, 2024

… which causes the make requirements_update target to fail if the urlib3 requirement is updated to version 2.x.x or later.

INFO: pip is looking at multiple versions of elasticsearch to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 5), -r requirements.txt (line 8) and urllib3==2.2.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==2.2.3
    botocore 1.35.84 depends on urllib3!=2.2.0, <3 and >=1.25.4; python_version >= "3.10"
    elasticsearch 7.17.12 depends on urllib3<2 and >=1.21.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
make: *** [Makefile:34: requirements_runtime_deps] Error 1
@achave11-ucsc achave11-ucsc added the orange [process] Done by the Azul team label Dec 19, 2024
@achave11-ucsc achave11-ucsc changed the title Python dependencies, botocore & elasticsearch set upper bound limit on urllib3 Python dependencies, botocore & elasticsearch set upper bound limit on urllib3 version Dec 19, 2024
@hannes-ucsc hannes-ucsc changed the title Python dependencies, botocore & elasticsearch set upper bound limit on urllib3 version botocore & elasticsearch dependencies set upper bound on urllib3 version Dec 20, 2024
@hannes-ucsc hannes-ucsc changed the title botocore & elasticsearch dependencies set upper bound on urllib3 version botocore & elasticsearch set upper bound on urllib3 version Dec 20, 2024
@hannes-ucsc hannes-ucsc changed the title botocore & elasticsearch set upper bound on urllib3 version botocore & elasticsearch force upper bound on urllib3 version Dec 20, 2024
@achave11-ucsc
Copy link
Member Author

@hannes-ucsc: "The bound for botocore is not problematic because is <3 and version 3 of urllib3 has yet to be released. The bound for elasticsearch is <2, which is more problematic. We're still using elasticsearch 7.x and until we update to 8.x (#6779) the bound is likely to remain an issue. Version 8.x extended the bound to <3 (via transitive dependency elastic-transport)."

@achave11-ucsc achave11-ucsc added infra [subject] Project infrastructure like CI/CD, build and deployment scripts debt [type] A defect incurring continued engineering cost -- [priority] Low labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-- [priority] Low debt [type] A defect incurring continued engineering cost infra [subject] Project infrastructure like CI/CD, build and deployment scripts orange [process] Done by the Azul team
Projects
None yet
Development

No branches or pull requests

1 participant