From 969aaa1ef09dc0176504bdabf91b33c6b6e8b66c Mon Sep 17 00:00:00 2001
From: davegallant
Date: Sun, 7 Apr 2024 03:16:13 +0000
Subject: [PATCH] deploy: 8b4902e3e25f42c60a4c18e08ca4d55bce7f9f8a
---
blog/appgate-sdp-on-arch-linux/index.html | 2 +-
blog/automatically-rotating-aws-keys/index.html | 2 +-
blog/backing-up-gmail-with-synology/index.html | 2 +-
blog/replacing-docker-with-podman-on-macos/index.html | 2 +-
blog/running-k3s-in-lxc-on-proxmox/index.html | 2 +-
blog/setting-up-gitea-actions-with-tailscale/index.html | 2 +-
.../index.html | 2 +-
blog/virtualizing-a-router-with-pfsense/index.html | 2 +-
blog/watching-youtube-in-private/index.html | 2 +-
blog/what-to-do-with-a-homelab/index.html | 2 +-
blog/why-i-threw-out-my-dotfiles/index.html | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/blog/appgate-sdp-on-arch-linux/index.html b/blog/appgate-sdp-on-arch-linux/index.html
index cff40c6f..3dcd72ba 100644
--- a/blog/appgate-sdp-on-arch-linux/index.html
+++ b/blog/appgate-sdp-on-arch-linux/index.html
@@ -63,4 +63,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.