~ruther/guix-local

6ebc5d855c51e80c146835f97bf921616b7b3d18 — Nguyễn Gia Phong 5 months ago a969d3c
gnu: python-flit-core-next: Mark as deprecated.

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 <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +1 -1
@@ 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")

M gnu/packages/pdf.scm => gnu/packages/pdf.scm +1 -1
@@ 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

M gnu/packages/python-build.scm => gnu/packages/python-build.scm +3 -1
@@ 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

M gnu/packages/python-check.scm => gnu/packages/python-check.scm +1 -1
@@ 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

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +1 -1
@@ 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")