Accepting request 967489 from home:pgajdos:python
- 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.
OBS-URL: https://build.opensuse.org/request/show/967489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=17
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user