fitbit-googlefit icon indicating copy to clipboard operation
fitbit-googlefit copied to clipboard

Docker build fails

Open compilenix opened this issue 1 year ago • 0 comments

Hey there, I have trouble building the current master branch (cc2604ac554c4a98be2e0ee15496441dd9a72b67) container image. The error message says it can't find the package cachetools in the required version (5.2.0).

Steps to reproduce

cd /tmp
git clone https://github.com/pkpio/fitbit-googlefit
cd fitbit-googlefit
docker build .

Output

# cd /tmp
# git clone https://github.com/pkpio/fitbit-googlefit
Cloning into 'fitbit-googlefit'...
remote: Enumerating objects: 572, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 572 (delta 26), reused 24 (delta 12), pack-reused 528
Receiving objects: 100% (572/572), 319.51 KiB | 3.40 MiB/s, done.
Resolving deltas: 100% (348/348), done.
# cd fitbit-googlefit
# docker build .
Sending build context to Docker daemon  645.1kB
Step 1/7 : FROM python:jessie
 ---> db97a89bc1e5
Step 2/7 : RUN mkdir /fitbit-googlefit/
 ---> Using cache
 ---> 01ce339dd898
Step 3/7 : WORKDIR /fitbit-googlefit/
 ---> Using cache
 ---> 8bb987d5c9b0
Step 4/7 : COPY requirements.txt /fitbit-googlefit/requirements.txt
 ---> Using cache
 ---> e92c73a25aef
Step 5/7 : RUN pip install -r requirements.txt
 ---> Running in 686d0a9c1375
Collecting cachetools==5.2.0 (from -r requirements.txt (line 1))
  Could not find a version that satisfies the requirement cachetools==5.2.0 (from -r requirements.txt (line 1)) (from versions: 0.0.0, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 2.0.0, 2.0.1, 2.1.0, 3.0.0, 3.1.0, 3.1.1, 4.0.0, 4.1.0, 4.1.1, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4)
No matching distribution found for cachetools==5.2.0 (from -r requirements.txt (line 1))
You are using pip version 10.0.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1

compilenix avatar Feb 02 '23 20:02 compilenix