best-byte-73775
07/11/2024, 11:38 AMpants export --resolve="['airflow', 'cdk', 'default']" --export-py-resolve-format=symlinked_immutable_virtualenv
pants generate-lockfiles
I encounter a dependency conflict between tableauserverclient
and botocore
.
Issue Details:
• tableauserverclient
0.29 requires urllib3==2.0.7
• botocore
1.33.13 requires urllib3<1.27 and >=1.25.4
This conflict is causing significant disruptions in our workflows and development processes.
I would appreciate any guidance or suggestions on how to best resolve this dependency conflict while ensuring compatibility with MWAA 2.81acoustic-librarian-29560
07/11/2024, 12:42 PMbotocore
dependency coming from? You may want to consider using the botocore
version defined in the constraints file you linked. botocore==1.33.13
best-byte-73775
07/11/2024, 12:44 PMbotocore==1.33.13
on my requirementsbest-byte-73775
07/11/2024, 12:46 PMacoustic-librarian-29560
07/11/2024, 12:57 PMbest-byte-73775
07/11/2024, 1:16 PMbetter-van-82973
07/11/2024, 5:00 PMbotocore
has significantly more lenient requirements on the dependencies, which should help here:
poetry show botocore
name : botocore
version : 1.34.143
description : Low-level, data-driven core of boto 3.
dependencies
- jmespath >=0.7.1,<2.0.0
- python-dateutil >=2.1,<3.0.0
- urllib3 >=1.25.4,<2.2.0 || >2.2.0,<3
Regardless, the fact that tableauserverclient
hard-pins to a specific patch version makes this challenging for resolution in general, especially given how widely used urllib3
isbest-byte-73775
07/12/2024, 11:11 AMtableauserverclient==0.29
is a requirement in order for my upgrade to be successfulbest-byte-73775
07/12/2024, 11:11 AM