-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
What happened before?
I guess it worked before. This is my first time trying out Django Shop.
What happens now?
Docker installation fails with error below.
P.S. I have tried changing django-cms to version 3.9 in the requirements.txt manually, and it fixes the issue. HOWEVER, there are other similar issues which arise. It appears that the requirements are outdated and conflicting on some packages. Installation is not possible.
Last stable commit / Since when?
Steps to reproduce
Basic build. Runserver configuration.
Ubuntu 22.04 LTS
Docker version 20.10.14, build a224086
docker-compose version 1.29.2, build 5becea4c
//: # (* Project generation options)
//: # (* Logs)
(base) ➜ demo-shop sudo docker-compose up --build -d
Building webapp
Sending build context to Docker daemon 1.627MB
Step 1/18 : FROM python:3.6.6
---> 8256ec07b2ad
Step 2/18 : LABEL Description="Blueprint for an e-commerce site based on django-SHOP" Maintainer="Yakov Boyko"
---> Using cache
---> 85ddf02f38f0
Step 3/18 : RUN mkdir /web
---> Using cache
---> 0fd12e9efa87
Step 4/18 : WORKDIR /web
---> Using cache
---> eda49e3c257b
Step 5/18 : ARG DJANGO_WORKDIR=/web/workdir
---> Using cache
---> e8dddbc34da7
Step 6/18 : ARG DJANGO_STATIC_ROOT=/web/staticfiles
---> Using cache
---> 42e9678385ce
Step 7/18 : RUN apt-get upgrade -y
---> Using cache
---> 9633e4fb60bb
Step 8/18 : RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
---> Using cache
---> 349d741d06bb
Step 9/18 : RUN apt-get install -y nodejs optipng jpegoptim
---> Using cache
---> 70013505c326
Step 10/18 : RUN pip install --upgrade pip
---> Using cache
---> 5f05e6b42673
Step 11/18 : COPY docker-files/entrypoint.sh /usr/local/bin/entrypoint.sh
---> Using cache
---> a79cae01cd89
Step 12/18 : COPY requirements.txt /tmp/requirements.txt
---> Using cache
---> 39ce102301f0
Step 13/18 : RUN pip install -r /tmp/requirements.txt
---> Running in 5e70f71b9c7e
Looking in indexes: https://pypi.python.org/simple
Ignoring asgiref: markers 'python_version >= "3.7"' don't match your environment
Ignoring bleach: markers 'python_version >= "3.7"' don't match your environment
Ignoring cssselect2: markers 'python_version >= "3.7"' don't match your environment
Ignoring django-classy-tags: markers 'python_version >= "3.7"' don't match your environment
Ignoring django-sekizai: markers 'python_version >= "3.7"' don't match your environment
Ignoring djangocms-admin-style: markers 'python_version >= "3.7"' don't match your environment
Ignoring pillow: markers 'python_version >= "3.7"' don't match your environment
Ignoring reportlab: markers 'python_version >= "3.7" and python_version < "4"' don't match your environment
Ignoring svglib: markers 'python_version >= "3.7"' don't match your environment
Collecting certifi==2021.10.8
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting cffi==1.15.0
Downloading cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (405 kB)
Collecting charset-normalizer==2.0.12
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting cryptography==36.0.2
Downloading cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB)
Collecting defusedxml==0.7.1
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting django-admin-sortable2==1.0.4
Downloading django_admin_sortable2-1.0.4-py3-none-any.whl (74 kB)
Collecting django-allauth==0.50.0
Downloading django-allauth-0.50.0.tar.gz (703 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting django-angular==2.3
Downloading django-angular-2.3.tar.gz (161 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting django-appconf==1.0.5
Downloading django_appconf-1.0.5-py3-none-any.whl (6.4 kB)
ERROR: Could not find a version that satisfies the requirement django-cms==3.10.0 (from versions: 2.0.1, 2.0.2, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.2, 2.2.1, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.1.0b1, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4.0, 3.2.5, 3.3.0rc2, 3.3.0rc3, 3.3.0rc4, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.6.0rc1, 3.6.0rc3, 3.6.0, 3.6.1, 3.7.0rc1, 3.7.0rc2, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0rc2, 3.9.0rc3, 3.9.0)
ERROR: No matching distribution found for django-cms==3.10.0
The command '/bin/sh -c pip install -r /tmp/requirements.txt' returned a non-zero code: 1
ERROR: Service 'webapp' failed to build : Build failed
Metadata
Metadata
Assignees
Labels
No labels