[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/361: build-system/python: Ignore symlinks when changing mtime.
From: |
guix-commits |
Subject: |
06/361: build-system/python: Ignore symlinks when changing mtime. |
Date: |
Fri, 22 Nov 2024 06:00:01 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit c01c4f473a6ca5656da82d96a4f34d186f6904a9
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sat May 13 15:31:06 2023 +0200
build-system/python: Ignore symlinks when changing mtime.
* guix/build/python-build-system.scm (ensure-no-mtimes-pre-1980): Ignore
'symlink.
---
guix/build/python-build-system.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/build/python-build-system.scm
b/guix/build/python-build-system.scm
index aa04664b25..8e18d6d0df 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -37,6 +37,7 @@
#:use-module (srfi srfi-26)
#:export (%standard-phases
add-installed-pythonpath
+ ensure-no-mtimes-pre-1980
site-packages
python-version
python-build))
@@ -270,7 +271,8 @@ installed with setuptools."
;; timestamps before 1980.
(let ((early-1980 315619200)) ; 1980-01-02 UTC
(ftw "." (lambda (file stat flag)
- (unless (<= early-1980 (stat:mtime stat))
+ (unless (or (<= early-1980 (stat:mtime stat))
+ (eq? (stat:type stat) 'symlink))
(utime file early-1980 early-1980))
#t))))
- 68/361: gnu: Add python-isoduration., (continued)
- 68/361: gnu: Add python-isoduration., guix-commits, 2024/11/22
- 09/361: guix: toml: Add TOML parser., guix-commits, 2024/11/22
- 11/361: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/11/22
- 13/361: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/22
- 14/361: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/22
- 19/361: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/22
- 23/361: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/22
- 50/361: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/22
- 03/361: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/11/22
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/22
- 06/361: build-system/python: Ignore symlinks when changing mtime.,
guix-commits <=
- 16/361: gnu: Add missing import (again)., guix-commits, 2024/11/22
- 18/361: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/22
- 27/361: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/11/22
- 26/361: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/22
- 25/361: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/22
- 29/361: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/22
- 32/361: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/22
- 36/361: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/22
- 38/361: gnu: python-argcomplete: Add missing input., guix-commits, 2024/11/22
- 41/361: gnu: python-pycurl: Add missing inputs., guix-commits, 2024/11/22