diff --git a/python-calmjs.changes b/python-calmjs.changes index 2a21148..c07a42f 100644 --- a/python-calmjs.changes +++ b/python-calmjs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 27 16:46:53 UTC 2025 - Markéta Machová + +- Tweak support-python-313.patch to adapt to yet another change + in argparse + ------------------------------------------------------------------- Tue Jan 7 03:37:22 UTC 2025 - Steve Kowalik diff --git a/support-python-313.patch b/support-python-313.patch index be0631a..dab784a 100644 --- a/support-python-313.patch +++ b/support-python-313.patch @@ -46,7 +46,7 @@ Index: calmjs-3.4.4/src/calmjs/tests/test_argparse.py - self.assertIn("(choose from '1', '2', '3')", sys.stderr.getvalue()) + msg = "(choose from '1', '2', '3')" -+ if sys.version_info[:2] == (3, 12): ++ if sys.version_info[:2] >= (3, 12): + msg = "(choose from 1, 2, 3)" + self.assertIn(msg, sys.stderr.getvalue())