Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

LOCI image build gives No matching distribution found for enum-compat

Hi -

When attempting to build an OCI image using LOCI with:

docker build \
    --build-arg PROJECT=cinder \
    --build-arg FROM=ubuntu:xenial \
    --build-arg PROJECT_REF=stable/pike \
    --build-arg WHEELS=loci/requirements:master-ubuntu \
    --build-arg PROFILES="lvm" \
    --tag lvm-ubuntu-xenial-cinder:latest

I get the error:

Collecting networkx===1.11 (from -c /tmp/wheels/upper-constraints.txt (line 81))
  Downloading (1.3MB)
Collecting enum-compat (from eventlet===0.20.0->-c /tmp/wheels/upper-constraints.txt (line 135))
  Could not find a version that satisfies the requirement enum-compat (from eventlet===0.20.0->-c /tmp/wheels/upper-constraints.txt (line 135)) (from versions: )
No matching distribution found for enum-compat (from eventlet===0.20.0->-c /tmp/wheels/upper-constraints.txt (line 135))
The command '/bin/sh -c /opt/loci/scripts/' returned a non-zero code: 1

It appears to be some sort of issue with the loci-requirements image ( where it breaks at the exact same location for debian, ubuntu, and centos, but I am at a loss as to how to fix this, so any suggestions gratefully received.

Thanks, Piers.