From 5e3b9b293cd550b04d707549021d9eecf69b1009faf0d46034991d6dc23f922a Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 25 Nov 2025 09:28:24 +0000 Subject: [PATCH] update to 6.1.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamale?expand=0&rev=18 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + _service | 3 ++ python-yamale.changes | 76 +++++++++++++++++++++++++++++++++++++++++++ python-yamale.spec | 75 ++++++++++++++++++++++++++++++++++++++++++ yamale-6.0.0.tar.gz | 3 ++ yamale-6.1.0.tar.gz | 3 ++ 7 files changed, 184 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 python-yamale.changes create mode 100644 python-yamale.spec create mode 100644 yamale-6.0.0.tar.gz create mode 100644 yamale-6.1.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..fbbd978 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/python-yamale.changes b/python-yamale.changes new file mode 100644 index 0000000..db4a732 --- /dev/null +++ b/python-yamale.changes @@ -0,0 +1,76 @@ +------------------------------------------------------------------- +Fri Nov 21 15:17:27 UTC 2025 - Johannes Kastl + +- update to 6.1.0: + * feat: enhance MAC address validation to support Cisco dotted + notation by @ChristopherJHart in #278 + * Python 3.14 support metadata and test pipeline by @cblakkan in + #281 + +------------------------------------------------------------------- +Fri Jan 3 08:50:02 UTC 2025 - Johannes Kastl + +- update to 6.0.0: + * New Features + - Adds -e PATTERN / --exclude PATTERN argument to the CLI + - CLI supports -n auto to spawn child processes equal to number + of system CPUs + * Breaking Changes + - Enforces all paths supplied to the command line interface + must exist + +------------------------------------------------------------------- +Wed Jan 1 08:54:19 UTC 2025 - Johannes Kastl + +- update to 5.3.0: + * Create .pre-commit-hooks.yaml by @rsrdesarrollo in #258 + * feat: support multiple paths in yamale by @thiagowfx in #251 + * pre-commit: set pass_filenames to true by @thiagowfx in #260 + * Support 3.13, add [ruamel] optional package dep by @cblakkan in + #257 + +------------------------------------------------------------------- +Thu May 2 07:15:49 UTC 2024 - Johannes Kastl + +- update to 5.2.1: + * (fix)semver: SyntaxWarning: invalid escape sequence by @kiblik + in #248 + +------------------------------------------------------------------- +Thu Apr 25 18:52:59 UTC 2024 - Johannes Kastl + +- update to 5.2.0: + * Add CodeQL workflow for GitHub code scanning by @lgtm-com in #205 + * Add ruff gh action by @cblakkan in #244 + * Hard fail on undefined includes by @cblakkan in #247 + * Add semantic versioning (semver.org) validator by @thiagowfx in #246 + +------------------------------------------------------------------- +Wed Mar 20 17:40:26 UTC 2024 - Johannes Kastl + +- update to 5.1.0: + * fix(cli): check schema to be a valid path first by + @AndreyNautilus in #241 + * Ruff format codebase by @cblakkan in #243 + +------------------------------------------------------------------- +Mon Mar 18 19:28:44 UTC 2024 - Johannes Kastl + +- update to 5.0.0: + * fix 3.12 deprecations by @sigma67 in #237 + * Prep for 5.0.0; Run tests on 3.8, 3.12 by @cblakkan in #240 + +------------------------------------------------------------------- +Fri May 5 11:46:03 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Tue Mar 28 05:30:09 UTC 2023 - Matej Cepl + +- Clean up SPEC file + +------------------------------------------------------------------- +Mon Mar 27 11:26:21 UTC 2023 - Johannes Kastl + +- new package yamale, used by Helm's chart-testing package diff --git a/python-yamale.spec b/python-yamale.spec new file mode 100644 index 0000000..8f0889b --- /dev/null +++ b/python-yamale.spec @@ -0,0 +1,75 @@ +# +# spec file for package python-yamale +# +# Copyright (c) 2025 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-yamale +Version: 6.1.0 +Release: 0 +Summary: A schema and validator for YAML +License: MIT +URL: https://github.com/23andMe/Yamale +Source: https://github.com/23andMe/Yamale/archive/refs/tags/%{version}.tar.gz#/yamale-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +# SECTION test requirements +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module ruamel.yaml} +# /SECTION +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +Requires: python-PyYAML +Requires: python-ruamel.yaml +Requires(post): update-alternatives +Requires(postun): update-alternatives +%python_subpackages + +%description +A schema and validator for YAML. + +%prep +%autosetup -p1 -n Yamale-%{version} + +find . -type f -name "*.py" -exec sed -i '/#!\/usr\/bin\/env/d' {} + + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/yamale +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest yamale + +%post +%python_install_alternative yamale + +%postun +%python_uninstall_alternative yamale + +%files %{python_files} +%doc README.md +%license LICENSE +%python_alternative %{_bindir}/yamale +%{python_sitelib}/yamale +%{python_sitelib}/yamale-%{version}*-info/ + +%changelog diff --git a/yamale-6.0.0.tar.gz b/yamale-6.0.0.tar.gz new file mode 100644 index 0000000..d1ac85c --- /dev/null +++ b/yamale-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ce2b95ab6770e52432cf1a02b0f610105eb8cfc32e4935e8064ff6c325f6589 +size 372476 diff --git a/yamale-6.1.0.tar.gz b/yamale-6.1.0.tar.gz new file mode 100644 index 0000000..76c43e8 --- /dev/null +++ b/yamale-6.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:715fa04a3da0b8f69b62bc9537c2eb0573711c56e766c233c7cee74b941a5964 +size 372755