Azure / Azure/azure-devops-cli-extension
[Bug] dev_setup failes due to incompatible dependencies
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
**Describe the bug**
Last step of `dev_setup-py` failes with:
```
msal 1.0.0 requires PyJWT[crypto]<2,>=1.0.0, but you'll have pyjwt 2.0.0a1 which is incompatible.
azure-cli-core 2.14.2 requires azure-mgmt-core==1.2.0, but you'll have azure-mgmt-core 1.2.1 which is incompatible.
```
More details:
```
....
Executing: pip install --upgrade --target /home/iridias/.azure/devcliextensions/azure-devops /home/iridias/projects/azure-devops-cli-extension/azure-devops
Processing ./azure-devops
Collecting distro==1.3.0
Using cached distro-1.3.0-py2.py3-none-any.whl (16 kB)
Collecting python-dateutil==2.7.3
Using cached python_dateutil-2.7.3-py2.py3-none-any.whl (211 kB)
Collecting msrest<0.7.0,>=0.6.0
Downloading msrest-0.6.19-py2.py3-none-any.whl (84 kB)
|████████████████████████████████| 84 kB 1.3 MB/s
Collecting six>=1.5
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting requests~=2.16
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 819 kB/s
Collecting certifi>=2017.4.17
Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 5.5 MB/s
Collecting isodate>=0.6.0
Using cached isodate-0.6.0-py2.py3-none-any.whl (45 kB)
Collecting requests-oauthlib>=0.5.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 5.3 MB/s
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Building wheels for collected packages: azure-devops
Building wheel for azure-devops (setup.py) ... done
Created wheel for azure-devops: filename=azure_devops-0.19.0-py2.py3-none-any.whl size=1397965 sha256=0e5ff9bb13b20983696548e846b1927f36a04e0c2d1ad002fd630f3108a4c16d
Stored in directory: /home/iridias/.cache/pip/wheels/f6/bd/ee/9f85c496de6db3361c8877fa574ee825d882774400f47816ba
Successfully built azure-devops
Installing collected packages: distro, six, python-dateutil, certifi, urllib3, chardet, idna, requests, isodate, oauthlib, requests-oauthlib, msrest, azure-devops
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
msal 1.0.0 requires PyJWT[crypto]<2,>=1.0.0, but you'll have pyjwt 2.0.0a1 which is incompatible.
azure-cli-core 2.14.2 requires azure-mgmt-core==1.2.0, but you'll have azure-mgmt-core 1.2.1 which is incompatible.
Successfully installed azure-devops-0.19.0 certifi-2020.11.8 chardet-3.0.4 distro-1.3.0 idna-2.10 isodate-0.6.0 msrest-0.6.19 oauthlib-3.1.0 python-dateutil-2.7.3 requests-2.24.0 requests-oauthlib-1.3.0 six-1.15.0 urllib3-1.25.11
```
**To Reproduce**
Azure Cli Version: 2.9.1
Azure-Devops extension version: master branch
Steps to reproduce the behavior:
Follow the steps in `dev_setup.md`
**Expected behavior**
Dependencies should be up2date and resolve without issues.
**Debug logs**
see above
**Additional context**
Arch Linux
Python 3.8.6
Contributor guide
Assessment
This issue has not been assessed yet.