diff --git a/pre-commit-4.0.1.tar.gz b/pre-commit-4.0.1.tar.gz deleted file mode 100644 index 931434b..0000000 --- a/pre-commit-4.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12b3e5ea4b2e378a38ba03b0260b331b416840dd3d8cb3c169a46c7343f9c9f0 -size 286821 diff --git a/pre-commit-4.5.1.tar.gz b/pre-commit-4.5.1.tar.gz new file mode 100644 index 0000000..6614d30 --- /dev/null +++ b/pre-commit-4.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddfbb07ab492c30086af097c8346d8c4d0fc2fd3d5c19129e2df86c4db9e4aa9 +size 299858 diff --git a/python-pre-commit.changes b/python-pre-commit.changes index ff0c13a..a152391 100644 --- a/python-pre-commit.changes +++ b/python-pre-commit.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Jan 19 02:10:06 UTC 2026 - Steve Kowalik + +- Update to 4.5.1: + * Features + + Add pre-commit hazmat. + + Add --fail-fast option to pre-commit + + Upgrade ruby-build / rbenv. + + Add language: unsupported / language: unsupported_script as aliases for + language: system / language: script (which will eventually be + deprecated). + + Add support docker-in-docker detection for cgroups v2. + + language: docker / language: docker_image: detect rootless docker. + + For language: python first attempt a versioned python executable for + the default language version before consulting a potentially + unversioned sys.executable. + + language: julia: avoid startup.jl when executing hooks + + language: dart: support latest dart versions which require a higher sdk + + Add language: julia. + * Fixes + + Fix language: python with repo: local without additional_dependencies. + + Handle when docker gives SecurityOptions: null. + + Fix error context for invalid stages in .pre-commit-config.yaml. + + Handle error during conflict detection when a file is named "HEAD" + + Disable automatic toolchain switching for language: golang. + + Fix language: r installation when initiated by RStudio. + ------------------------------------------------------------------- Fri Nov 15 10:58:24 UTC 2024 - Marina Latini diff --git a/python-pre-commit.spec b/python-pre-commit.spec index 650d62b..f4ddc36 100644 --- a/python-pre-commit.spec +++ b/python-pre-commit.spec @@ -1,7 +1,7 @@ # # spec file for package python-pre-commit # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pre-commit -Version: 4.0.1 +Version: 4.5.1 Release: 0 Summary: Multi-language pre-commit hooks License: MIT @@ -94,6 +94,7 @@ export GIT_AUTHOR_NAME=test GIT_COMMITTER_NAME=test \ EXCLUDED_TESTS="test_main or test_run_a_node_hook or test_run_versioned_node_hook or test_additional_node_dependencies_installed or test_node_hook_with_npm_userconfig_set" EXCLUDED_TESTS="$EXCLUDED_TESTS or test_run_versioned_ruby_hook or test_run_ruby_hook_with_disable_shared_gems or test_additional_dependencies_roll_forward" EXCLUDED_TESTS="$EXCLUDED_TESTS or test_golang or test_additional_ruby_ or test_additional_golang_ or test_additional_rust_ or test_rust" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_automatic_toolchain_switching" EXCLUDED_TESTS="$EXCLUDED_TESTS or test_switch_language_versions_doesnt_clobber or test_run_a_ruby_hook or test_local_golang_additional_deps" EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_rust_additional_dependencies or test_installed_from_venv" EXCLUDED_TESTS="$EXCLUDED_TESTS or conda or test_perl_hook or test_local_perl_additional_dependencies" @@ -109,6 +110,18 @@ EXCLUDED_TESTS="$EXCLUDED_TESTS or test_lua_additional_dependencies" EXCLUDED_TESTS="$EXCLUDED_TESTS or (golang_test and test_during_commit_all)" # requires swift EXCLUDED_TESTS="$EXCLUDED_TESTS or test_swift_language" +# requires juliaup which require network +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_julia_hook or test_julia_repo_local" +# requires setuptools, does not respect PIP_WHEEL_DIR +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_healthy_default_creator or test_healthy_venv_creator" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_unhealthy_python_goes_missing or test_unhealthy_with_version_change" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_unhealthy_system_version_changes or test_unhealthy_old_virtualenv" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_unhealthy_unexpected_pyvenv or test_unhealthy_then_replaced" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_language_versioned_python_hook or test_simple_python_hook" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_simple_python_hook_default_version or test_python_hook_weird_setup_cfg" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_repository_state_compatibility or test_reinstall" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_control_c_control_c_on_install or test_invalidated_virtualenv" +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_really_long_file_paths or test_local_python_repo" %if 0%{?sle_version} <= 150700 # requires network on Leap or SUSE Linux Enterprise EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"