[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: |
Thu, 21 Nov 2024 06:28:41 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 7af8661952b9cd19cb706c71711d0db90e7487f9
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
- 25/361: gnu: python-textual: Update to 0.50.1., (continued)
- 25/361: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/21
- 35/361: gnu: python-packaging-bootstrap: Update to 23.2., guix-commits, 2024/11/21
- 40/361: gnu: java-testng: Disable one test., guix-commits, 2024/11/21
- 11/361: gnu: python-pytest-xdist: Disable failing test., guix-commits, 2024/11/21
- 13/361: doc: Document new options for pyproject-build-system., guix-commits, 2024/11/21
- 17/361: gnu: python-sphinx: Update to 6.2.1., guix-commits, 2024/11/21
- 23/361: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/11/21
- 14/361: gnu: Add python-setuptools/python-wheel where necessary., guix-commits, 2024/11/21
- 30/361: gnu: python-traitlets: Update to 5.14.1., guix-commits, 2024/11/21
- 47/361: gnu: python-vine: Add missing inputs., guix-commits, 2024/11/21
- 26/361: gnu: python-myst-parser: Relax some requirements.,
guix-commits <=
- 43/361: gnu: python-pytest-arraydiff: Add missing inputs., guix-commits, 2024/11/21
- 08/361: gnu: sssd: Import ensure-no-mtimes-pre-1980., guix-commits, 2024/11/21
- 10/361: build-system/pyproject: Use TOML parser., guix-commits, 2024/11/21
- 20/361: gnu: meson-python: Do not delete LICENSES directory., guix-commits, 2024/11/21
- 44/361: gnu: python-itemloaders: Fix indentation., guix-commits, 2024/11/21
- 48/361: gnu: python-joblib: Add missing inputs., guix-commits, 2024/11/21
- 49/361: gnu: python-box: Add missing input., guix-commits, 2024/11/21
- 75/361: gnu: Add python-nbclassic., guix-commits, 2024/11/21
- 71/361: gnu: Add python-overrides., guix-commits, 2024/11/21
- 91/361: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/21