diff --git a/python-warlock.changes b/python-warlock.changes index 4b1f779..10ccf7f 100644 --- a/python-warlock.changes +++ b/python-warlock.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Sep 19 09:53:33 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.1.0 + * Update maintainers in pyproject.toml + * Drop support for Python < 3.9 + * Update poetry deps + * Migrate from poetry to flit + * Add pep8 target + * Support default values for fields. + * Don't override values set in the constructor. + * Allow default values in nested properties. + * Fix nested properties with initalization values. + * Add tests for default values. + * tox: Run pep8 by default +- Update BuildRequires from pyproject.toml +- Use Python 3.11 on SLE-15 by default + ------------------------------------------------------------------- Tue Sep 26 13:38:50 UTC 2023 - Ben Greiner diff --git a/python-warlock.spec b/python-warlock.spec index 96c4b80..d7d9f62 100644 --- a/python-warlock.spec +++ b/python-warlock.spec @@ -15,20 +15,22 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%{?sle15_python_module_pythons} Name: python-warlock -Version: 2.0.1 +Version: 2.1.0 Release: 0 Summary: Python object model built on top of JSON schema License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/bcwaldon/warlock Source: https://github.com/bcwaldon/warlock/archive/%{version}.tar.gz#/warlock-%{version}.tar.gz +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module jsonpatch >= 1} BuildRequires: %{python_module jsonschema >= 4} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 6.0} +BuildRequires: %{python_module pytest-cov >= 3.0} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jsonpatch >= 1 diff --git a/warlock-2.0.1.tar.gz b/warlock-2.0.1.tar.gz deleted file mode 100644 index b54a9c5..0000000 --- a/warlock-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83d736c7a1b2bd9c741c1fd076d817f8806830c4ba52dd8ae10dff62c8e73e2a -size 19850 diff --git a/warlock-2.1.0.tar.gz b/warlock-2.1.0.tar.gz new file mode 100644 index 0000000..0352db0 --- /dev/null +++ b/warlock-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68c3a4082d0578b2558a1649b1954f92f923ee5c14a0afa1eb7a27787c61280d +size 12835