Package: src:ipykernel
Version: 7.2.0-2
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that ipykernel fails to build from source [1].
Warnings are configured to be treated as errors during the tests and
Python 3.15 produces a new warning when using threads and fork. I added
a patch the ignores the new warning during the tests

I applied the fix in the sandbox [2] to be able to build the packages
that depend on ipykernel, please consider applying the patch to support
the upcoming 3.15 version.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4495657/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Ignore fork in multi-threaded process deprecation warning
 Ignore DeprecationWarning about fork/forkpty in multi-threaded process in tests.
Forwarded: not-needed

Index: ipykernel/pyproject.toml
===================================================================
--- ipykernel.orig/pyproject.toml
+++ ipykernel/pyproject.toml
@@ -177,6 +177,9 @@ filterwarnings= [
   # ignore unclosed sqlite in traits
   "ignore:unclosed database in <sqlite3.Connection:ResourceWarning",
 
+  # Ignore multi-threaded fork deprecation warning
+  "ignore:This process .* is multi-threaded, use of fork:DeprecationWarning",
+
   # ignore deprecated non async during tests:
   "always:For consistency across implementations, it is recommended that:PendingDeprecationWarning",
 

Reply via email to