devottys / darkdraw

unicode art and animation in the terminal
Other
67 stars 4 forks source link

Docker build cannot complete #7

Closed bryce-carson closed 2 years ago

bryce-carson commented 2 years ago

The latest commit broke the Docker build. I cannot reproduce the build with podman on Fedora.

λ  podman build -t darkdraw .                                darkdraw -> master
STEP 1/9: FROM python:3.8-alpine
STEP 2/9: RUN pip install requests python-dateutil wcwidth
--> Using cache a0f40f92948f4fc72590fe15913a12e520ec457982331c4008e72814d656cfe7
--> a0f40f92948
STEP 3/9: RUN apk add git
--> Using cache a01403aea21f3905db1aadc1e9912bc3584ac71274ad68a4e3b2382cae97fcc5
--> a01403aea21
STEP 4/9: RUN pip install git+https://github.com/devottys/darkdraw.git
Collecting git+https://github.com/devottys/darkdraw.git
  Cloning https://github.com/devottys/darkdraw.git to /tmp/pip-req-build-ww1lxy18
  Running command git clone --filter=blob:none --quiet https://github.com/devottys/darkdraw.git /tmp/pip-req-build-ww1lxy18
  Resolved https://github.com/devottys/darkdraw.git to commit a54acbd788ddd19309eff99ca001551e223c8122
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
ERROR: Could not find a version that satisfies the requirement visidata>=2.9 (from darkdraw) (from versions: 0.9, 0.37, 0.41, 0.41.1, 0.59, 0.60, 0.61, 0.80, 0.90, 0.91, 0.92, 0.93, 0.94, 0.95.2, 0.96, 0.97, 0.97.1, 0.98, 0.98.1, 0.99, 1.0, 1.1, 1.2, 1.2.1, 1.3, 1.3.1, 1.4, 1.5, 1.5.1, 1.5.2, 2.0, 2.0.1, 2.1, 2.1.1, 2.2, 2.2.1, 2.3, 2.4, 2.5, 2.6, 2.6.1, 2.7, 2.7.1, 2.8)
ERROR: No matching distribution found for visidata>=2.9
Error: error building at STEP "RUN pip install git+https://github.com/devottys/darkdraw.git": error while running runtime: exit status 1
1 λ                                                                                                                                                                                               darkdraw -> master

I've tried swapping lines 6 and 7 of Dockerfile, but that didn't work. I don't know Python packaging so I couldn't fix this setup myself.

anjakefala commented 2 years ago

Thanks! This is a known issue, VisiData v2.9 has not been released yet. The current latest commit of darkdraw depends on changes in unreleased VisiData. I will make changes to the Dockerfile so it builds with the latest release instead of the latest commit.

anjakefala commented 2 years ago

Fixed here: https://github.com/devottys/darkdraw/pull/8