diff --git a/python-python-jsonschema-objects.changes b/python-python-jsonschema-objects.changes index faa4693..f895304 100644 --- a/python-python-jsonschema-objects.changes +++ b/python-python-jsonschema-objects.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Sep 20 02:46:59 UTC 2023 - Steve Kowalik + +- Update to 0.5.0: + * Migrate to jsonschema 4.18 + * Drop support for Python 3.7 due to lack of support under jsonschema>=4.18 + * Drop support for jsonschema<4.18 due to breaking changes in that + libraries interfaces +- Migrate to pyproject macros +- Stop using greedy globs in %files + ------------------------------------------------------------------- Tue Jul 11 13:18:57 UTC 2023 - Markéta Machová diff --git a/python-python-jsonschema-objects.spec b/python-python-jsonschema-objects.spec index 9376f5f..ba1758e 100644 --- a/python-python-jsonschema-objects.spec +++ b/python-python-jsonschema-objects.spec @@ -16,26 +16,28 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-jsonschema-objects -Version: 0.4.2 +Version: 0.5.0 Release: 0 Summary: An object wrapper for JSON Schema definitions License: MIT URL: https://python-jsonschema-objects.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/p/python_jsonschema_objects/python_jsonschema_objects-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Markdown >= 2.4 Requires: python-inflection >= 0.2 +Requires: python-jsonschema >= 4.18 Requires: python-six >= 1.5.2 -Requires: (python-jsonschema >= 2.3 with python-jsonschema < 4.18) BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Markdown >= 2.4} BuildRequires: %{python_module inflection >= 0.2} -BuildRequires: %{python_module jsonschema < 4.18} +BuildRequires: %{python_module jsonschema >= 4.18} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.5.2} @@ -49,10 +51,10 @@ An object wrapper for JSON Schema definitions %autosetup -p1 -n python_jsonschema_objects-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/python_jsonschema_objects/examples/ %fdupes %{buildroot}%{$python_sitelib} } @@ -63,6 +65,7 @@ An object wrapper for JSON Schema definitions %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/python_jsonschema_objects +%{python_sitelib}/python_jsonschema_objects-%{version}.dist-info %changelog diff --git a/python_jsonschema_objects-0.4.2.tar.gz b/python_jsonschema_objects-0.4.2.tar.gz deleted file mode 100644 index 4de3518..0000000 --- a/python_jsonschema_objects-0.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7211b6ee73bf8dd351dd5b08c08387ca084659f308b241fbb80a3ed5beb784f0 -size 63632 diff --git a/python_jsonschema_objects-0.5.0.tar.gz b/python_jsonschema_objects-0.5.0.tar.gz new file mode 100644 index 0000000..5d6189c --- /dev/null +++ b/python_jsonschema_objects-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa9519036ae50eecd965085f77154faf67afe18651fb94ab176a46afd3faf1a7 +size 68781