https://github.com/pexpect/ptyprocess/pull/84 From d1602e88ec2a3fa7b7cf429c255e04d2dc2a0c8e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 23 Oct 2023 17:45:55 +0100 Subject: [PATCH] Bump required Python version to 3.7 --- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5228534..1aad0c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ author = "Thomas Kluyver" author-email = "thomas@kluyver.me.uk" home-page = "https://github.com/pexpect/ptyprocess" description-file = "README.rst" +requires-python = ">=3.7" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -17,7 +18,6 @@ classifiers = [ "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Terminals" ] From c7fcf9ea8414c2815f7f1b1ae8baf92b1cad9ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Aug 2026 17:10:13 +0200 Subject: [PATCH] Use PEP 621 metadata to fix flit-core-4 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- pyproject.toml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1aad0c0..bca7599 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,15 @@ [build-system] -requires = ["flit_core >=2,<4"] +requires = ["flit_core >=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" +authors = [ + { name = "Thomas Kluyver", email = "thomas@kluyver.me.uk" }, +] +readme = "README.rst" requires-python = ">=3.7" +dynamic = ["version", "description"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -22,3 +23,5 @@ classifiers = [ "Topic :: Terminals" ] +[project.urls] +Homepage = "https://github.com/pexpect/ptyprocess"