public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mercurial] rawhide: Fix compatibility with python 3.15.0b1
@ 2026-06-03 9:50 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-06-03 9:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mercurial
Branch : rawhide
Commit : e4cd45bf19dafa93f2a53e5a17ca8f71d659db03
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-05-21T16:55:51+02:00
Stats : +26/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mercurial/c/e4cd45bf19dafa93f2a53e5a17ca8f71d659db03?branch=rawhide
Log:
Fix compatibility with python 3.15.0b1
---
diff --git a/fix-compat-with-python315.patch b/fix-compat-with-python315.patch
new file mode 100644
index 0000000..8770c29
--- /dev/null
+++ b/fix-compat-with-python315.patch
@@ -0,0 +1,25 @@
+From a9faa827e7c686f92ddc53e87a057f554298ad10 Mon Sep 17 00:00:00 2001
+From: Karolina Surma <ksurma@redhat.com>
+Date: Thu, 21 May 2026 16:49:41 +0200
+Subject: [PATCH] Fix build with Python 3.15.0b1
+
+---
+ hgdemandimport/__init__.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/hgdemandimport/__init__.py b/hgdemandimport/__init__.py
+index 206512a..f10c90b 100644
+--- a/hgdemandimport/__init__.py
++++ b/hgdemandimport/__init__.py
+@@ -69,6 +69,8 @@ IGNORES = {
+ 'copy',
+ 'difflib',
+ 'decimal',
++ 'tomllib._re',
++ 'inspect',
+ }
+
+ _pypy = '__pypy__' in sys.builtin_module_names
+--
+2.54.0
+
diff --git a/mercurial.spec b/mercurial.spec
index 29eab6b..a7a51f9 100644
--- a/mercurial.spec
+++ b/mercurial.spec
@@ -23,6 +23,7 @@ Source0: https://www.mercurial-scm.org/release/%{name}-%{upstreamversion}.tar.gz
Source1: mercurial-site-start.el
# Patch cargo metadata for dependency versions available in Fedora
Patch0: mercurial-rust-metadata.patch
+Patch1: fix-compat-with-python315.patch
BuildRequires: make
BuildRequires: emacs-el
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-03 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 9:50 [rpms/mercurial] rawhide: Fix compatibility with python 3.15.0b1 Karolina Surma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox