Advertisement
alisonamerico

pip is looking at multiple versions

Nov 30th, 2020
2,697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.97 KB | None | 0 0
  1. CCG on  develop [!?] via 🐍 v3.8.6 took 1m36s
  2. ❯ docker-compose build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa_conceptu)";              
  3. WARNING: The SSH_PRIVATE_KEY variable is not set. Defaulting to a blank string.
  4. pgdb uses an image, skipping
  5. redis uses an image, skipping
  6. Building django
  7. Step 1/25 : FROM python:3.6
  8.  ---> 85146760634c
  9. Step 2/25 : ENV PYTHONUNBUFFERED 1
  10.  ---> Using cache
  11.  ---> 06f77f60fb62
  12. Step 3/25 : ENV PYTHONDONTWRITEBYTECODE=1
  13.  ---> Using cache
  14.  ---> 27de35367d4f
  15. Step 4/25 : ENV PIP_NO_CACHE_DIR=off
  16.  ---> Using cache
  17.  ---> 6065e12d2be6
  18. Step 5/25 : ENV PIP_DISABLE_PIP_VERSION_CHECK=on
  19.  ---> Using cache
  20.  ---> 42a9d2f5208a
  21. Step 6/25 : ENV PIP_DEFAULT_TIMEOUT=100
  22.  ---> Using cache
  23.  ---> 37666d47cb4a
  24. Step 7/25 : ARG SSH_PRIVATE_KEY
  25.  ---> Using cache
  26.  ---> 0854ec5dcab0
  27. Step 8/25 : WORKDIR /root/temp
  28.  ---> Using cache
  29.  ---> 171ba66a66d4
  30. Step 9/25 : RUN apt-get update && apt-get -y install libtiff5-dev libjpeg62-turbo-dev zlib1g-dev unzip  liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk gettext redis-server binutils libproj-dev gdal-bin yum alien tesseract-ocr libtesseract-dev poppler-utils python-dev python-pip python-virtualenv libpq-dev libgdal-dev libgeos-dev libproj-dev libspatialite-dev libxss1 libappindicator1 libindicator7 libtiff5-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk gettext libpq-dev nginx memcached build-essential redis-server redis-tools python-setuptools python-dev python-pip python3 python3-doc python3-pip  sqlite3 libsqlite3-dev python3-dev python3-setuptools
  31.  ---> Using cache
  32.  ---> 3f6c0bca4e00
  33. Step 10/25 : RUN wget https://raw.githubusercontent.com/tesseract-ocr/tessdata/master/por.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata/
  34.  ---> Using cache
  35.  ---> 7ec7e612e56a
  36. Step 11/25 : RUN mkdir /root/.ssh/
  37.  ---> Using cache
  38.  ---> b08be8f98441
  39. Step 12/25 : RUN echo "${SSH_PRIVATE_KEY}" > /root/.ssh/id_rsa
  40.  ---> Using cache
  41.  ---> 6b19fb89a2c3
  42. Step 13/25 : RUN chmod 600 /root/.ssh/id_rsa
  43.  ---> Using cache
  44.  ---> 4c976c556ff1
  45. Step 14/25 : RUN touch /root/.ssh/known_hosts
  46.  ---> Using cache
  47.  ---> 60b51a435905
  48. Step 15/25 : RUN ssh-keyscan gitlab.conceptu.ind.br >> /root/.ssh/known_hosts
  49.  ---> Using cache
  50.  ---> c2b264cc4fb9
  51. Step 16/25 : RUN ssh-keyscan dash-test.wattpanel.com >> /root/.ssh/known_hosts
  52.  ---> Using cache
  53.  ---> b8f6f1f33458
  54. Step 17/25 : RUN mkdir -p /app
  55.  ---> Using cache
  56.  ---> 1c30a2b47e3e
  57. Step 18/25 : WORKDIR /app
  58.  ---> Using cache
  59.  ---> c4086f488e54
  60. Step 19/25 : RUN python -m pip install --upgrade pip
  61.  ---> Using cache
  62.  ---> 04f4e8d2bd3d
  63. Step 20/25 : RUN mkdir /app/requirements
  64.  ---> Using cache
  65.  ---> f3233a9d0eaf
  66. Step 21/25 : COPY requirements/local.txt /app/requirements/
  67.  ---> Using cache
  68.  ---> e234cc333abf
  69. Step 22/25 : COPY requirements/base.txt /app/requirements/
  70.  ---> Using cache
  71.  ---> 0055c600d579
  72. Step 23/25 : COPY requirements/test.txt /app/requirements/
  73.  ---> Using cache
  74.  ---> 1d3e2893e562
  75. Step 24/25 : RUN pip install -r requirements/local.txt
  76.  ---> Running in dce0a557da69
  77. Requirement already satisfied: wheel==0.35.1 in /usr/local/lib/python3.6/site-packages (from -r requirements/base.txt (line 2)) (0.35.1)
  78. Obtaining billwatt_backend from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/billwatt_backend.git@3a76b5096b0392d2cf234b3ce99a5e7347756027#egg=billwatt_backend (from -r requirements/base.txt (line 100))
  79.   Cloning ssh://****@gitlab.conceptu.ind.br/wattpanel/billwatt_backend.git (to revision 3a76b5096b0392d2cf234b3ce99a5e7347756027) to ./src/billwatt-backend
  80. Obtaining bill_core from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/bill_core.git@47478e937e58b4b83773ab91e2a562aee4e06960#egg=bill_core (from -r requirements/base.txt (line 101))
  81.   Cloning ssh://****@gitlab.conceptu.ind.br/wattpanel/bill_core.git (to revision 47478e937e58b4b83773ab91e2a562aee4e06960) to ./src/bill-core
  82. Obtaining scrapy_utils from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb#egg=scrapy_utils (from -r requirements/base.txt (line 102))
  83.   Cloning ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git (to revision 2c5c4139878da555f29b547be1bd9ec5b21210eb) to ./src/scrapy-utils
  84. Obtaining watt-utils from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/watt-utils.git@6#egg=watt-utils (from -r requirements/base.txt (line 103))
  85.   Cloning ssh://****@gitlab.conceptu.ind.br/wattpanel/watt-utils.git (to revision 6) to ./src/watt-utils
  86. Requirement already satisfied: wheel==0.35.1 in /usr/local/lib/python3.6/site-packages (from -r requirements/base.txt (line 2)) (0.35.1)
  87. Collecting argon2-cffi==18.1.0
  88.   Downloading argon2_cffi-18.1.0-cp36-cp36m-manylinux1_x86_64.whl (94 kB)
  89. Collecting awesome-slugify==1.6.5
  90.   Downloading awesome-slugify-1.6.5.tar.gz (8.4 kB)
  91. Collecting beautifulsoup4==4.6.0
  92.   Downloading beautifulsoup4-4.6.0-py3-none-any.whl (86 kB)
  93. Requirement already satisfied: wheel==0.35.1 in /usr/local/lib/python3.6/site-packages (from -r requirements/base.txt (line 2)) (0.35.1)
  94. Collecting scrapy_utils@ git+ssh://git@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb
  95.   Cloning ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git (to revision 2c5c4139878da555f29b547be1bd9ec5b21210eb) to /tmp/pip-install-zrzuhabg/scrapy-utils_52adf29f80af430881dde95e47db3f59
  96. INFO: pip is looking at multiple versions of beautifulsoup4 to determine which version is compatible with other requirements. This could take a while.
  97. INFO: pip is looking at multiple versions of awesome-slugify to determine which version is compatible with other requirements. This could take a while.
  98. INFO: pip is looking at multiple versions of argon2-cffi to determine which version is compatible with other requirements. This could take a while.
  99. ERROR: Cannot install -r requirements/base.txt (line 101) and scrapy-utils 0.1 (from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb#egg=scrapy_utils) because these package versions have conflicting dependencies.
  100.  
  101. The conflict is caused by:
  102.     The user requested scrapy-utils 0.1 (from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb#egg=scrapy_utils)
  103.     The user requested scrapy-utils 0.1 (from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb#egg=scrapy_utils)
  104.     bill-core 0.6.1 depends on scrapy-utils 0.1 (from git+ssh://****@gitlab.conceptu.ind.br/wattpanel/scrapy_utils.git@2c5c4139878da555f29b547be1bd9ec5b21210eb)
  105.  
  106. To fix this you could try to:
  107. 1. loosen the range of package versions you've specified
  108. 2. remove package versions to allow pip attempt to solve the dependency conflict
  109.  
  110. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
  111. ERROR: Service 'django' failed to build : The command '/bin/sh -c pip install -r requirements/local.txt' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement