summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-24 22:44:59 +0200
committerjgart <jgart@dismail.de>2025-08-26 09:30:01 -0500
commitfcca14d2611a3190ec52eda915c3c0506f8eb349 (patch)
tree992c82652862b48dd31ab0da096e6c6cd6f2b64b /gnu/packages/python-xyz.scm
parente1c14948402a8c6ee1101aabd1b4a663730835bb (diff)
gnu: python-pymdown-extensions: Update to 10.16.1.
* gnu/packages/python-xyz.scm (python-pymdown-extensions): Update to 10.16.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-hatchling, python-pytest, python-pyyaml. [description]: Improve style. Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm27
1 files changed, 15 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2a84afcbf5b..7a6cb6dceae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2701,24 +2701,27 @@ Java objects.")
(define-public python-pymdown-extensions
(package
(name "python-pymdown-extensions")
- (version "8.1.1")
+ (version "10.16.1")
(source
(origin
- (method url-fetch)
- (uri
- (pypi-uri "pymdown-extensions" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/facelessuser/pymdown-extensions")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0d8pdndrl1kj105lq7r6kw2dnhcvll6h2qs07w71mcpi7gx728v3"))))
- (build-system python-build-system)
- ;; FIXME: "AssertionError: False is not true"
+ (base32 "0r36nk1ppq1wrgb1lcy9asp9872xr0gbhxrjw7dpa8lp6m7nqb9k"))))
+ (build-system pyproject-build-system)
+ ;; XXX: A lot of HTML tests fail with negligible discrepancies.
(arguments
- `(#:tests? #f))
- (propagated-inputs
- (list python-markdown))
+ (list #:tests? #f))
+ (native-inputs (list python-hatchling python-pytest python-pyyaml))
+ (propagated-inputs (list python-markdown))
(home-page "https://github.com/facelessuser/pymdown-extensions")
(synopsis "Extension pack for Python Markdown")
- (description "PyMdown Extensions is a collection of extensions for Python
-Markdown. All extensions are found under the module namespace of pymdownx.")
+ (description
+ "PyMdown Extensions is a collection of extensions for Python Markdown.
+All extensions are found under the module namespace of pymdownx.")
(license license:expat)))
(define-public python-plotext