public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattias Ellert <mattias.ellert@physics.uu.se>
To: git-commits@fedoraproject.org
Subject: [rpms/python-metakernel] rawhide: Ignore DeprecationWarning from Python 3.15
Date: Fri, 05 Jun 2026 20:42:56 GMT [thread overview]
Message-ID: <178069217636.1.16441901446668258793.rpms-python-metakernel-a5ef023859bc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-metakernel
Branch : rawhide
Commit : a5ef023859bc9c5928434aa029169b7a9e45d930
Author : Mattias Ellert <mattias.ellert@physics.uu.se>
Date : 2026-06-05T22:41:55+02:00
Stats : +31/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-metakernel/c/a5ef023859bc9c5928434aa029169b7a9e45d930?branch=rawhide
Log:
Ignore DeprecationWarning from Python 3.15
---
diff --git a/0001-Ignore-DeprecationWarning-from-Python-3.15.patch b/0001-Ignore-DeprecationWarning-from-Python-3.15.patch
new file mode 100644
index 0000000..879f602
--- /dev/null
+++ b/0001-Ignore-DeprecationWarning-from-Python-3.15.patch
@@ -0,0 +1,25 @@
+From 530590b5a05e59e2bbccfd836bf1265e42738b84 Mon Sep 17 00:00:00 2001
+From: Mattias Ellert <mattias.ellert@physics.uu.se>
+Date: Mon, 4 May 2026 21:14:36 +0200
+Subject: [PATCH] Ignore DeprecationWarning from Python 3.15
+
+---
+ pyproject.toml | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 1ea1bdc..5341606 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -100,6 +100,8 @@ filterwarnings= [
+ "module:'setParseAction' deprecated - use 'set_parse_action':DeprecationWarning",
+ # This is resolved in newer versions of Jupyter Core that removed the warning.
+ "module:Jupyter is migrating its paths:DeprecationWarning",
++ # Warning from Python 3.15 (/usr/lib64/python3.15/pty.py)
++ "module:This process \\(pid=.*\\) is multi-threaded, use of forkpty\\(\\) may lead to deadlocks in the child:DeprecationWarning:pty",
+ ]
+
+ [tool.coverage.report]
+--
+2.54.0
+
diff --git a/python-metakernel.spec b/python-metakernel.spec
index d97d01e..7486286 100644
--- a/python-metakernel.spec
+++ b/python-metakernel.spec
@@ -12,6 +12,8 @@ Summary: Metakernel for Jupyter
License: BSD-3-Clause
URL: https://github.com/Calysto/metakernel
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# https://github.com/Calysto/metakernel/pull/439
+Patch0: 0001-Ignore-DeprecationWarning-from-Python-3.15.patch
BuildArch: noarch
# For metakernel_echo and metakernel_python
@@ -69,6 +71,7 @@ A simple echo kernel for Jupyter/IPython, based on MetaKernel.
%prep
%setup -q -n metakernel-%{pkgversion}
+%patch -P0 -p1
# Allow older pytest versions
sed -e /minversion/d -e /strict/d -i pyproject.toml
@@ -123,6 +126,9 @@ wait $pid
%{_datadir}/jupyter/kernels/metakernel_echo
%changelog
+* Fri Jun 05 2026 Mattias Ellert <mattias.ellert@physics.uu.se> - 1.0.4-2
+- Ignore DeprecationWarning from Python 3.15
+
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 1.0.4-2
- Rebuilt for Python 3.15
reply other threads:[~2026-06-05 20:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178069217636.1.16441901446668258793.rpms-python-metakernel-a5ef023859bc@fedoraproject.org \
--to=mattias.ellert@physics.uu.se \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox