Seems like we only need ipaddr for Ubuntu 19.10 and Debian 10 in requirements.txt file

And we can add python3-ethtool to the packages list.

guest@debian:~/wok/src/wok/plugins/kimchi$ cat /etc/issue
Debian GNU/Linux 10 \n \l

guest@debian:~/wok/src/wok/plugins/kimchi$ dpkg -S /usr/lib/python3/dist-packages/distro.py
python3-distro: /usr/lib/python3/dist-packages/distro.py

guest@debian:~/wok/src/wok/plugins/kimchi$ sudo apt search python3-ethtool
Sorting... Done
Full Text Search... Done
python3-ethtool/stable 0.14-1 i386
  Python bindings for the ethtool kernel interface - Python 3.x

And jsonschema is only a dependency for Wok. 

To add support for a new distro, you only need to change dependencies.yaml file and run `make` to auto generate the docs again.

You can follow what I did for Wok in https://github.com/kimchi-project/wok/commit/4ba45df05dd318ddfcb80b759828a906af958907

On Sat, Dec 7, 2019 at 6:12 AM <andreavb1985@gmail.com> wrote:
From: Andrea Bucci <andreavb1985@gmail.com>

Debian 10 has slightly different requirements than Ubuntu 19.10; hence,
creating a new section in the README file and introducing Debian
requirements file.

Signed-off-by: Andrea Bucci <andreavb1985@gmail.com>
---
 docs/README.md          | 16 ++++++++++++++++
 requirements-DEBIAN.txt |  4 ++++
 2 files changed, 20 insertions(+)
 create mode 100644 requirements-DEBIAN.txt

diff --git a/docs/README.md b/docs/README.md
index 068b15e5..1c1d9845 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -62,6 +62,22 @@ before starting up the wokd service.
     sudo -H pip3 install -r requirements-UBUNTU.txt
     sudo apt install -y python3-configobj python3-lxml python3-magic python3-paramiko python3-ldap spice-html5 novnc qemu-kvm python3-libvirt python3-parted python3-guestfs python3-pil python3-cherrypy3 python3-pam libvirt0 libvirt-daemon-system libvirt-clients nfs-common sosreport open-iscsi libguestfs-tools

+## Debian
+
+**Development Dependencies**
+
+    sudo -H pip3 install -r requirements-dev.txt
+    sudo apt install -y gcc make autoconf automake git python3-pip python3-requests python3-mock gettext pkgconf xsltproc python3-dev pep8 pyflakes python3-yaml
+
+**Runtime Dependencies**
+
+    # Install libnl-route-3-dev in order to install ethtool using pip
+    sudo apt install libnl-route-3-dev
+
+    sudo -H pip3 install -r requirements-DEBIAN.txt
+    sudo apt install -y bc libguestfs-tools libvirt0 libvirt-clients libvirt-daemon-system nfs-common novnc open-iscsi python3-cherrypy3 python3-configobj python3-guestfs python3-ldap python3-libvirt python3-lxml python3-magic python3-pampy python3-paramiko python3-parted python3-pil python3-requests sosreport spice-html5 qemu-kvm
+    sudo apt remove --purge python3-jsonschema
+
 ## openSUSE LEAP

 **Development Dependencies**
diff --git a/requirements-DEBIAN.txt b/requirements-DEBIAN.txt
new file mode 100644
index 00000000..bc6c0fbd
--- /dev/null
+++ b/requirements-DEBIAN.txt
@@ -0,0 +1,4 @@
+distro
+ethtool
+ipaddr
+jsonschema
--
2.20.1



--
Aline Manera