libvirt-python for alpine linux

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@gmail.com -----------------------------------------------------------------------------

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@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@gmail.com
-----------------------------------------------------------------------------
-- ----------------------------------------------------------------------------- Tom Ammon M: (737) 400-9042 thomasammon@gmail.com -----------------------------------------------------------------------------

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 looks
Yes, 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
participants (2)
-
Ján Tomko
-
Tom Ammon