From d3bad8ed1ff8d404fb5a1ee03ff55bbdd962c3ee Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 19 Jan 2026 19:03:38 +0100 Subject: [PATCH] Require Mercurial 7.2rc0 for Python 3.14 support Mercurial 7.2rc0 is the first release with Python 3.14 support. Running 7.1.2 on Python 3.14 causes significant performance issues that lead to test timeouts. Use version markers to specify 7.2rc0 for Python 3.14+ while keeping 7.1.2 for earlier Python versions. --- lib/galaxy/dependencies/pinned-requirements.txt | 3 ++- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/dependencies/pinned-requirements.txt b/lib/galaxy/dependencies/pinned-requirements.txt index 2f9a0dc0321..83fe9855306 100644 --- a/lib/galaxy/dependencies/pinned-requirements.txt +++ b/lib/galaxy/dependencies/pinned-requirements.txt @@ -170,7 +170,8 @@ markdown-it-py==4.0.0 ; python_full_version >= '3.11' markupsafe==3.0.3 mcp==1.25.0 ; python_full_version >= '3.10' mdurl==0.1.2 -mercurial==7.1.2 +mercurial==7.1.2 ; python_version < '3.14' +mercurial==7.2rc0 ; python_version >= '3.14' mistralai==1.9.11 mistune==3.1.4 more-itertools==10.8.0 diff --git a/pyproject.toml b/pyproject.toml index 688156fd7d3..4b32d1a3485 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,8 @@ dependencies = [ "Mako", "Markdown", "MarkupSafe", - "mercurial>=6.8.2", # Python 3.13 support + "mercurial>=6.8.2 ; python_version<'3.14'", # Python 3.13 support + "mercurial>=7.2rc0 ; python_version>='3.14'", # Python 3.14 support "mrcfile", "more-itertools", "msal",