markdown-to-confluence icon indicating copy to clipboard operation
markdown-to-confluence copied to clipboard

Dependencies conflict

Open rtrana opened this issue 3 years ago • 0 comments

When trying to use the Docker image, the requirements fail to install because of a dependency issue between the versions of urllib3 and requests:

[5/6] RUN pip install --no-cache-dir -r requirements.txt:
#9 1.265 Collecting certifi==2019.9.11
#9 1.384 Downloading certifi-2019.9.11-py2.py3-none-any.whl (154 kB)
#9 1.427 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.4/154.4 kB 3.7 MB/s eta 0:00:00
#9 1.458 Collecting chardet==3.0.4
#9 1.484 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) #9 1.491 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 23.6 MB/s eta 0:00:00 #9 1.537 Collecting gitdb2==2.0.6 #9 1.565 Downloading gitdb2-2.0.6-py2.py3-none-any.whl (63 kB) #9 1.567 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.0/64.0 kB 225.9 MB/s eta 0:00:00 #9 1.603 Collecting GitPython==3.0.4 #9 1.638 Downloading GitPython-3.0.4-py3-none-any.whl (454 kB) #9 1.666 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 454.6/454.6 kB 18.7 MB/s eta 0:00:00 #9 1.692 Collecting idna==2.8 #9 1.712 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) #9 1.713 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 kB 338.6 MB/s eta 0:00:00 #9 1.739 Collecting mistune==0.8.4 #9 1.762 Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB) #9 1.805 Collecting PyYAML==5.4 #9 1.830 Downloading PyYAML-5.4.tar.gz (174 kB) #9 1.836 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 174.8/174.8 kB 40.4 MB/s eta 0:00:00 #9 1.918 Installing build dependencies: started #9 3.600 Installing build dependencies: finished with status 'done' #9 3.601 Getting requirements to build wheel: started #9 4.209 Getting requirements to build wheel: finished with status 'done' #9 4.212 Preparing metadata (pyproject.toml): started #9 4.351 Preparing metadata (pyproject.toml): finished with status 'done' #9 4.390 Collecting requests==2.22.0 #9 4.409 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) #9 4.411 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 247.4 MB/s eta 0:00:00 #9 4.434 Collecting smmap2==2.0.5 #9 4.454 Downloading smmap2-2.0.5-py2.py3-none-any.whl (24 kB) #9 4.504 Collecting textwrap3==0.9.2 #9 4.528 Downloading textwrap3-0.9.2-py2.py3-none-any.whl (12 kB) #9 4.576 Collecting urllib3==1.26.5 #9 4.596 Downloading urllib3-1.26.5-py2.py3-none-any.whl (138 kB) #9 4.602 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.1/138.1 kB 26.8 MB/s eta 0:00:00 #9 4.636 Collecting yapf==0.28.0 #9 4.657 Downloading yapf-0.28.0-py2.py3-none-any.whl (180 kB) #9 4.663 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 180.4/180.4 kB 36.0 MB/s eta 0:00:00 #9 4.683 INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while. #9 4.683 INFO: pip is looking at multiple versions of mistune to determine which version is compatible with other requirements. This could take a while. #9 4.683 INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while. #9 4.683 INFO: pip is looking at multiple versions of gitpython to determine which version is compatible with other requirements. This could take a while. #9 4.683 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while. #9 4.684 INFO: pip is looking at multiple versions of gitdb2 to determine which version is compatible with other requirements. This could take a while. #9 4.684 INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while. #9 4.684 INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while. #9 4.684 ERROR: Cannot install -r requirements.txt (line 8) and urllib3==1.26.5 because these package versions have conflicting dependencies. #9 4.684 #9 4.684 The conflict is caused by: #9 4.684 The user requested urllib3==1.26.5 #9 4.684 requests 2.22.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1 #9 4.684 #9 4.684 To fix this you could try to: #9 4.684 1. loosen the range of package versions you've specified #9 4.684 2. remove package versions to allow pip attempt to solve the dependency conflict #9 4.684 #9 4.685 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts #9 4.781 #9 4.781 [notice] A new release of pip available: 22.2.1 -> 22.2.2 #9 4.781 [notice] To update, run: pip install --upgrade pip

rtrana avatar Aug 05 '22 22:08 rtrana