[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/40: build-system/python: Ignore symlinks when changing mtime.
From: |
guix-commits |
Subject: |
06/40: build-system/python: Ignore symlinks when changing mtime. |
Date: |
Wed, 3 Apr 2024 16:04:23 -0400 (EDT) |
rekado pushed a commit to branch python-team
in repository guix.
commit 874220ad8a738b263e6edc2f8d7257ddc79099a3
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))))
- 24/40: gnu: python-jupytext: Update to 1.15.0., (continued)
- 24/40: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/04/03
- 25/40: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/04/03
- 28/40: gnu: Add python-pytest-mypy-testing., guix-commits, 2024/04/03
- 39/40: gnu: java-testng: Drop input labels., guix-commits, 2024/04/03
- 08/40: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/04/03
- 05/40: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/04/03
- 12/40: guix: pyproject-build-system: Default configure-flags to empty dictionary., guix-commits, 2024/04/03
- 22/40: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/04/03
- 34/40: gnu: python-cleo: Update to 2.1.0., guix-commits, 2024/04/03
- 35/40: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/04/03
- 06/40: build-system/python: Ignore symlinks when changing mtime.,
guix-commits <=
- 19/40: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/04/03
- 23/40: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/04/03
- 16/40: gnu: Add missing import (again)., guix-commits, 2024/04/03
- 27/40: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/04/03
- 11/40: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/04/03
- 09/40: guix: toml: Add TOML parser., guix-commits, 2024/04/03
- 13/40: doc: Document new options for pyproject-build-system., guix-commits, 2024/04/03
- 26/40: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/04/03
- 17/40: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/04/03
- 29/40: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/04/03