Hi everybody, Is there a libvirt-python package for alpine linux? I'm looking to containerize an app that uses libvirt-python, using alpine linux, but all I found that looked similar to libvirt-python was py-libvirt ( https://pkgs.alpinelinux.org/package/v3.3/main/x86/py-libvirt) and it looks pretty old. Tom -- ----------------------------------------------------------------------------- Tom Ammon M: (737) 400-9042 thomasammon at gmail.com ----------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220219/be13ff3d/attachment.htm>
Nevermind - I was able to make this work myself by installing via pip, after I installed the alpine libvirt-dev package. Originally, the libvirt-python pip install was failing with errors pointing to pkg-config location. Tom On Sat, Feb 19, 2022 at 11:45 AM Tom Ammon <thomasammon at gmail.com> wrote:> Hi everybody, > > Is there a libvirt-python package for alpine linux? I'm looking to > containerize an app that uses libvirt-python, using alpine linux, but all I > found that looked similar to libvirt-python was py-libvirt ( > https://pkgs.alpinelinux.org/package/v3.3/main/x86/py-libvirt) and it > looks pretty old. > > Tom > > -- > > ----------------------------------------------------------------------------- > Tom Ammon > M: (737) 400-9042 > thomasammon at gmail.com > > ----------------------------------------------------------------------------- >-- ----------------------------------------------------------------------------- Tom Ammon M: (737) 400-9042 thomasammon at gmail.com ----------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220219/5db56ceb/attachment.htm>
On a Saturday in 2022, Tom Ammon wrote:>Hi everybody, > >Is there a libvirt-python package for alpine linux? I'm looking to >containerize an app that uses libvirt-python, using alpine linux, but all I >found that looked similar to libvirt-python was py-libvirt ( >https://pkgs.alpinelinux.org/package/v3.3/main/x86/py-libvirt) and it looksYes, looking at the 'APKBUILD' file of py-libvirt, it is built from upstream libvirt's libvirt-python sources: https://git.alpinelinux.org/aports/tree/community/py3-libvirt/APKBUILD>pretty old.The link you posted leads to the 'py-libvirt' version in Alpine release v3.3. If you look at a more recent release, the version should be closer to (if not equal) to the version of your libvirt-dev package: https://pkgs.alpinelinux.org/packages?name=py3-libvirt&branch=v3.15 Jano -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220220/05397c89/attachment.sig>