Open NeolithEra opened 4 years ago
@Kotaimen Which solution do you prefer, 1 or 2? Please let me know your choice. May I pull a request to solve this issue?
Hi @NeolithEra :
Thanks for pointing this out! However I'm still not getting why this will causes error, because awscfncli2
don't specify a required botocore
version, the requirements are set by boto3
, right? My bet is boto3
/s3transfer
/botocore
always have pretty good compatibility...
Hi, as shown in the following full dependency graph of awscfncli2, awscfncli2 requires *_botocore _ , while the installed version of boto3(1.10.23) requires _botocore >=1.13.23,<1.14.0**_.
According to Pip's “first found wins” installation strategy, botocore 1.13.23 is the actually installed version.
Although the first found package version botocore 1.13.23 just satisfies the later dependency constraint (botocore >=1.13.23,<1.14.0), it will lead to a build failure once developers release a newer version of botocore.
Dependency tree--------
Thanks for your attention. Best, Neolith