[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/361: gnu: python-myst-parser: Relax some requirements.
From: |
guix-commits |
Subject: |
26/361: gnu: python-myst-parser: Relax some requirements. |
Date: |
Fri, 22 Nov 2024 06:00:05 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit c943478cb94c2267dc2008b193ab1daa3572bc5c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Feb 13 14:15:45 2024 +0000
gnu: python-myst-parser: Relax some requirements.
* gnu/packages/sphinx.scm (python-myst-parser) [arguments]
<#:test-flags>: Disable one more failing test.
<#:phases>: Add 'relax-requirements phase.
Change-Id: I4f77ce81e9f69b81b18f3faa546c7d8cd77adf50
---
gnu/packages/sphinx.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 292eaef9d0..4a4332c800 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -924,6 +924,7 @@ and several other projects.")
(define-public python-myst-parser
(package
(name "python-myst-parser")
+ ;; The latest version (v2.0.0) require Sphinx >= v6.
(version "0.18.1")
(source (origin
(method git-fetch) ;for tests
@@ -942,7 +943,17 @@ and several other projects.")
(list #:test-flags #~(list "-k" (string-append
"not test_basic "
"and not test_gettext_html "
- "and not test_fieldlist_extension"))))
+ "and not test_fieldlist_extension "
+ "and not test_syntax_extensions"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; "mdit-py-plugins~=0.3.1"
+ (("0.3.1") "0.4.0")
+ ;; "markdown-it-py>=1.0.0,<3.0.0"
+ (("3.0.0") "4.0.0")))))))
(native-inputs
(list python-beautifulsoup4
python-docutils
- 14/361: gnu: Add python-setuptools/python-wheel where necessary., (continued)
- 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, 2024/11/22
- 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 <=
- 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
- 45/361: gnu: python-mistletoe: Add missing inputs., guix-commits, 2024/11/22
- 40/361: gnu: java-testng: Disable one test., guix-commits, 2024/11/22
- 39/361: gnu: java-testng: Drop input labels., guix-commits, 2024/11/22
- 42/361: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/22