Skip to content

Instantly share code, notes, and snippets.

@dtantsur
Created May 17, 2022 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtantsur/835303c6a68ed77157016f5955183115 to your computer and use it in GitHub Desktop.
Save dtantsur/835303c6a68ed77157016f5955183115 to your computer and use it in GitHub Desktop.
Demonstration of broken libvirt-python on yoga
FROM quay.io/centos/centos:stream9
RUN dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled crb && \
dnf install -y gcc git-core python3-devel libvirt-devel pkg-config
RUN git clone https://opendev.org/openstack/requirements /tmp/reqs -b stable/yoga && \
python3 -m venv /tmp/venv && \
/tmp/venv/bin/pip install libvirt-python -c /tmp/reqs/upper-constraints.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment