[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: python-check-manifest: Relax git security settings in tests.
From: |
guix-commits |
Subject: |
04/08: gnu: python-check-manifest: Relax git security settings in tests. |
Date: |
Sat, 19 Nov 2022 13:59:54 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a4ea82b671c7841cdf1e3417723e27fdac26f598
Author: Ontje Lünsdorf <ontje.luensdorf@dlr.de>
AuthorDate: Fri Nov 11 21:09:21 2022 +0100
gnu: python-check-manifest: Relax git security settings in tests.
* gnu/packages/python-xyz.scm (python-check-manifest)[arguments]:
Allow git submodule commands via file protocol during testing.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c5ab9280eb..975b698374 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25584,6 +25584,17 @@ also be usable with other GSSAPI mechanisms.")
(build-system python-build-system)
(native-inputs
(list python-mock git))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Tests use git submodule commands over the file transport, which
+ ;; has been disabled in git, see CVE-2022-39253. Enable these
+ ;; commands to allow checks to succeed.
+ (add-before 'check 'allow-git-submodule-add
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (invoke "git" "config" "--global"
+ "protocol.file.allow" "always"))))))
(home-page "https://github.com/mgedmin/check-manifest")
(synopsis "Check MANIFEST.in in a Python source package for completeness")
(description "Python package can include a MANIFEST.in file to help with
- branch master updated (85f4d87b81 -> bb04b5e0ce), guix-commits, 2022/11/19
- 01/08: services: lightdm: Do not use GOOPS., guix-commits, 2022/11/19
- 02/08: pack: Remove use of GOOPS in 'deb' backend., guix-commits, 2022/11/19
- 05/08: doc: Build more man pages., guix-commits, 2022/11/19
- 08/08: gnu: moreutils: Fix corrupted manual pages., guix-commits, 2022/11/19
- 06/08: scripts: describe: Add branch information to json output., guix-commits, 2022/11/19
- 03/08: gnu: blender: Update to 3.3.1., guix-commits, 2022/11/19
- 07/08: scripts: describe: Add branch information to recutils output., guix-commits, 2022/11/19
- 04/08: gnu: python-check-manifest: Relax git security settings in tests.,
guix-commits <=