unicode-slugify is basically abandoned upstream. Its repository [1] has seen
the last actual code change in 2018. It uses the deprecated `nose` testing framework.
In nixpkgs, we patched it to use pytest, but made some mistakes in those patches,
resulting in no tests actually executing. I actually fixed the tests to run,
but most of the tests fail: unicode does not reliably get replaced with a slugified version.
There does exist an actual need for slugification. However, the used slugify
package should actually work and be reasonably maintained. The replacement proposed here is
`python-slugify` [2], which sees active development in its repository while the
used API (both import name and the basic function signature `slugify(str)`) is identical.
The version requirement of >=7.0.0 is from their official support matrix for py >= 3.7,
though i did my testing with python-slugify 8.0.4.
[1] https://github.com/mozilla/unicode-slugify
[2] https://pypi.org/project/python-slugify/
The GUI has been ported to PyQt6.
New dependencies:
- python3-pyqt6
- python3-pyqt6.qtsvg (otherwise, the svg icons are not loaded)
On Arch and other systems qt6-svg is neeeded.
- pyqt6-dev-tools (for uic calls, .ui loading).
- libqt6sql6
Known issues:
- pylupdate6 not longer update .pro files.
It doesn't affect existing translations.
- There might be a delay closing the GUI. Reason still unknown.
Closes: #1009
Discussion: #1222
My OS comes with grpcio-tools 1.36.1, which seems to work fine, so it
would be nice to allow the ui to use that instead of building 1.10.1
specifically for opensnitch.
It looks like it's part of python since 3.2, and as far as I can tell
without the pip dependency work just fine (tested on ubuntu >=14.x, mint
>= 18, debian >= 8.x).
It should also help packaging for ArchLinux #8.