diff --git a/pre_commit-2.17.0.tar.gz b/pre_commit-2.17.0.tar.gz deleted file mode 100644 index 48644f4..0000000 --- a/pre_commit-2.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e56334138c15a173742f9bc3f8a06f4abf53656b449560a280cb85a5846fc4b9 -size 261131 diff --git a/pre_commit-2.18.1.tar.gz b/pre_commit-2.18.1.tar.gz new file mode 100644 index 0000000..53ee6f8 --- /dev/null +++ b/pre_commit-2.18.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:789cdf1878fb475b0d84620cd9f90400f68e102588db60abc04916268266f372 +size 263642 diff --git a/python-pre-commit.changes b/python-pre-commit.changes index 33370ee..c81c6f0 100644 --- a/python-pre-commit.changes +++ b/python-pre-commit.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Thu Apr 7 11:39:58 UTC 2022 - pgajdos@suse.com + +- version update to 2.18.1 + 2.18.1 - 2022-04-02 + =================== + ### Fixes + - Fix regression for `repo: local` hooks running `python<3.7` + - #2324 PR by @asottile. + 2.18.0 - 2022-04-02 + =================== + ### Features + - Keep `GIT_HTTP_PROXY_AUTHMETHOD` in git environ. + - #2272 PR by @VincentBerthier. + - #2271 issue by @VincentBerthier. + - Support both `cs` and `coursier` executables for coursier hooks. + - #2293 PR by @Holzhaus. + - Include more information in errors for `language_version` / + `additional_dependencies` for languages which do not support them. + - #2315 PR by @asottile. + - Have autoupdate preferentially pick tags which look like versions when + there are multiple equivalent tags. + - #2312 PR by @mblayman. + - #2311 issue by @mblayman. + - Upgrade `ruby-build`. + - #2319 PR by @jalessio. + - Add top level `default_install_hook_types` which will be installed when + `--hook-types` is not specified in `pre-commit install`. + - #2322 PR by @asottile. + ### Fixes + - Fix typo in help message for `--from-ref` and `--to-ref`. + - #2266 PR by @leetrout. + - Prioritize binary builds for R dependencies. + - #2277 PR by @lorenzwalthert. + - Fix handling of git worktrees. + - #2252 PR by @daschuer. + - Fix handling of `$R_HOME` for R hooks. + - #2301 PR by @jeff-m-sullivan. + - #2300 issue by @jeff-m-sullivan. + - Fix a rare race condition in change stashing. + - #2323 PR by @asottile. + - #2287 issue by @ian-h-chamberlain. + ### Updating + - Remove python3.6 support. Note that pre-commit still supports running hooks + written in older versions, but pre-commit itself requires python 3.7+. + - #2215 PR by @asottile. + - pre-commit has migrated from the `master` branch to `main`. + - #2302 PR by @asottile. +- python-mock is not required for build + ------------------------------------------------------------------- Sat Mar 26 19:25:34 UTC 2022 - Dirk Müller diff --git a/python-pre-commit.spec b/python-pre-commit.spec index 9f47720..7ad2e61 100644 --- a/python-pre-commit.spec +++ b/python-pre-commit.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pre-commit -Version: 2.17.0 +Version: 2.18.1 Release: 0 Summary: Multi-language pre-commit hooks License: MIT @@ -44,7 +44,6 @@ BuildArch: noarch BuildRequires: %{python_module PyYAML >= 5.1} BuildRequires: %{python_module cfgv >= 2.0.0} BuildRequires: %{python_module identify >= 1.0.0} -BuildRequires: %{python_module mock} BuildRequires: %{python_module nodeenv >= 0.11.1} BuildRequires: %{python_module pytest-env} BuildRequires: %{python_module pytest} @@ -94,6 +93,7 @@ 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" git init . %pytest -k "not ($EXCLUDED_TESTS)"