Sync from SUSE:ALP:Source:Standard:1.0 python-referencing revision 85226a19fc7b8104e2000c88dccdb6de
This commit is contained in:
commit
e1b7b2a905
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/python-jsonschema/referencing</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v0.30.2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="package-meta">yes</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">referencing</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/python-jsonschema/referencing</param>
|
||||
<param name="changesrevision">d37bef22e48b7b91a10dce14904755a539bf15e1</param></service></servicedata>
|
223
python-referencing.changes
Normal file
223
python-referencing.changes
Normal file
@ -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 <kastl@b1-systems.de>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
- 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 <kastl@b1-systems.de>
|
||||
|
||||
- new package python-referencing required by
|
||||
python-jsonschema-specifications
|
92
python-referencing.spec
Normal file
92
python-referencing.spec
Normal file
@ -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
|
BIN
referencing-0.30.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
referencing-0.30.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user