From e1b7b2a905a9c82f6253338cb0f5d0935f086a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 20 Oct 2023 14:16:32 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 python-referencing revision 85226a19fc7b8104e2000c88dccdb6de --- .gitattributes | 23 ++++ _multibuild | 3 + _service | 18 +++ _servicedata | 4 + python-referencing.changes | 223 +++++++++++++++++++++++++++++++++++++ python-referencing.spec | 92 +++++++++++++++ referencing-0.30.2.tar.gz | 3 + 7 files changed, 366 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 _service create mode 100644 _servicedata create mode 100644 python-referencing.changes create mode 100644 python-referencing.spec create mode 100644 referencing-0.30.2.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/_multibuild b/_multibuild new file mode 100644 index 0000000..83bd4e9 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/_service b/_service new file mode 100644 index 0000000..45dc5ca --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + https://github.com/python-jsonschema/referencing + git + v0.30.2 + @PARENT_TAG@ + enable + v(.*) + yes + + + referencing + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..670c707 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/python-jsonschema/referencing + d37bef22e48b7b91a10dce14904755a539bf15e1 \ No newline at end of file diff --git a/python-referencing.changes b/python-referencing.changes new file mode 100644 index 0000000..d5dad9b --- /dev/null +++ b/python-referencing.changes @@ -0,0 +1,223 @@ +------------------------------------------------------------------- +Sun Aug 06 07:54:07 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.30.2: + * Document why a number of private objects are documented. + * Build docs with 3.11 in ReadTheDocs + +------------------------------------------------------------------- +Sun Aug 06 07:52:47 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.30.1: + * Ensure submodules are checked out when building a release. + * Enable another ruff ruleset. + * One fewer thing in the README (which is likely less confusing). + * Bump suite from `6e126a9` to `b094fe5` + * [pre-commit.ci] pre-commit autoupdate + * Add a few additional interlinks to the JSON Schema + specification. + * Make the noxfile support passing a less temporary directory for + building docs. + * Update requirements. + * More correct listing of nox envs for the GitHub actions + workflow + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Tue Jul 18 18:55:57 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.30.0: + * Declare support for 3.12. + * Update the referencing suite. + +------------------------------------------------------------------- +Tue Jul 18 09:04:33 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.29.3: + * Spelling. + +------------------------------------------------------------------- +Tue Jul 18 09:03:28 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.29.2: + * Improve the hashability of exceptions when they contain + hashable data. + * [pre-commit.ci] pre-commit autoupdate + * Bump suite from `9335e4a` to `fe891e8` + +------------------------------------------------------------------- +Thu Jul 06 10:57:29 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.29.1: + * Update pre-commit hooks. + * Minor rewording of the caching section and give it a + subsection. + * Bump suite from `cb57930` to `9335e4a` + * [pre-commit.ci] pre-commit autoupdate + * Bump suite from `445c8ee` to `cb57930` + * Bump suite from `f6fa54d` to `445c8ee` + * Don't use nox.session.create_tmp. + +------------------------------------------------------------------- +Thu Jun 01 05:26:32 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.29.0: + * Implement referencing.retrieval.to_cached_resource + * Ensure more things raise non-subclassable exceptions. + +------------------------------------------------------------------- +Thu Jun 01 05:24:45 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.6: + * Move to using Trusted Publishers. + * Ensure twine checks the README in strict mode. + * [pre-commit.ci] pre-commit autoupdate + * Enable markdown coverage in CI. + * Try again with the extra coverage job in CI. + +------------------------------------------------------------------- +Thu May 25 06:24:03 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.5: + * Fill in the missing coverage, and ensure it runs in CI. + * Add pip-audit to CI. + * Explicitly ensure we catch calling .anchor on a nonexistent + resource. + +------------------------------------------------------------------- +Wed May 24 05:01:46 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.4: + * More explicit field aliasing for silly type checker behavior. + * Update requirements. + * Supposedly dependabot supports pip-compile, let's see. + * Catch accidental hardcoded links in docs. + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Tue May 23 07:55:25 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.3: + * Update ruff's config for the removal of keep-runtime-typing. + +------------------------------------------------------------------- +Thu May 18 07:49:58 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.2: + * Pin the pyright version until I understand what's changed. + * Re-add the packaging classifiers. + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Fri May 5 10:46:18 UTC 2023 - Johannes Kastl + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Thu May 04 04:39:28 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.1: + * Move the type: ignore for converter with pyright. + * Explicitly note you probably don't mean to touch Resolver. + * Bump suite from `89016c7` to `f6fa54d` + * [pre-commit.ci] pre-commit autoupdate + * v0.28.0 -> CHANGELOG + +------------------------------------------------------------------- +Tue May 02 05:29:53 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.28.0: + * Add a simple-ish example to the doc homepage. + * Looks like Hatchling needs a bump before this can actually + happen. + * Add the new JSON and JSON Schema classifiers, hooray! + +------------------------------------------------------------------- +Wed Apr 26 08:43:41 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.27.4: + * Minor simplification to the docs structure. + * Bump suite from `e744bfc` to `89016c7` + * Bump the referencing suite. + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Tue Apr 25 04:54:24 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.27.3: + * Fix whatever typing change causes pyright to think frozen + classes aren't frozen. + * Also strip empty fragments when using __getiem__ on Registries. + * Bump wntrblm/nox from 2022.11.21 to 2023.04.22 + +------------------------------------------------------------------- +Fri Apr 14 06:58:44 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.27.2: + * Yet another stab at anchor lookup from non-canonical URIs. + * Bump suite from `2751845` to `e8927d9` + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Thu Apr 13 10:18:46 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.27.1: + * Add a note to the changelog. + * Enable the type annotation linter. + * Slight improvements to a few more docstrings. + * Update requirements. + * Bump suite from `5f47bda` to `e8927d9` + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Tue Apr 04 06:16:10 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.27.0: + * Fix looking up anchors from non-canonical URIs. + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Tue Mar 28 09:12:37 UTC 2023 - Matej Cepl + +- Split package into multibuild to avoid a build cycle. + +------------------------------------------------------------------- +Tue Mar 28 05:05:26 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.26.4: + * One more example of non-public API + * Add a note on spec-incorrect behavior. + +------------------------------------------------------------------- +Tue Mar 28 05:02:06 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.26.3: + * First pass at an explicit list of (non-)public API + +------------------------------------------------------------------- +Tue Mar 28 04:58:16 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.26.2: + * Also suggest a correct pointer for #/. + * Fix the double wording in the InvalidAnchor exception message. + +------------------------------------------------------------------- +Mon Mar 27 05:04:21 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.26.1: + * Update the changelog. + +------------------------------------------------------------------- +Mon Mar 27 05:03:31 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.26.0: + * Try to be more helpful when someone forgets a slash in JSON + pointers. + * Exclude bots from release notes. + * [pre-commit.ci] pre-commit autoupdate + +------------------------------------------------------------------- +Fri Mar 24 12:43:40 UTC 2023 - Johannes Kastl + +- new package python-referencing required by + python-jsonschema-specifications diff --git a/python-referencing.spec b/python-referencing.spec new file mode 100644 index 0000000..a933718 --- /dev/null +++ b/python-referencing.spec @@ -0,0 +1,92 @@ +# +# spec file +# +# 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/ +# + + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +%{?sle15_python_module_pythons} +Name: python-referencing%{psuffix} +Version: 0.30.2 +Release: 0 +Summary: JSON Referencing + Python +License: MIT +URL: https://github.com/python-jsonschema/referencing +# only use tarball created by tar_scm service, +# as PyPi does not include the suite git submodule +# and github tarballs do not include the .git directory +# required by hatch_vcs and setuptools_scm +# +# using obs_scm does **not** work... +Source: referencing-%{version}.tar.gz +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: git-core +BuildRequires: python-rpm-macros +%if %{with test} +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module attrs >= 22.2.0} +BuildRequires: %{python_module jsonschema-specifications} +BuildRequires: %{python_module jsonschema} +BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module rpds-py >= 0.7.0} +# /SECTION +%endif +BuildRequires: fdupes +Requires: python-attrs >= 22.2.0 +Requires: python-rpds-py >= 0.7.0 +BuildArch: noarch +%python_subpackages + +%description +JSON Referencing + Python + +%prep +%setup -q -n referencing-%{version} + +%build +%pyproject_wheel + +%install +%if %{without test} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif + +%check +%if %{with test} +%pytest +%endif + +%if %{without test} +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license COPYING +%{python_sitelib}/referencing/ +%{python_sitelib}/referencing-%{version}.dist-info/ +%endif + +%changelog diff --git a/referencing-0.30.2.tar.gz b/referencing-0.30.2.tar.gz new file mode 100644 index 0000000..0139d63 --- /dev/null +++ b/referencing-0.30.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb1415c3966c29d7639b9811e0c95c7124c783aa470e50a20903ad0f0f1ce112 +size 343483