diff -pruN 8.35.0-1/debian/.gitignore 8.35.0-2/debian/.gitignore
--- 8.35.0-1/debian/.gitignore	1970-01-01 00:00:00.000000000 +0000
+++ 8.35.0-2/debian/.gitignore	2025-09-10 09:16:35.000000000 +0000
@@ -0,0 +1 @@
+/files
diff -pruN 8.35.0-1/debian/changelog 8.35.0-2/debian/changelog
--- 8.35.0-1/debian/changelog	2025-04-26 19:20:13.000000000 +0000
+++ 8.35.0-2/debian/changelog	2025-09-10 09:16:35.000000000 +0000
@@ -1,3 +1,10 @@
+ipython (8.35.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix marking of async tests for current pytest.
+
+ -- Colin Watson <cjwatson@debian.org>  Wed, 10 Sep 2025 10:16:35 +0100
+
 ipython (8.35.0-1) unstable; urgency=medium
 
   * New upstream version 8.35.0
diff -pruN 8.35.0-1/debian/control 8.35.0-2/debian/control
--- 8.35.0-1/debian/control	2025-04-26 19:20:13.000000000 +0000
+++ 8.35.0-2/debian/control	2025-09-10 09:16:35.000000000 +0000
@@ -6,7 +6,7 @@ Section: python
 Standards-Version: 4.7.2
 Homepage: https://github.com/ipython/ipython
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                pybuild-plugin-pyproject,
                black,
                python3-all,
@@ -34,6 +34,7 @@ Testsuite: autopkgtest-pkg-python
 
 Package: python-ipython-doc
 Architecture: all
+Multi-Arch: foreign
 Section: doc
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
 Description: Enhanced interactive Python shell (documentation)
diff -pruN 8.35.0-1/debian/patches/pytest-asyncio-marks.patch 8.35.0-2/debian/patches/pytest-asyncio-marks.patch
--- 8.35.0-1/debian/patches/pytest-asyncio-marks.patch	1970-01-01 00:00:00.000000000 +0000
+++ 8.35.0-2/debian/patches/pytest-asyncio-marks.patch	2025-09-10 09:16:35.000000000 +0000
@@ -0,0 +1,79 @@
+From: M Bussonnier <bussonniermatthias@gmail.com>
+Date: Sat, 22 Feb 2025 19:51:26 +0100
+Subject: Fix a number of pytest warnings
+
+Origin: backport, https://github.com/ipython/ipython/pull/14759
+Last-Update: 2025-09-04
+---
+ IPython/conftest.py              | 13 -------------
+ IPython/core/tests/test_magic.py |  5 +++++
+ 2 files changed, 5 insertions(+), 13 deletions(-)
+
+diff --git a/IPython/conftest.py b/IPython/conftest.py
+index abf6131..4f688e6 100644
+--- a/IPython/conftest.py
++++ b/IPython/conftest.py
+@@ -14,19 +14,6 @@
+ from .testing import tools
+ 
+ 
+-def pytest_collection_modifyitems(items):
+-    """This function is automatically run by pytest passing all collected test
+-    functions.
+-
+-    We use it to add asyncio marker to all async tests and assert we don't use
+-    test functions that are async generators which wouldn't make sense.
+-    """
+-    for item in items:
+-        if inspect.iscoroutinefunction(item.obj):
+-            item.add_marker("asyncio")
+-        assert not inspect.isasyncgenfunction(item.obj)
+-
+-
+ def get_ipython():
+     from .terminal.interactiveshell import TerminalInteractiveShell
+     if TerminalInteractiveShell._instance:
+diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py
+index 4e16700..9534bd8 100644
+--- a/IPython/core/tests/test_magic.py
++++ b/IPython/core/tests/test_magic.py
+@@ -1190,6 +1190,7 @@ def test_script_out_err():
+     assert ip.user_ns["error"].strip() == "hello"
+ 
+ 
++@pytest.mark.asyncio
+ async def test_script_bg_out():
+     ip = get_ipython()
+     ip.run_cell_magic("script", f"--bg --out output {sys.executable}", "print('hi')")
+@@ -1197,6 +1198,7 @@ async def test_script_bg_out():
+     assert ip.user_ns["output"].at_eof()
+ 
+ 
++@pytest.mark.asyncio
+ async def test_script_bg_err():
+     ip = get_ipython()
+     ip.run_cell_magic(
+@@ -1208,6 +1210,7 @@ async def test_script_bg_err():
+     assert ip.user_ns["error"].at_eof()
+ 
+ 
++@pytest.mark.asyncio
+ async def test_script_bg_out_err():
+     ip = get_ipython()
+     ip.run_cell_magic(
+@@ -1227,6 +1230,7 @@ async def test_script_bg_out_err():
+     assert ip.user_ns["error"].at_eof()
+ 
+ 
++@pytest.mark.asyncio
+ async def test_script_bg_proc():
+     ip = get_ipython()
+     ip.run_cell_magic(
+@@ -1261,6 +1265,7 @@ def test_script_defaults():
+             assert cmd in ip.magics_manager.magics["cell"]
+ 
+ 
++@pytest.mark.asyncio
+ async def test_script_streams_continiously(capsys):
+     ip = get_ipython()
+     # Windows is slow to start up a thread on CI
diff -pruN 8.35.0-1/debian/patches/series 8.35.0-2/debian/patches/series
--- 8.35.0-1/debian/patches/series	2025-04-26 19:20:13.000000000 +0000
+++ 8.35.0-2/debian/patches/series	2025-09-10 09:16:35.000000000 +0000
@@ -1,2 +1,3 @@
 0002-Update-intersphinx-links-for-local-access.patch
 0003-Drop-setuptools-data_files.patch
+pytest-asyncio-marks.patch
diff -pruN 8.35.0-1/debian/rules 8.35.0-2/debian/rules
--- 8.35.0-1/debian/rules	2025-04-26 19:20:13.000000000 +0000
+++ 8.35.0-2/debian/rules	2025-09-10 09:16:35.000000000 +0000
@@ -7,7 +7,7 @@ DEB_VERSION_MAJOR := $(shell echo $(DEB_
 export LC_ALL=C.UTF-8
 
 %:
-	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+	dh $@ --with sphinxdoc --buildsystem=pybuild
 
 execute_after_dh_auto_install:
 	rm debian/tmp/usr/bin/ipython
