From cf3cbd9b0baaa542a27b265a26dffc711e1d2de3 Mon Sep 17 00:00:00 2001
From: davegallant
Date: Sun, 7 Jan 2024 15:27:21 +0000
Subject: [PATCH] deploy: 413b06bb8a893b89206b5238dbb0a448f2fd5789
---
blog/2020/03/16/appgate-sdp-on-arch-linux/index.html | 2 +-
blog/2021/09/06/what-to-do-with-a-homelab/index.html | 2 +-
blog/2021/09/08/why-i-threw-out-my-dotfiles/index.html | 2 +-
.../09/17/automatically-rotating-aws-access-keys/index.html | 2 +-
.../replacing-docker-with-podman-on-macos-and-linux/index.html | 2 +-
blog/2021/11/14/running-k3s-in-lxc-on-proxmox/index.html | 2 +-
blog/2022/03/13/backing-up-gmail-with-synology/index.html | 2 +-
blog/2022/04/02/virtualizing-my-router-with-pfsense/index.html | 2 +-
blog/2022/12/10/watching-youtube-in-private/index.html | 2 +-
.../index.html | 2 +-
.../12/10/setting-up-gitea-actions-with-tailscale/index.html | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html b/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html
index 3b58f3b7..e9ec70be 100644
--- a/blog/2020/03/16/appgate-sdp-on-arch-linux/index.html
+++ b/blog/2020/03/16/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 :)
-
Wrapping up#
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.