It spews out about 57k lines of errors and miserably fails to install. The tail:
FAILED gitlint/__init__.py::mypy-status
FAILED gitlint/tests/cli/test_cli_hooks.py::ruff::format - pytest_ruff.RuffEr...
FAILED gitlint/contrib/rules/conventional_commit.py::ruff - pytest_ruff.RuffE...
FAILED gitlint/tests/base.py::ruff - pytest_ruff.RuffError: gitlint/tests/bas...
FAILED gitlint/hooks.py::ruff::format - pytest_ruff.RuffError: File would be ...
FAILED gitlint/tests/config/test_config_builder.py::ruff::format - pytest_ruf...
FAILED gitlint/rule_finder.py::ruff::format - pytest_ruff.RuffError: File wou...
FAILED gitlint/contrib/rules/authors_commit.py::ruff::format - pytest_ruff.Ru...
FAILED gitlint/config.py::ruff::format - pytest_ruff.RuffError: File would be...
FAILED gitlint/git.py::ruff::format - pytest_ruff.RuffError: File would be re...
FAILED gitlint/shell.py::ruff - pytest_ruff.RuffError: gitlint/shell.py:14:32...
FAILED gitlint/deprecation.py::ruff - pytest_ruff.RuffError: gitlint/deprecat...
FAILED gitlint/tests/git/test_git_commit.py::ruff - pytest_ruff.RuffError: gi...
FAILED gitlint/tests/git/test_git.py::ruff::format - pytest_ruff.RuffError: F...
FAILED gitlint/tests/git/test_git_context.py::ruff - pytest_ruff.RuffError: g...
FAILED gitlint/contrib/rules/conventional_commit.py::ruff::format - pytest_ru...
FAILED gitlint/lint.py::ruff::format - pytest_ruff.RuffError: File would be r...
FAILED gitlint/tests/rules/test_body_rules.py::ruff::format - pytest_ruff.Ruf...
FAILED gitlint/tests/contrib/rules/test_conventional_commit.py::ruff::format
FAILED gitlint/tests/base.py::ruff::format - pytest_ruff.RuffError: File woul...
FAILED gitlint/tests/git/test_git.py::ruff - pytest_ruff.RuffError: gitlint/t...
FAILED gitlint/tests/contrib/rules/test_signedoff_by.py::ruff::format - pytes...
FAILED gitlint/tests/samples/user_rules/import_exception/invalid_python.py::mypy
FAILED gitlint/rules.py::ruff - pytest_ruff.RuffError: gitlint/rules.py:13:20...
FAILED gitlint/display.py::ruff - pytest_ruff.RuffError: gitlint/display.py:1...
FAILED gitlint/tests/git/test_git_commit.py::ruff::format - pytest_ruff.RuffE...
FAILED gitlint/tests/contrib/rules/test_authors_commit.py::ruff::format - pyt...
FAILED gitlint/tests/git/test_git_context.py::ruff::format - pytest_ruff.Ruff...
FAILED gitlint/shell.py::ruff::format - pytest_ruff.RuffError: File would be ...
FAILED gitlint/tests/rules/test_rules.py::ruff::format - pytest_ruff.RuffErro...
FAILED gitlint/tests/cli/test_cli.py::ruff - pytest_ruff.RuffError: gitlint/t...
FAILED gitlint/tests/contrib/rules/test_disallow_cleanup_commits.py::ruff::format
FAILED gitlint/tests/rules/test_title_rules.py::ruff::format - pytest_ruff.Ru...
FAILED gitlint/tests/samples/user_rules/my_commit_rules.py::ruff - pytest_ruf...
FAILED gitlint/tests/rules/test_user_rules.py::ruff::format - pytest_ruff.Ruf...
FAILED gitlint/tests/rules/test_configuration_rules.py::ruff::format - pytest...
FAILED gitlint/tests/samples/user_rules/parent_package/__init__.py::ruff - py...
FAILED gitlint/tests/cli/test_cli.py::ruff::format - pytest_ruff.RuffError: F...
FAILED gitlint/tests/samples/user_rules/parent_package/my_commit_rules.py::ruff
FAILED gitlint/tests/test_hooks.py::ruff::format - pytest_ruff.RuffError: Fil...
FAILED gitlint/tests/rules/test_meta_rules.py::ruff::format - pytest_ruff.Ruf...
FAILED gitlint/tests/samples/user_rules/my_commit_rules.py::ruff::format - py...
FAILED gitlint/tests/test_options.py::ruff::format - pytest_ruff.RuffError: F...
FAILED gitlint/utils.py::ruff::format - pytest_ruff.RuffError: File would be ...
FAILED gitlint/tests/test_deprecation.py::ruff::format - pytest_ruff.RuffErro...
FAILED gitlint/tests/test_lint.py::ruff::format - pytest_ruff.RuffError: File...
======================== 54 failed, 385 passed in 3.62s ========================
==> ERROR: A failure occurred in check().
Aborting...
-> error making: gitlint-exit status 4
checking dependencies...
Packages (5) python-editables-0.5-3 python-pathspec-0.12.1-2 python-setuptools-scm-8.1.0-1 python-hatch-vcs-0.4.0-3 python-hatchling-1.24.2-1
Total Removed Size: 1.70 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
removing python-hatch-vcs...
removing python-setuptools-scm...
removing python-hatchling...
removing python-pathspec...
removing python-editables...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
-> Failed to install the following packages. Manual intervention is required:
gitlint - exit status 4
Pinned Comments
carsme commented on 2023-07-25 06:39 (UTC)
Updating to version 0.17.0-6 requires manual intervention - gitlint must be explicitly uninstalled and installed from scratch. Updating in-place from 0.17.0-5 to 0.17.0-6 causes a conflict for the completion files.