kytos / maintenance

Kytos Maintenance Window NApp
0 stars 12 forks source link

Unit tests are failing: could not install deps due to version conflict #24

Closed italovalcy closed 3 years ago

italovalcy commented 3 years ago

Hi Kytos team,

I'm running unit tests for maintenance using gitlab-ci and the following commands:

  image: python:3.6
  script:
    - apt-get update -y && apt-get upgrade -y
    - pip install --upgrade pip tox==3.14.6
    - git config --global url."https://github.com".insteadOf git://github.com
    - git clone https://github.com/kytos/$PROJECT
    - cd $PROJECT
    - tox

The test is failing with the following error:

ERROR: Cannot install -r requirements/dev.txt (line 7) and click==6.7 because these package versions have conflicting dependencies.
245The conflict is caused by:
246    The user requested click==6.7
247    kytos 2020.2 depends on click==7.1.1
248To fix this you could try to:
2491. loosen the range of package versions you've specified
2502. remove package versions to allow pip attempt to solve the dependency conflict
251