Initial commit

This commit is contained in:
EnumDev committed 2026-09-25 19:55:20 +03:00
commit 9c76232178
6 files changed
+145

No files matched your search

@@ -0,0 +1,32 @@
From a44312974bd9084aa568d2e18ce5b2a7e0e45983 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]>
Date: Mon, 23 Oct 2023 15:18:02 +0200
Subject: [PATCH] Remove unittest.makeSuite, gone from Python 3.13
See https://docs.python.org/3.13/whatsnew/3.13.html
"""
Removed the following unittest functions, deprecated in Python 3.11:
unittest.findTestCases()
unittest.makeSuite()
unittest.getTestCaseNames()
"""
The removed call does not seem to have any effect when the file is executed
directly, run trough unittest discover or pytest.
---
tests/test_invalid_binary.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tests/test_invalid_binary.py b/tests/test_invalid_binary.py
index cf28098..545f9f7 100755
--- a/tests/test_invalid_binary.py
+++ b/tests/test_invalid_binary.py
@@ -69,6 +69,3 @@ def test_invalid_binary(self):
if __name__ == '__main__':
unittest.main()
-
-suite = unittest.makeSuite(InvalidBinaryChars,'test')
-
+45
View File
@@ -0,0 +1,45 @@
From a4fe40cd2d41363d3915cf00b4607e1cf2bb154f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
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 <[email protected]>
---
pyproject.toml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 5228534..c8d7d3a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,13 +1,14 @@
[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 = "[email protected]"
-home-page = "https://github.com/pexpect/ptyprocess"
-description-file = "README.rst"
+[project]
+name = "ptyprocess"
+authors = [
+ { name = "Thomas Kluyver", email = "[email protected]" },
+]
+readme = "README.rst"
+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"