From a99bfbb545c4d7db3f2d00ff27c8129e2bfa842d Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 31 Mar 2024 21:18:11 +0200 Subject: [PATCH 1/3] FIX check properly for Python version in tests --- imblearn/utils/tests/test_docstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imblearn/utils/tests/test_docstring.py b/imblearn/utils/tests/test_docstring.py index 133701f8d..4a0753663 100644 --- a/imblearn/utils/tests/test_docstring.py +++ b/imblearn/utils/tests/test_docstring.py @@ -67,7 +67,7 @@ def __init__(self, param_1, param_2): self.param_2 = param_2 -if sys.version_info.minor == "13": +if sys.version_info >= (3, 13): func_docstring = _dedent_docstring(func_docstring) cls_docstring = _dedent_docstring(cls_docstring) From 7c93be3f1f0d0230e4b3466564d75d248ab25b9e Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 31 Mar 2024 21:20:38 +0200 Subject: [PATCH 2/3] add changelog --- doc/whats_new/v0.12.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/whats_new/v0.12.rst b/doc/whats_new/v0.12.rst index 741b9173e..24bfd3076 100644 --- a/doc/whats_new/v0.12.rst +++ b/doc/whats_new/v0.12.rst @@ -1,9 +1,23 @@ .. _changes_0_12: +Version 0.12.2 +============== + +**March 31, 2024** + +Changelog +--------- + +Bug fixes +......... + +- Fix the way we check for a specific Python version in the test suite. + :pr:`zxxx` by :user:`Guillaume Lemaitre `. + Version 0.12.1 ============== -**In progress** +**March 31, 2024** Changelog --------- From c1552ebf26c7f2fe5375f413bb31fa72d48b4966 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 31 Mar 2024 21:21:40 +0200 Subject: [PATCH 3/3] update changelogf --- doc/whats_new/v0.12.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whats_new/v0.12.rst b/doc/whats_new/v0.12.rst index 24bfd3076..1213f1f56 100644 --- a/doc/whats_new/v0.12.rst +++ b/doc/whats_new/v0.12.rst @@ -12,7 +12,7 @@ Bug fixes ......... - Fix the way we check for a specific Python version in the test suite. - :pr:`zxxx` by :user:`Guillaume Lemaitre `. + :pr:`1075` by :user:`Guillaume Lemaitre `. Version 0.12.1 ==============