diff -Naur ptyprocess-0.7.0.orig/pyproject.toml ptyprocess-0.7.0/pyproject.toml
--- ptyprocess-0.7.0.orig/pyproject.toml	2026-05-10 22:00:08.884919664 +0200
+++ ptyprocess-0.7.0/pyproject.toml	2026-05-10 22:03:47.181855495 +0200
@@ -1,13 +1,9 @@
 [build-system]
-requires = ["flit_core >=2,<4"]
+requires = ["flit_core >=3.2,<5"]
 build-backend = "flit_core.buildapi"
 
-[tool.flit.metadata]
-module = "ptyprocess"
-author = "Thomas Kluyver"
-author-email = "thomas@kluyver.me.uk"
-home-page = "https://github.com/pexpect/ptyprocess"
-description-file = "README.rst"
+[project]
+name = "ptyprocess"
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Environment :: Console",
@@ -21,4 +17,5 @@
     "Programming Language :: Python :: 3",
     "Topic :: Terminals"
 ]
-
+requires-python = ">=3.7"
+dynamic = ["version", "description"]
