From 41d2cdf1762983a59504bae875995ce489ed9c0f Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:06:41 +0000 Subject: [PATCH 1/7] test: ignore Python 3.10 FutureWarning --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index af6ea79..91d7f1a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -11,3 +11,5 @@ filterwarnings = ignore:.*pkg_resources is deprecated as an API:DeprecationWarning # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning + # Remove after support for Python 3.10 is dropped + ignore:.*You are using a Python version (3.10).*:FutureWarning From 80de31a88c02d9fe9749032c83e24bf51ca4896e Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:12:39 +0000 Subject: [PATCH 2/7] correct regex --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 91d7f1a..17142ba 100644 --- a/pytest.ini +++ b/pytest.ini @@ -12,4 +12,4 @@ filterwarnings = # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning # Remove after support for Python 3.10 is dropped - ignore:.*You are using a Python version (3.10).*:FutureWarning + ignore:.*You are using a Python version (3.10.*):FutureWarning From 9886918936db337fc140b3f05bdd8f53e3fcf537 Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:21:02 +0000 Subject: [PATCH 3/7] regex --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 17142ba..daa5f75 100644 --- a/pytest.ini +++ b/pytest.ini @@ -12,4 +12,4 @@ filterwarnings = # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning # Remove after support for Python 3.10 is dropped - ignore:.*You are using a Python version (3.10.*):FutureWarning + ignore:.*You are using a Python version \(3\.10:FutureWarning From b5522ae5cb37dcb254e72751a552374e44f82136 Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:26:24 +0000 Subject: [PATCH 4/7] also ignore DeprecationWarning for python 3.8 --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index daa5f75..1efdbdb 100644 --- a/pytest.ini +++ b/pytest.ini @@ -11,5 +11,7 @@ filterwarnings = ignore:.*pkg_resources is deprecated as an API:DeprecationWarning # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning + # Remove after support for Python 3.8 is dropped + ignore:After January 1, 2024, new releases of this library will drop support for Python 3.8:DeprecationWarning # Remove after support for Python 3.10 is dropped ignore:.*You are using a Python version \(3\.10:FutureWarning From 22aefe99d0ed0176f09693912518b32c8bed825b Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:34:41 +0000 Subject: [PATCH 5/7] regex --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 1efdbdb..5a56fb1 100644 --- a/pytest.ini +++ b/pytest.ini @@ -12,6 +12,6 @@ filterwarnings = # Remove after support for Python 3.7 is dropped ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning # Remove after support for Python 3.8 is dropped - ignore:After January 1, 2024, new releases of this library will drop support for Python 3.8:DeprecationWarning + ignore:You are using a non-supported Python version \(3\.8:DeprecationWarning # Remove after support for Python 3.10 is dropped ignore:.*You are using a Python version \(3\.10:FutureWarning From fe42be8092ccd7a1eabf41af01adeb103f4b2b1e Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:38:55 +0000 Subject: [PATCH 6/7] regex --- pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.ini b/pytest.ini index 5a56fb1..7e2bdc3 100644 --- a/pytest.ini +++ b/pytest.ini @@ -13,5 +13,6 @@ filterwarnings = ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning # Remove after support for Python 3.8 is dropped ignore:You are using a non-supported Python version \(3\.8:DeprecationWarning + ignore:You are using a non-supported Python version \(3\.8:FutureWarning # Remove after support for Python 3.10 is dropped ignore:.*You are using a Python version \(3\.10:FutureWarning From e426aaae5668570fbe8816fce5d4c9c1e5f1b12e Mon Sep 17 00:00:00 2001 From: Linchin Date: Tue, 4 Nov 2025 23:41:57 +0000 Subject: [PATCH 7/7] add 3.9 --- pytest.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 7e2bdc3..9089042 100644 --- a/pytest.ini +++ b/pytest.ini @@ -13,6 +13,8 @@ filterwarnings = ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning # Remove after support for Python 3.8 is dropped ignore:You are using a non-supported Python version \(3\.8:DeprecationWarning - ignore:You are using a non-supported Python version \(3\.8:FutureWarning + ignore:You are using a non-supported Python version \(3\.8:FutureWarning + # Remove after support for Python 3.9 is dropped + ignore:You are using a Python version \(3\.9:FutureWarning # Remove after support for Python 3.10 is dropped ignore:.*You are using a Python version \(3\.10:FutureWarning