From 239d2a1d7b094f35a1641e648524d2ea13c7e522 Mon Sep 17 00:00:00 2001
From: davegallant
Date: Tue, 2 Jan 2024 19:50:12 +0000
Subject: [PATCH] deploy: 8af61db534eb8c5b155f8d3dc5f413b4d7810c8a
---
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 82287c9e..629f275d 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
@@ -59,4 +59,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.