forked from pool/python-yamllint
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 28edc4e5f4 | |||
| 6bfde66816 | |||
| f52dc5ea48 | |||
| f9bd00c153 | |||
| f43323c76e | |||
| 029987dfb2 | |||
| 83db40d712 | |||
| 5ff081f68d |
@@ -1,3 +1,58 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 16 06:40:58 UTC 2026 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.38.0:
|
||||
* Add support for Python 3.14, drop support for Python 3.9
|
||||
* Require pathspec ≥ 1.0.0
|
||||
* Config: Follow gitignore implementation in yaml-files and ignore
|
||||
* Config: Use "mapping" instead of "dict" for user-facing errors
|
||||
* Rule indentation: Fix error message for check-multi-line-strings
|
||||
* Rule quoted-strings: Add quote-type: consistent
|
||||
* Docs: Update the name of BSD ports
|
||||
* Docs: Enhance wording of recursive directory lint in README
|
||||
* Docs: Add Alpine Linux installation instructions in README
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 09:48:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 10:54:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.37.1
|
||||
* Rule ``comments``: tell how many spaces are expected
|
||||
* Rule ``quoted-strings``: Fix ``only-when-needed`` on
|
||||
multiline with backslash
|
||||
* Config: Report if ``rules`` is not a dict
|
||||
* Fix ``test_codec_built_in_equivalent()`` test when run with pytest
|
||||
* CI: Fix TestPyPI "dev0" versions for master commits on tags
|
||||
* Docs: Add links to GitHub repository and releases
|
||||
* Docs: Fix GitLab integration example
|
||||
* Docs: Fix GitLab integration link
|
||||
* Fix the tests badge link on the README
|
||||
- from version 1.37.0
|
||||
* Automatically detect Unicode character encoding of files
|
||||
* Publish pushes to master branch to TestPyPI
|
||||
- Switch build system from setuptools to pyproject.toml
|
||||
* Add python-pip and python-wheel to BuildRequires
|
||||
* Replace %python_build with %pyproject_wheel
|
||||
* Replace %python_install with %pyproject_install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 18 12:03:00 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.36.2
|
||||
* Build: Restore missing documentation and tests in sdist
|
||||
- from version 1.36.1
|
||||
* Publish PyPI releases using GitHub Actions workflows
|
||||
- from version 1.36.0
|
||||
* Add support for Python 3.13, drop support for Python 3.8
|
||||
* Rule ``key-ordering``: add ``ignored-keys`` option
|
||||
* Rule ``quoted-strings``: fix ``only-when-needed`` and escaped special chars
|
||||
* Fix TTY-related tests on Python 3.14
|
||||
* Docs: fix import of ``yamllint.config`` rather than ``yamllint``
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 14:41:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-yamllint
|
||||
#
|
||||
# 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
|
||||
@@ -16,24 +16,39 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-yamllint
|
||||
Version: 1.35.1
|
||||
Version: 1.38.0
|
||||
Release: 0
|
||||
Summary: A linter for YAML files
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/adrienverge/yamllint
|
||||
Source: https://files.pythonhosted.org/packages/source/y/yamllint/yamllint-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
# Runtime dependencies
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module pathspec >= 1.0.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-pathspec >= 0.5.3
|
||||
Requires: python-pathspec >= 1.0.0
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module pathspec >= 0.5.3}
|
||||
@@ -53,10 +68,10 @@ indentation, etc.
|
||||
sed 's/ setuptools/ setuptools; python_version < "3.8"/' setup.cfg
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/yamllint
|
||||
|
||||
@@ -72,6 +87,9 @@ export GITHUB_RUN_ID=1
|
||||
%postun
|
||||
%python_uninstall_alternative yamllint
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative yamllint
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
|
||||
BIN
yamllint-1.35.1.tar.gz
LFS
BIN
yamllint-1.35.1.tar.gz
LFS
Binary file not shown.
3
yamllint-1.38.0.tar.gz
Normal file
3
yamllint-1.38.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09e5f29531daab93366bb061e76019d5e91691ef0a40328f04c927387d1d364d
|
||||
size 142446
|
||||
Reference in New Issue
Block a user