gitbook2pdf
gitbook2pdf copied to clipboard
urllib3 v1.26.5 与 requests v2.22.0 依赖冲突
我看到依赖最近升级了 urllib3 的版本,从 1.25.3 -> 1.26.5
但是在构建的时候, requests 2.22.0 不兼容 1.26x
提示内容:
#5 280.8 ERROR: Cannot install -r /app/requirements.txt (line 18) and urllib3==1.26.5 because these package versions have conflicting dependencies.
#5 280.8
#5 280.8 The conflict is caused by:
#5 280.8 The user requested urllib3==1.26.5
#5 280.8 requests 2.22.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
#5 280.8
#5 280.8 To fix this you could try to:
#5 280.8 1. loosen the range of package versions you've specified
#5 280.8 2. remove package versions to allow pip attempt to solve the dependency conflict
#5 280.8
#5 280.8 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
提了PR:https://github.com/fuergaosi233/gitbook2pdf/pull/92