I am packing the package because one package's build-dependence is bump2version, but
it seems the test fail on test_usage_string.
I would appreciate it if someone could help me to fix it.
for option_line in EXPECTED_OPTIONS:
assert option_line in out, "Usage string is missing {}".format(option_line)
> assert EXPECTED_USAGE in out
E AssertionError: assert 'bumpversion: v1.0.1 (using Python v3.11.5)\n\npositional arguments:\n part Part of the ve
rsion to b...→ {new_version})\n --commit-args COMMIT_ARGS\n Extra arguments to commit command (default: )\n' in 'us
age: bumpversion [-h] [--config-file FILE] [--verbose] [--list]\n [--allow-dirty] [--parse REGEX]...→ {new_version})\n -
-commit-args COMMIT_ARGS\n Extra arguments to commit command (default: )\n'
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_cli.py:188: AssertionError
=============================== warnings summary ===============================
bumpversion/cli.py:9
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/bumpversion/cli.py:9: DeprecationWarning: module 'sre_constants' is deprecated
import sre_constants
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_cli.py::test_usage_string - AssertionError: assert 'bumpver...
I am packing the package because one package's build-dependence is bump2version, but it seems the test fail on test_usage_string. I would appreciate it if someone could help me to fix it.