commit a5953c66948db2f446b6fa75196af0b5f10545dd0a0c4b46fce638d79d48a276 Author: OBS User buildservice-autocommit Date: Sun Dec 17 20:33:23 2023 +0000 baserev update by copy to link target OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema-path?expand=0&rev=3 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/jsonschema-path-0.3.2.tar.gz b/jsonschema-path-0.3.2.tar.gz new file mode 100644 index 0000000..15bee42 --- /dev/null +++ b/jsonschema-path-0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:741ef50da4fa0e1b3c504fe0b0db218d471b30ee10691aee2ca468c8039bf2d5 +size 39521 diff --git a/python-jsonschema-path.changes b/python-jsonschema-path.changes new file mode 100644 index 0000000..8ccbd53 --- /dev/null +++ b/python-jsonschema-path.changes @@ -0,0 +1,78 @@ +------------------------------------------------------------------- +Sun Dec 17 02:14:43 UTC 2023 - Dirk Müller + +- update to 0.3.2: + * Manifest py.typed fix #93 + * Use contents method #94 + * Bump referencing version limit to 0.31 #92 + * SchemaPath `contents` method added #79 + * This version changes project and package name from + jsonschema-spec to jsonschema-path. + * `exists` and `as_uri` path methods added #72 + * Python 3.12 support #43 + * Allow set verify to requests handler #74 + * Accessor store resolved references fix #58 + +------------------------------------------------------------------- +Wed Jul 19 14:50:44 UTC 2023 - Ben Greiner + +- Cleanup requirements +- Unpin referencing <0.30.0 because it was updated a few hours ago + +------------------------------------------------------------------- +Wed Jul 19 09:34:28 UTC 2023 - ecsos + +- Update to 0.2.3 + - FilePathReader read relative path fix #39 +- Update to 0.2.2 + - Add resolve context method for SchemaPath #31 +- Update to 0.2.1 + - Bump referencing from 0.24.4 to 0.29.0 #25 +- Update to 0.2.0 + - Python 3.7 support dropped #23 + - Remove jsonschema dependency in favor of referencing and jsonschema-specifications #12 + - SchemaPath.from_path factory method added + + Deprecations + - Spec class name is deprecated. Use SchemaPath instead. + - spec_url parameter is deprecated. Use base_uri instead. + - ref_resolver_handlers parameter is deprecated. Use handlers instead. +- Fix not installable because of newer python-jsonschema requirement. + +------------------------------------------------------------------- +Mon Jun 19 06:41:11 UTC 2023 - Steve Kowalik + +- Update to 0.1.6: + * lock typing-extensions just for python37 #22 + * add python 3.11 support #10 + * supports read protocol check fix #21 + +------------------------------------------------------------------- +Tue Jun 13 12:12:11 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Tue May 9 18:49:41 UTC 2023 - Ben Greiner + +- Update requirements: + * jsonschema has upper limit + * poetry-core is enough to build + +------------------------------------------------------------------- +Sun Mar 26 19:13:03 UTC 2023 - Dirk Müller + +- update to 0.1.4: + * jsonschema 4.17 dependency limit + * Apache license spdx conformity + * yaml loader timestamps fix + +------------------------------------------------------------------- +Sat Sep 17 12:44:29 UTC 2022 - John Vandenberg + +- Update to v0.1.2 + +------------------------------------------------------------------- +Mon Sep 5 02:37:58 UTC 2022 - John Vandenberg + +- Initial spec for v0.1.1 + diff --git a/python-jsonschema-path.spec b/python-jsonschema-path.spec new file mode 100644 index 0000000..f5c30e7 --- /dev/null +++ b/python-jsonschema-path.spec @@ -0,0 +1,74 @@ +# +# spec file for package python-jsonschema-path +# +# Copyright (c) 2023 SUSE LLC +# +# 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-jsonschema-path +Version: 0.3.2 +Release: 0 +Summary: JSONSchema Spec with object-oriented paths +License: Apache-2.0 +URL: https://github.com/p1c2u/jsonschema-path +Source: https://github.com/p1c2u/jsonschema-path/archive/refs/tags/%{version}.tar.gz#/jsonschema-path-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core >= 1} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module PyYAML >= 5.1} +BuildRequires: %{python_module pathable >= 0.4.1} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module referencing >= 0.28.0} +BuildRequires: %{python_module requests >= 2.31.0} +BuildRequires: %{python_module responses >= 0.23.0} +# /SECTION +Requires: python-PyYAML >= 5.1 +Requires: python-pathable >= 0.4.1 +Requires: python-referencing >= 0.28.0 +Suggests: python-requests >= 2.31.0 +Provides: python-jsonschema_path = %{version}-%{release} +BuildArch: noarch +%python_subpackages + +%description +JSONSchema Spec with object-oriented paths. + +%prep +%setup -q -n jsonschema-path-%{version} +# unpin and hope for the best +sed -i '/referencing/ s/,<0.30.0//' pyproject.toml +# Remove need to pytest-cov +sed -i '/--cov/d' pyproject.toml + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/jsonschema_path +%{python_sitelib}/jsonschema_path-%{version}.dist-info + +%changelog