Thanks! I pushed it to the development repository: https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/1405

I can’t merge it, so we’ll need to wait for someone with merge rights to review it.

On 14/05/2025 01.01, Miro Hrončok wrote:
# HG changeset patch
# User Miro Hrončok <m...@hroncok.cz>
# Date 1747130687 -7200
#      Tue May 13 12:04:47 2025 +0200
# Branch 3.14
# Node ID c5cdc23efd0fc6a1590ef2f7dc0b6ec94e43761f
# Parent  5bb6a0ae7d6c2aa31cf6d3d2d221831e2c67cce0
hgdemandimport: exclude _contextvars (newly imported from threading)

This is needed for Python 3.14.0b1 compatibility.

threading now imports _contextvars:
https://github.com/python/cpython/commit/ d687900f98114bb5910daad9553ae381d7daf94b

Originally reported in Fedora: https://bugzilla.redhat.com/2365820

diff -r 5bb6a0ae7d6c -r c5cdc23efd0f hgdemandimport/__init__.py
--- a/hgdemandimport/__init__.py    Wed May 07 12:25:56 2025 +0200
+++ b/hgdemandimport/__init__.py    Tue May 13 12:04:47 2025 +0200
@@ -60,6 +60,7 @@
      'setuptools',
      '_distutils_hack.override',
     # threading is locally imported by importlib.util.LazyLoader.exec_module
+    '_contextvars',
      '_weakrefset',
      'warnings',
      'threading',


_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to