diff --git a/pre_commit-2.20.0.tar.gz b/pre_commit-2.20.0.tar.gz deleted file mode 100644 index 29904b4..0000000 --- a/pre_commit-2.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:380ca8e6ea7d4b3d851b6656aa861e51fa52e023b82e2b0781d43a602f9cb81f -size 266604 diff --git a/pre_commit-2.21.0.tar.gz b/pre_commit-2.21.0.tar.gz new file mode 100644 index 0000000..6259ec4 --- /dev/null +++ b/pre_commit-2.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a1dc8836fcc8ddf960f778444ebec2da0323319f1832fc9f9c7db34a4e0c5a0 +size 270532 diff --git a/python-pre-commit.changes b/python-pre-commit.changes index c19b6e0..690b36b 100644 --- a/python-pre-commit.changes +++ b/python-pre-commit.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Jan 2 20:10:56 UTC 2023 - Dirk Müller + +- update to 2.21.0: + * Require new-enough virtualenv to prevent 3.10 breakage + * Respect aliases with `SKIP` for environment install. + * Allow `pre-commit run --files` against unmerged paths. + * Also apply regex warnings to `repo: local` hooks. + * `rust` is now a "first class" language -- supporting `language_version` + * `r` now uses more-reliable binary installation. + * `GIT_ALLOW_PROTOCOL` is now passed through for git operations. + * `GIT_ASKPASS` is now passed through for git operations. + * Remove `toml` dependency by using `cargo add` directly. + * Support `dotnet` hooks which have dotted prefixes. + * ### Fixes + * Properly adjust `--commit-msg-filename` if run from a sub directory. + * Simplify `--intent-to-add` detection by using `git diff`. + * Fix `R.exe` selection on windows. + * Skip default `nuget` source when installing `dotnet` packages. + ------------------------------------------------------------------- Mon Nov 28 07:01:26 UTC 2022 - Daniel Garcia diff --git a/python-pre-commit.spec b/python-pre-commit.spec index 26d5094..72fc806 100644 --- a/python-pre-commit.spec +++ b/python-pre-commit.spec @@ -1,7 +1,7 @@ # # spec file for package python-pre-commit # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # 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 @@ %define skip_python2 1 Name: python-pre-commit -Version: 2.20.0 +Version: 2.21.0 Release: 0 Summary: Multi-language pre-commit hooks License: MIT @@ -93,7 +93,8 @@ EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_rust_additional_dependencies or te EXCLUDED_TESTS="$EXCLUDED_TESTS or conda or test_perl_hook or test_local_perl_additional_dependencies" EXCLUDED_TESTS="$EXCLUDED_TESTS or dart or dotnet or r_ or node or ruby" EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_lua_additional_dependencies" -EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_python_repo_python2" +# rust_tests use rustup which require network +EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_python_repo_python2 or rust_test" # Fix issue with git submodule in OBS git config --global --add protocol.file.allow always