From 6ebc5d855c51e80c146835f97bf921616b7b3d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 29 Sep 2025 10:17:26 +0900 Subject: [PATCH] gnu: python-flit-core-next: Mark as deprecated. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a followup to a34d8e427875e0538a81e4414e92cc41c91fd0cf. Replace all python-flit-core-next occurrences with python-flit-core. * gnu/packages/python-build.scm (python-flit-core-next): Mark as a deprecated public alias. * gnu/packages/machine-learning.scm (python-pytorch-geometric) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/pdf.scm (python-pypdf) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/python-check.scm (python-stestr) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. * gnu/packages/python-xyz.scm (python-asyncclick) [propagated-inputs]: Replace python-flit-core-next with python-flit-core. Change-Id: I3a25290f6fd97995b773332addefe33afd016e67 Reviwed-by: Ludovic Courtès Signed-off-by: Sharlatan Hellseher --- gnu/packages/machine-learning.scm | 2 +- gnu/packages/pdf.scm | 2 +- gnu/packages/python-build.scm | 4 +++- gnu/packages/python-check.scm | 2 +- gnu/packages/python-xyz.scm | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 8e8b4c9d088..933ede23ac9 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -4979,7 +4979,7 @@ in the audio domain.") python-xxhash)) (native-inputs (list openssl - python-flit-core-next + python-flit-core python-pytest python-pytest-cov)) (home-page "https://pyg.org") diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 81ff1d528b0..dba033cf823 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1484,7 +1484,7 @@ converter using the Poppler and Cairo libraries.") " and not ")))) (native-inputs (list python-flit - python-flit-core-next + python-flit-core python-pytest python-pytest-socket python-pytest-timeout diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 3d6dbb383bd..87a982d8d83 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -36,6 +36,7 @@ #:use-module (guix build-system python) #:use-module (guix build-system pyproject) #:use-module (guix gexp) + #:use-module (guix deprecation) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages)) @@ -614,7 +615,8 @@ specified by PEP 517, @code{flit_core.buildapi}.") (delete "python-toml") (prepend python-tomli))))) -(define-public python-flit-core-next python-flit-core) +(define-deprecated/public-alias python-flit-core-next + python-flit-core) ;may be removed after 2025-12-01 (define-public python-flit-scm (package diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 34dc4c40cc0..72d4775abf6 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3783,7 +3783,7 @@ possibly work.") (native-inputs (list python-ddt python-iso8601 - python-flit-core-next ;requires >=3.12 + python-flit-core python-setuptools)) (propagated-inputs (list python-cliff-bootstrap diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 526b6be9efb..f540fc6fa23 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -411,7 +411,7 @@ APIs to detect, query, and compare them.") (("from click") "from asyncclick"))))))) (native-inputs (list python-anyio - python-flit-core-next + python-flit-core python-pytest python-trio)) (home-page "https://github.com/python-trio/asyncclick")