Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-referencing for openSUSE:Factory checked in at 2023-04-14 15:40:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-referencing (Old) and /work/SRC/openSUSE:Factory/.python-referencing.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-referencing" Fri Apr 14 15:40:04 2023 rev:4 rq:1079412 version:0.27.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-referencing/python-referencing.changes 2023-04-13 14:49:37.537662370 +0200 +++ /work/SRC/openSUSE:Factory/.python-referencing.new.19717/python-referencing.changes 2023-04-14 15:40:05.446825915 +0200 @@ -1,0 +2,8 @@ +Fri Apr 14 06:58:44 UTC 2023 - ka...@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 + +------------------------------------------------------------------- Old: ---- referencing-0.27.1.tar.gz New: ---- referencing-0.27.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-referencing.spec ++++++ --- /var/tmp/diff_new_pack.cSfr4y/_old 2023-04-14 15:40:06.182830157 +0200 +++ /var/tmp/diff_new_pack.cSfr4y/_new 2023-04-14 15:40:06.190830204 +0200 @@ -25,7 +25,7 @@ %bcond_with test %endif Name: python-referencing%{psuffix} -Version: 0.27.1 +Version: 0.27.2 Release: 0 Summary: JSON Referencing + Python License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.cSfr4y/_old 2023-04-14 15:40:06.306830873 +0200 +++ /var/tmp/diff_new_pack.cSfr4y/_new 2023-04-14 15:40:06.310830896 +0200 @@ -2,7 +2,7 @@ <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.27.1</param> + <param name="revision">v0.27.2</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.cSfr4y/_old 2023-04-14 15:40:06.330831011 +0200 +++ /var/tmp/diff_new_pack.cSfr4y/_new 2023-04-14 15:40:06.334831034 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/python-jsonschema/referencing</param> - <param name="changesrevision">3095b764d0d1d81517a39e15c4ec850d92f10152</param></service></servicedata> + <param name="changesrevision">b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4</param></service></servicedata> (No newline at EOF) ++++++ referencing-0.27.1.tar.gz -> referencing-0.27.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/FETCH_HEAD new/referencing-0.27.2/.git/FETCH_HEAD --- old/referencing-0.27.1/.git/FETCH_HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/FETCH_HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -1,2 +1,2 @@ -90e977ca73cb9adc39d1d1b81b13825136292864 not-for-merge branch 'main' of https://github.com/python-jsonschema/referencing +b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4 not-for-merge branch 'main' of https://github.com/python-jsonschema/referencing 29f587735daddcf3fde3318382227e6d1f561e6a not-for-merge branch 'retrieval' of https://github.com/python-jsonschema/referencing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/HEAD new/referencing-0.27.2/.git/HEAD --- old/referencing-0.27.1/.git/HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -3095b764d0d1d81517a39e15c4ec850d92f10152 +b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/ORIG_HEAD new/referencing-0.27.2/.git/ORIG_HEAD --- old/referencing-0.27.1/.git/ORIG_HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/ORIG_HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -a57bf4188f67f3300dbea463985390410b13d2be +a2ce797a6b9fb7f834688ba361e289d01b8adf3c Binary files old/referencing-0.27.1/.git/index and new/referencing-0.27.2/.git/index differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/logs/HEAD new/referencing-0.27.2/.git/logs/HEAD --- old/referencing-0.27.1/.git/logs/HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/logs/HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -14,3 +14,5 @@ 647f6fe178960849ed707bcf466b2d7c0cfb601f f520b40800233e34f8f5c3ac7100af4501fe54d7 Johannes Kastl <ka...@b1-systems.de> 1680588969 +0200 reset: moving to v0.27.0 f520b40800233e34f8f5c3ac7100af4501fe54d7 a57bf4188f67f3300dbea463985390410b13d2be Johannes Kastl <ka...@b1-systems.de> 1681381125 +0200 merge v0.27.1: Merge made by the 'ort' strategy. a57bf4188f67f3300dbea463985390410b13d2be 3095b764d0d1d81517a39e15c4ec850d92f10152 Johannes Kastl <ka...@b1-systems.de> 1681381125 +0200 reset: moving to v0.27.1 +3095b764d0d1d81517a39e15c4ec850d92f10152 a2ce797a6b9fb7f834688ba361e289d01b8adf3c Johannes Kastl <ka...@b1-systems.de> 1681455523 +0200 merge v0.27.2: Merge made by the 'ort' strategy. +a2ce797a6b9fb7f834688ba361e289d01b8adf3c b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4 Johannes Kastl <ka...@b1-systems.de> 1681455524 +0200 reset: moving to v0.27.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/logs/refs/remotes/origin/main new/referencing-0.27.2/.git/logs/refs/remotes/origin/main --- old/referencing-0.27.1/.git/logs/refs/remotes/origin/main 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/logs/refs/remotes/origin/main 2023-04-13 18:27:20.000000000 +0200 @@ -3,3 +3,4 @@ 839667eeb834832a32dabff2c8ed255a4bec6807 c9de6c2947235171e2a270e9cd0dbac569d4dee6 Johannes Kastl <ka...@b1-systems.de> 1679979491 +0200 fetch --filter=tree:0 --tags: fast-forward c9de6c2947235171e2a270e9cd0dbac569d4dee6 2c8d87e0ffc889b4ca14e86c0cb7cc7b8662bd91 Johannes Kastl <ka...@b1-systems.de> 1680588966 +0200 fetch --filter=tree:0 --tags: fast-forward 2c8d87e0ffc889b4ca14e86c0cb7cc7b8662bd91 90e977ca73cb9adc39d1d1b81b13825136292864 Johannes Kastl <ka...@b1-systems.de> 1681381121 +0200 fetch --filter=tree:0 --tags: fast-forward +90e977ca73cb9adc39d1d1b81b13825136292864 b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4 Johannes Kastl <ka...@b1-systems.de> 1681455512 +0200 fetch --filter=tree:0 --tags: fast-forward diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/FETCH_HEAD new/referencing-0.27.2/.git/modules/suite/FETCH_HEAD --- old/referencing-0.27.1/.git/modules/suite/FETCH_HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/modules/suite/FETCH_HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -e8927d9121b83fb84f0a7d888b878abd1cbc76b4 not-for-merge branch 'main' of https://github.com/python-jsonschema/referencing-suite +ff209ae6d7ca083a548aba7968cf39ce25ba451f not-for-merge branch 'main' of https://github.com/python-jsonschema/referencing-suite diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/HEAD new/referencing-0.27.2/.git/modules/suite/HEAD --- old/referencing-0.27.1/.git/modules/suite/HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/modules/suite/HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -27518455b0a5f4c3f184d6bab789350c30085e7d +ff209ae6d7ca083a548aba7968cf39ce25ba451f Binary files old/referencing-0.27.1/.git/modules/suite/index and new/referencing-0.27.2/.git/modules/suite/index differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/logs/HEAD new/referencing-0.27.2/.git/modules/suite/logs/HEAD --- old/referencing-0.27.1/.git/modules/suite/logs/HEAD 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/modules/suite/logs/HEAD 2023-04-13 18:27:20.000000000 +0200 @@ -2,3 +2,4 @@ 27518455b0a5f4c3f184d6bab789350c30085e7d 27518455b0a5f4c3f184d6bab789350c30085e7d Johannes Kastl <ka...@b1-systems.de> 1679747213 +0100 checkout: moving from main to 27518455b0a5f4c3f184d6bab789350c30085e7d 27518455b0a5f4c3f184d6bab789350c30085e7d 5f47bda1e7be4a7ff1b16cf5a988d8536e0bb34d Johannes Kastl <ka...@b1-systems.de> 1680588969 +0200 checkout: moving from 27518455b0a5f4c3f184d6bab789350c30085e7d to 5f47bda1e7be4a7ff1b16cf5a988d8536e0bb34d 5f47bda1e7be4a7ff1b16cf5a988d8536e0bb34d 27518455b0a5f4c3f184d6bab789350c30085e7d Johannes Kastl <ka...@b1-systems.de> 1681381126 +0200 checkout: moving from 5f47bda1e7be4a7ff1b16cf5a988d8536e0bb34d to 27518455b0a5f4c3f184d6bab789350c30085e7d +27518455b0a5f4c3f184d6bab789350c30085e7d ff209ae6d7ca083a548aba7968cf39ce25ba451f Johannes Kastl <ka...@b1-systems.de> 1681455524 +0200 checkout: moving from 27518455b0a5f4c3f184d6bab789350c30085e7d to ff209ae6d7ca083a548aba7968cf39ce25ba451f diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/logs/refs/remotes/origin/main new/referencing-0.27.2/.git/modules/suite/logs/refs/remotes/origin/main --- old/referencing-0.27.1/.git/modules/suite/logs/refs/remotes/origin/main 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/modules/suite/logs/refs/remotes/origin/main 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1,2 @@ 27518455b0a5f4c3f184d6bab789350c30085e7d e8927d9121b83fb84f0a7d888b878abd1cbc76b4 Johannes Kastl <ka...@b1-systems.de> 1680588968 +0200 fetch --no-prune --no-prune-tags --tags --recurse-submodules-default on-demand --submodule-prefix suite/: fast-forward +e8927d9121b83fb84f0a7d888b878abd1cbc76b4 ff209ae6d7ca083a548aba7968cf39ce25ba451f Johannes Kastl <ka...@b1-systems.de> 1681455513 +0200 fetch --no-prune --no-prune-tags --tags --recurse-submodules-default on-demand --submodule-prefix suite/: fast-forward Binary files old/referencing-0.27.1/.git/modules/suite/objects/21/02ecccc62ae8deb11f60d51f60a234ae17cef6 and new/referencing-0.27.2/.git/modules/suite/objects/21/02ecccc62ae8deb11f60d51f60a234ae17cef6 differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/32/60d9875fef76d2e93eff869416b82c3a9f7215 and new/referencing-0.27.2/.git/modules/suite/objects/32/60d9875fef76d2e93eff869416b82c3a9f7215 differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/58/9cdf4535e3114a5897e1c835c751f5493b2722 and new/referencing-0.27.2/.git/modules/suite/objects/58/9cdf4535e3114a5897e1c835c751f5493b2722 differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/67/95c1007e89508d05b716287b759effe64dcf6d and new/referencing-0.27.2/.git/modules/suite/objects/67/95c1007e89508d05b716287b759effe64dcf6d differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/88/908c27c40290c6e6949713b28bf9049c158cf8 and new/referencing-0.27.2/.git/modules/suite/objects/88/908c27c40290c6e6949713b28bf9049c158cf8 differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/ac/743924878d18d7bdc12310d4243e1cb7fb57dd and new/referencing-0.27.2/.git/modules/suite/objects/ac/743924878d18d7bdc12310d4243e1cb7fb57dd differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/b5/937520727667914583bb6e51ba4218db637d3b and new/referencing-0.27.2/.git/modules/suite/objects/b5/937520727667914583bb6e51ba4218db637d3b differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/bc/6afee99576d12aefe580a20b5b584d8ccd5d9e and new/referencing-0.27.2/.git/modules/suite/objects/bc/6afee99576d12aefe580a20b5b584d8ccd5d9e differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/f2/707a6e194364194b1b800e1802e09750ca0a24 and new/referencing-0.27.2/.git/modules/suite/objects/f2/707a6e194364194b1b800e1802e09750ca0a24 differ Binary files old/referencing-0.27.1/.git/modules/suite/objects/f6/b6332d5d7a70086f343c59cbb7a1c48b4e67b0 and new/referencing-0.27.2/.git/modules/suite/objects/f6/b6332d5d7a70086f343c59cbb7a1c48b4e67b0 differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/objects/ff/209ae6d7ca083a548aba7968cf39ce25ba451f new/referencing-0.27.2/.git/modules/suite/objects/ff/209ae6d7ca083a548aba7968cf39ce25ba451f --- old/referencing-0.27.1/.git/modules/suite/objects/ff/209ae6d7ca083a548aba7968cf39ce25ba451f 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/.git/modules/suite/objects/ff/209ae6d7ca083a548aba7968cf39ce25ba451f 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,3 @@ +xOOÄ Å=ó)æ¶§Ýô-Ô£^ÆÙ¨÷K¤°)tÍ~{éj¢W/CÌ{ï7£ã4¹|h.òL¶W}Û6¦3EUÉÞ¶¼ÕÝ Xk.§^¨p¦äÐ3ÔMdkä¶Ba¤J +ÊÔZiÑ+ÎpÉcáqñÜÑ<çêû{s?ãéÍJ;§k¨{YóªC ÛW+ÝBéú¡ã?zvk(Çb)e° ^±|Ëì'1luN£×ýCÚ1ö2º1¸pþH Ò¢iBøty,<fw¤UzÄðNEú3zO>AÍSÔe(âdè@¥3ºµ:ë +ÚÙKaúëRfÙoÚäÒYmÊ'OçeÒ7ûuÚôóiqy¥ØMÐY.Aö0K¥Ï \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/modules/suite/refs/remotes/origin/main new/referencing-0.27.2/.git/modules/suite/refs/remotes/origin/main --- old/referencing-0.27.1/.git/modules/suite/refs/remotes/origin/main 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/modules/suite/refs/remotes/origin/main 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -e8927d9121b83fb84f0a7d888b878abd1cbc76b4 +ff209ae6d7ca083a548aba7968cf39ce25ba451f Binary files old/referencing-0.27.1/.git/objects/a2/ce797a6b9fb7f834688ba361e289d01b8adf3c and new/referencing-0.27.2/.git/objects/a2/ce797a6b9fb7f834688ba361e289d01b8adf3c differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-7b1b47b93c4a23b831fbe9ea9c751f280af41dad.idx and new/referencing-0.27.2/.git/objects/pack/pack-7b1b47b93c4a23b831fbe9ea9c751f280af41dad.idx differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-7b1b47b93c4a23b831fbe9ea9c751f280af41dad.pack and new/referencing-0.27.2/.git/objects/pack/pack-7b1b47b93c4a23b831fbe9ea9c751f280af41dad.pack differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-9bf815fc9f7f698e1ee00db21dbab32fdc2ec3b2.idx and new/referencing-0.27.2/.git/objects/pack/pack-9bf815fc9f7f698e1ee00db21dbab32fdc2ec3b2.idx differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-9bf815fc9f7f698e1ee00db21dbab32fdc2ec3b2.pack and new/referencing-0.27.2/.git/objects/pack/pack-9bf815fc9f7f698e1ee00db21dbab32fdc2ec3b2.pack differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-da72bf499ee40311a2938799bf16ba355dc68423.idx and new/referencing-0.27.2/.git/objects/pack/pack-da72bf499ee40311a2938799bf16ba355dc68423.idx differ Binary files old/referencing-0.27.1/.git/objects/pack/pack-da72bf499ee40311a2938799bf16ba355dc68423.pack and new/referencing-0.27.2/.git/objects/pack/pack-da72bf499ee40311a2938799bf16ba355dc68423.pack differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/refs/remotes/origin/main new/referencing-0.27.2/.git/refs/remotes/origin/main --- old/referencing-0.27.1/.git/refs/remotes/origin/main 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.git/refs/remotes/origin/main 2023-04-13 18:27:20.000000000 +0200 @@ -1 +1 @@ -90e977ca73cb9adc39d1d1b81b13825136292864 +b39ebf9dcfae8301811b05f26ea6d6ab905e6cd4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.git/refs/tags/v0.27.2 new/referencing-0.27.2/.git/refs/tags/v0.27.2 --- old/referencing-0.27.1/.git/refs/tags/v0.27.2 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/.git/refs/tags/v0.27.2 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1 @@ +67fe749315418fc1bec77bdb381d85fbd2bcfbad diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/.pre-commit-config.yaml new/referencing-0.27.2/.pre-commit-config.yaml --- old/referencing-0.27.1/.pre-commit-config.yaml 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/.pre-commit-config.yaml 2023-04-13 18:27:20.000000000 +0200 @@ -13,7 +13,7 @@ args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.260" + rev: "v0.0.261" hooks: - id: ruff - repo: https://github.com/PyCQA/isort diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/docs/changes.rst new/referencing-0.27.2/docs/changes.rst --- old/referencing-0.27.1/docs/changes.rst 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/docs/changes.rst 2023-04-13 18:27:20.000000000 +0200 @@ -2,6 +2,11 @@ Changelog ========= +v0.27.2 +------- + +* Another fix for looking up anchors from non-canonical URIs, now when they're inside a subresource which has a relative ``$id``. + v0.27.1 ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/referencing/_core.py new/referencing-0.27.2/referencing/_core.py --- old/referencing-0.27.1/referencing/_core.py 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/referencing/_core.py 2023-04-13 18:27:20.000000000 +0200 @@ -364,20 +364,23 @@ """ Retrieve a given anchor from a resource which must already be crawled. """ - resource = self.get(uri) - if resource is None: - canonical_uri = uri - else: - canonical_uri = resource.id() or uri - - value = self._anchors.get((canonical_uri, name)) + value = self._anchors.get((uri, name)) if value is not None: return Retrieved(value=value, registry=self) registry = self.crawl() - value = registry._anchors.get((canonical_uri, name)) + value = registry._anchors.get((uri, name)) if value is not None: return Retrieved(value=value, registry=registry) + + resource = self.get(uri) + if resource is not None: + canonical_uri = resource.id() + if canonical_uri is not None: + value = registry._anchors.get((canonical_uri, name)) + if value is not None: + return Retrieved(value=value, registry=registry) + if "/" in name: raise exceptions.InvalidAnchor( ref=uri, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/.pre-commit-config.yaml new/referencing-0.27.2/suite/.pre-commit-config.yaml --- old/referencing-0.27.1/suite/.pre-commit-config.yaml 2023-04-10 15:23:46.000000000 +0200 +++ new/referencing-0.27.2/suite/.pre-commit-config.yaml 2023-04-13 18:27:20.000000000 +0200 @@ -31,7 +31,7 @@ hooks: - id: pyupgrade - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.3.0 hooks: - name: black id: black diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-04/external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-04/external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-04/external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-04/external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,23 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "id": "http://example.org/internal", + "definitions": { + "foo": { + "id": "#foo", + "foo": "bar" + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#foo", + "target": { + "id": "#foo", + "foo": "bar" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-04/external-uri-with-nested-relative-uri-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-04/external-uri-with-nested-relative-uri-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-04/external-uri-with-nested-relative-uri-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-04/external-uri-with-nested-relative-uri-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,27 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "id": "foo", + "definitions": { + "spam": { + "id": "#bar", + "baz": "quux" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/foo#bar", + "target": { + "id": "#bar", + "baz": "quux" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-04/multiple-lookup-external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-04/multiple-lookup-external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-04/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-04/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,42 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "id": "http://example.org/foo", + "definitions": { + "bar": { + "id": "#baz", + "quux": "eggs" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "id": "http://example.org/foo", + "definitions": { "bar": { "id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "#baz", + "target": { "id": "#baz", "quux": "eggs" } + } + }, + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "id": "http://example.org/foo", + "definitions": { "bar": { "id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "http://example.org/foo#baz", + "target": { "id": "#baz", "quux": "eggs" } + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-06/external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-06/external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-06/external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-06/external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,23 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$id": "http://example.org/internal", + "definitions": { + "foo": { + "$id": "#foo", + "foo": "bar" + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#foo", + "target": { + "$id": "#foo", + "foo": "bar" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-06/external-uri-with-nested-relative-uri-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-06/external-uri-with-nested-relative-uri-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-06/external-uri-with-nested-relative-uri-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-06/external-uri-with-nested-relative-uri-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,27 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "$id": "foo", + "definitions": { + "spam": { + "$id": "#bar", + "baz": "quux" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/foo#bar", + "target": { + "$id": "#bar", + "baz": "quux" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-06/multiple-lookup-external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-06/multiple-lookup-external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-06/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-06/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,42 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "$id": "http://example.org/foo", + "definitions": { + "bar": { + "$id": "#baz", + "quux": "eggs" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "$id": "http://example.org/foo", + "definitions": { "bar": { "$id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "#baz", + "target": { "$id": "#baz", "quux": "eggs" } + } + }, + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "$id": "http://example.org/foo", + "definitions": { "bar": { "$id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "http://example.org/foo#baz", + "target": { "$id": "#baz", "quux": "eggs" } + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-07/external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-07/external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-07/external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-07/external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,23 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$id": "http://example.org/internal", + "definitions": { + "foo": { + "$id": "#foo", + "foo": "bar" + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#foo", + "target": { + "$id": "#foo", + "foo": "bar" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-07/external-uri-with-nested-relative-uri-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-07/external-uri-with-nested-relative-uri-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-07/external-uri-with-nested-relative-uri-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-07/external-uri-with-nested-relative-uri-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,27 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "$id": "foo", + "definitions": { + "spam": { + "$id": "#bar", + "baz": "quux" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/foo#bar", + "target": { + "$id": "#bar", + "baz": "quux" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-07/multiple-lookup-external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-07/multiple-lookup-external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-07/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-07/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,42 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "definitions": { + "foo": { + "$id": "http://example.org/foo", + "definitions": { + "bar": { + "$id": "#baz", + "quux": "eggs" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "$id": "http://example.org/foo", + "definitions": { "bar": { "$id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "#baz", + "target": { "$id": "#baz", "quux": "eggs" } + } + }, + { + "ref": "http://example.com/#/definitions/foo", + "target": { + "$id": "http://example.org/foo", + "definitions": { "bar": { "$id": "#baz", "quux": "eggs" } } + }, + "then": { + "ref": "http://example.org/foo#baz", + "target": { "$id": "#baz", "quux": "eggs" } + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,23 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$id": "http://example.org/internal", + "$defs": { + "foo": { + "$anchor": "foo", + "foo": "bar" + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#foo", + "target": { + "$anchor": "foo", + "foo": "bar" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/external-uri-with-nested-relative-uri-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/external-uri-with-nested-relative-uri-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/external-uri-with-nested-relative-uri-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/external-uri-with-nested-relative-uri-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,27 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$defs": { + "foo": { + "$id": "foo", + "$defs": { + "spam": { + "$anchor": "bar", + "baz": "quux" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/foo#bar", + "target": { + "$anchor": "bar", + "baz": "quux" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/multiple-lookup-external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/multiple-lookup-external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2019-09/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2019-09/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,42 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$defs": { + "foo": { + "$id": "http://example.org/foo", + "$defs": { + "bar": { + "$anchor": "baz", + "quux": "eggs" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#/$defs/foo", + "target": { + "$id": "http://example.org/foo", + "$defs": { "bar": { "$anchor": "baz", "quux": "eggs" } } + }, + "then": { + "ref": "#baz", + "target": { "$anchor": "baz", "quux": "eggs" } + } + }, + { + "ref": "http://example.com/#/$defs/foo", + "target": { + "$id": "http://example.org/foo", + "$defs": { "bar": { "$anchor": "baz", "quux": "eggs" } } + }, + "then": { + "ref": "http://example.org/foo#baz", + "target": { "$anchor": "baz", "quux": "eggs" } + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,23 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$id": "http://example.org/internal", + "$defs": { + "foo": { + "$anchor": "foo", + "foo": "bar" + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#foo", + "target": { + "$anchor": "foo", + "foo": "bar" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/external-uri-with-nested-relative-uri-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/external-uri-with-nested-relative-uri-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/external-uri-with-nested-relative-uri-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/external-uri-with-nested-relative-uri-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,27 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$defs": { + "foo": { + "$id": "foo", + "$defs": { + "spam": { + "$anchor": "bar", + "baz": "quux" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/foo#bar", + "target": { + "$anchor": "bar", + "baz": "quux" + } + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/multiple-lookup-external-absolute-uri-with-different-id-anchor.json new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/multiple-lookup-external-absolute-uri-with-different-id-anchor.json --- old/referencing-0.27.1/suite/tests/json-schema-draft-2020-12/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 1970-01-01 01:00:00.000000000 +0100 +++ new/referencing-0.27.2/suite/tests/json-schema-draft-2020-12/multiple-lookup-external-absolute-uri-with-different-id-anchor.json 2023-04-13 18:27:20.000000000 +0200 @@ -0,0 +1,42 @@ +{ + "$schema": "../../test-schema.json", + "registry": { + "http://example.com/": { + "$defs": { + "foo": { + "$id": "http://example.org/foo", + "$defs": { + "bar": { + "$anchor": "baz", + "quux": "eggs" + } + } + } + } + } + }, + "tests": [ + { + "ref": "http://example.com/#/$defs/foo", + "target": { + "$id": "http://example.org/foo", + "$defs": { "bar": { "$anchor": "baz", "quux": "eggs" } } + }, + "then": { + "ref": "#baz", + "target": { "$anchor": "baz", "quux": "eggs" } + } + }, + { + "ref": "http://example.com/#/$defs/foo", + "target": { + "$id": "http://example.org/foo", + "$defs": { "bar": { "$anchor": "baz", "quux": "eggs" } } + }, + "then": { + "ref": "http://example.org/foo#baz", + "target": { "$anchor": "baz", "quux": "eggs" } + } + } + ] +}