[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
125/131: gnu: ganeti: Remove PYTHONPATH-altering patch.
From: |
guix-commits |
Subject: |
125/131: gnu: ganeti: Remove PYTHONPATH-altering patch. |
Date: |
Fri, 29 Jan 2021 09:22:21 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 162fe0441108a2a458203207f8f626eb478e5598
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jan 27 23:41:51 2021 -0500
gnu: ganeti: Remove PYTHONPATH-altering patch.
* gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Un-register it.
* gnu/packages/virtualization.scm (ganeti): Remove patch.
---
gnu/local.mk | 1 -
.../patches/ganeti-preserve-PYTHONPATH.patch | 21 ---------------------
gnu/packages/virtualization.scm | 3 +--
3 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 0e8e9c3..ac24804 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1009,7 +1009,6 @@ dist_patch_DATA =
\
%D%/packages/patches/ganeti-drbd-compat.patch \
%D%/packages/patches/ganeti-haskell-pythondir.patch \
%D%/packages/patches/ganeti-os-disk-size.patch \
- %D%/packages/patches/ganeti-preserve-PYTHONPATH.patch \
%D%/packages/patches/ganeti-shepherd-master-failover.patch \
%D%/packages/patches/ganeti-shepherd-support.patch \
%D%/packages/patches/gash-utils-ls-test.patch \
diff --git a/gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch
b/gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch
deleted file mode 100644
index 1358e30..0000000
--- a/gnu/packages/patches/ganeti-preserve-PYTHONPATH.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Do not override PYTHONPATH when calling Python code from the Haskell
-daemons. This is necessary because the Python library dependencies are
-only available through PYTHONPATH.
-
-diff --git a/src/Ganeti/Query/Exec.hs b/src/Ganeti/Query/Exec.hs
---- a/src/Ganeti/Query/Exec.hs
-+++ b/src/Ganeti/Query/Exec.hs
-@@ -99,12 +99,10 @@ spawnJobProcess jid = withErrorLogAt CRITICAL (show jid) $
- do
- use_debug <- isDebugMode
- env_ <- (M.toList . M.insert "GNT_DEBUG" (if use_debug then "1" else "0")
-- . M.insert "PYTHONPATH" AC.pythondir
- . M.fromList)
- `liftM` getEnvironment
- execPy <- P.jqueueExecutorPy
- logDebug $ "Executing " ++ AC.pythonPath ++ " " ++ execPy
-- ++ " with PYTHONPATH=" ++ AC.pythondir
-
- (master, child) <- pipeClient connectConfig
- let (rh, wh) = clientToHandle child
-
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 4470bed..f80aebd 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -404,8 +404,7 @@ server and embedded PowerPC, and S390 guests.")
"ganeti-drbd-compat.patch"
"ganeti-os-disk-size.patch"
"ganeti-haskell-pythondir.patch"
- "ganeti-disable-version-symlinks.patch"
- "ganeti-preserve-PYTHONPATH.patch"))))
+
"ganeti-disable-version-symlinks.patch"))))
(build-system gnu-build-system)
(arguments
`(#:imported-modules (,@%gnu-build-system-modules
- 124/131: gnu: seahorse-adventures: Wrap with GUIX_PYTHONPATH., (continued)
- 124/131: gnu: seahorse-adventures: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 118/131: gnu: gnuradio: Use GUIX_PYTHONPATH in search path., guix-commits, 2021/01/29
- 128/131: gnu: ceph: Streamline use of PYTHONPATH., guix-commits, 2021/01/29
- 90/131: gnu: python-natsort: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 97/131: gnu: python-flasgger: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 101/131: gnu: python-aws-xray-sdk: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 107/131: gnu: python-webassets: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 122/131: gnu: avogadro: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 116/131: gnu: pypy3: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 110/131: gnu: 389-ds-base: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 125/131: gnu: ganeti: Remove PYTHONPATH-altering patch.,
guix-commits <=