Closed NeolithEra closed 4 years ago
Fix your direct dependencies to be chardet>=3.0.2,<3.1.0 and requests==0.22.0, to remove this conflict. I have checked this revision will not affect your downstream projects now.
Remove your direct dependency chardet, and use the library chardet transitively introduced by requests.
Personally, I prefer solution 2. What's your opinion?
@johnnykv May I pull a request to solve this issue?
Feel free to create a PR
Merged
Hi, as shown in the following full dependency graph of glastopf, glastopf requires chardet (the latest version), while the installed version of requests(2.22.0) requires chardet>=3.0.2,<3.1.0.
According to Pip's “first found wins” installation strategy, chardet 3.0.4 is the actually installed version.
Although the first found package version chardet 3.0.4 just satisfies the later dependency constraint (chardet>=3.0.2,<3.1.0), it will lead to a build failure once developers release a newer version of chardet in the near future, which is greater than 3.1.0.
Dependency tree--------
Thanks for your attention. Best, Neolith