17
0

Compare commits

6 Commits

Author SHA256 Message Date
db8a0f7292 Accepting request 1224784 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=23
2024-11-18 19:01:45 +00:00
05bea80bc8 Accepting request 1224424 from home:deneb_alpha:devel-utils
Fix build on SLES 15 SP7

OBS-URL: https://build.opensuse.org/request/show/1224424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=45
2024-11-18 08:03:48 +00:00
e601f51ed7 Accepting request 1218114 from devel:languages:python
- update to 4.0.1:
  * Fix `pre-commit migrate-config` for unquoted deprecated
    stages names with purelib `pyyaml`.
  * Improve `pre-commit migrate-config` to handle more yaml
    formats.
  * Handle `stages` deprecation in `pre-commit migrate-config`.
  * Upgrade `ruby-build`.
  * Add "sensible regex" warnings to `repo: meta`.
  * Add warnings for deprecated `stages` (`commit` -> `pre-
    commit`, `push` -> `pre-push`, `merge-commit` -> `pre-merge-commit`).
  * `language: python_venv` has been removed -- use `language:
    python` instead.

OBS-URL: https://build.opensuse.org/request/show/1218114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=22
2024-10-25 17:19:47 +00:00
1fd90780ff - update to 4.0.1:
* Fix `pre-commit migrate-config` for unquoted deprecated
    stages names with purelib `pyyaml`.
  * Improve `pre-commit migrate-config` to handle more yaml
    formats.
  * Handle `stages` deprecation in `pre-commit migrate-config`.
  * Upgrade `ruby-build`.
  * Add "sensible regex" warnings to `repo: meta`.
  * Add warnings for deprecated `stages` (`commit` -> `pre-
    commit`, `push` -> `pre-push`, `merge-commit` -> `pre-merge-commit`).
  * `language: python_venv` has been removed -- use `language:
    python` instead.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=43
2024-10-24 19:24:11 +00:00
fd506d1fc8 Accepting request 1191754 from devel:languages:python
- update to 3.8.0:
  * Implement health checks for `language: r` so environments are
    recreated if the system version of R changes.

OBS-URL: https://build.opensuse.org/request/show/1191754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=21
2024-08-06 07:08:06 +00:00
92554637a5 - update to 3.8.0:
* Implement health checks for `language: r` so environments are
    recreated if the system version of R changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=41
2024-08-05 18:59:06 +00:00
4 changed files with 37 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0dc004239d417d8ea7815e34c6dd2740870e01c84d5fe513bade9ba06aca7560
size 270138

3
pre-commit-4.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12b3e5ea4b2e378a38ba03b0260b331b416840dd3d8cb3c169a46c7343f9c9f0
size 286821

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Fri Nov 15 10:58:24 UTC 2024 - Marina Latini <marina.latini@suse.com>
- spec file changes:
* Specify a Group tag for recent Leap and SUSE Linux Enterprise
* Disable Perl install test as that requires network for
CPAN initialisation also on SUSE Linux Enterprise 15 SP7
-------------------------------------------------------------------
Thu Oct 24 19:23:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.0.1:
* Fix `pre-commit migrate-config` for unquoted deprecated
stages names with purelib `pyyaml`.
* Improve `pre-commit migrate-config` to handle more yaml
formats.
* Handle `stages` deprecation in `pre-commit migrate-config`.
* Upgrade `ruby-build`.
* Add "sensible regex" warnings to `repo: meta`.
* Add warnings for deprecated `stages` (`commit` -> `pre-
commit`, `push` -> `pre-push`, `merge-commit` -> `pre-merge-commit`).
* `language: python_venv` has been removed -- use `language:
python` instead.
-------------------------------------------------------------------
Mon Aug 5 18:58:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.8.0:
* Implement health checks for `language: r` so environments are
recreated if the system version of R changes.
-------------------------------------------------------------------
Thu Jun 6 19:37:17 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-pre-commit
Version: 3.7.1
Version: 4.0.1
Release: 0
Summary: Multi-language pre-commit hooks
License: MIT
URL: https://github.com/pre-commit/pre-commit
Source: https://github.com/pre-commit/pre-commit/archive/v%{version}.tar.gz#/pre-commit-%{version}.tar.gz
%if 0%{?sle_version} <= 150600
%if 0%{?sle_version} <= 150700
Group: Development/Tools/Other
%endif
BuildRequires: %{python_module base >= 3.9}
@@ -109,7 +109,7 @@ 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"
%if 0%{?sle_version} <= 150600
%if 0%{?sle_version} <= 150700
# requires network on Leap or SUSE Linux Enterprise
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_perl_install"
%endif