diff --git a/blog/appgate-sdp-on-arch-linux/index.html b/blog/appgate-sdp-on-arch-linux/index.html index f2ffb567..7cbb2911 100644 --- a/blog/appgate-sdp-on-arch-linux/index.html +++ b/blog/appgate-sdp-on-arch-linux/index.html @@ -71,4 +71,4 @@ Let’s try to run it.
This is a breaking change in Python3.8.
So what is calling platform.linux_distribution
?
Let’s search for it:
$ sudo grep -r 'linux_distribution' /opt/appgate/linux/
/opt/appgate/linux/nm.py: if platform.linux_distribution()[0] != 'Fedora':
Aha! So this is in the local AppGate source code. This should be an easy fix. Let’s just replace this line with:
if True: # Since we are not using Fedora :)
-
It turns out there are breaking changes in Python3.8.
The docs say Deprecated since version 3.5, will be removed in version 3.8: See alternative like the distro package.
I suppose this highlights one of the caveats of relying upon the system’s python, rather than having an isolated, dedicated environment for all dependencies.