[neon/forks/ubuntu-release-upgrader/Neon/unstable_focal] /: DistUpgrade/dist-upgrade.py: When running the release upgrade do not add user site directory to sys.path thereby preventing user python packages from interfering with the upgrade process. (LP: #1848829)

Brian Murray null at kde.org
Mon Nov 30 14:22:52 GMT 2020


Git commit a5728f0bc88aeff413b789cbfd3052987f0503d8 by Brian Murray.
Committed on 17/11/2020 at 23:26.
Pushed by sitter into branch 'Neon/unstable_focal'.

DistUpgrade/dist-upgrade.py: When running the release upgrade do not add user site directory to sys.path thereby preventing user python packages from interfering with the upgrade process. (LP: #1848829)

M  +1    -1    DistUpgrade/dist-upgrade.py
M  +8    -0    debian/changelog

https://invent.kde.org/neon/forks/ubuntu-release-upgrader/commit/a5728f0bc88aeff413b789cbfd3052987f0503d8

diff --git a/DistUpgrade/dist-upgrade.py b/DistUpgrade/dist-upgrade.py
index 420d511f..f8ea5f0b 100755
--- a/DistUpgrade/dist-upgrade.py
+++ b/DistUpgrade/dist-upgrade.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/python3 -s
 
 from DistUpgrade.DistUpgradeMain import main
 import sys
diff --git a/debian/changelog b/debian/changelog
index c034801f..5b9d0124 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ubuntu-release-upgrader (1:20.04.29) UNRELEASED; urgency=medium
+
+  * DistUpgrade/dist-upgrade.py: When running the release upgrade do not add
+    user site directory to sys.path thereby preventing user python packages
+    from interfering with the upgrade process. (LP: #1848829)
+
+ -- Brian Murray <brian at ubuntu.com>  Tue, 17 Nov 2020 15:25:20 -0800
+
 ubuntu-release-upgrader (1:20.04.28) focal; urgency=medium
 
   [ Brian Murray ]



More information about the Neon-commits mailing list