Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Update jsonschema and openapi related python pkgs
@ 2023-09-16  4:42 tornaria
  2023-09-16 13:14 ` [PR PATCH] [Updated] " tornaria
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tornaria @ 2023-09-16  4:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 14548 bytes --]

From cbc17968f00582ae4539bf57d0b44d3be668b808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 1/9] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..92b5e4f34037f
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="cargo maturin"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+post_install() {
+	vlicense LICENSE
+}

From 0fc1d8988e7068b74604e251669567efd7fd9541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 2/9] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From 9fa3c623a6fcf1c111a0cf46dff7c648d79a3d2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 3/9] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From 8f6915684a95cf1d2e8c52e620136bee1e1dce9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 4/9] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From d3a784d6824250ad6e04066ecd55d8c54911cd6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 5/9] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From ad6cfdae926f184c4db7f01e7df9c11bb06614ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 6/9] python3-jsonschema: update to 4.19.0.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..d29cf48537668 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f
 
 post_install() {
 	vlicense COPYING LICENSE

From 5f032f2cc38558d7ecc33ea9264aeb5465ef5598 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 7/9] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From d796ec0e0d1ffa8e0a1e5839883cba3991058c83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 8/9] python3-openapi-schema-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..c26669f1d1f0d 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=921b7c1144b856ca3813e41ecff98a4050f7611824dfc5c6ead7072636af0520
 
 post_install() {
 	vlicense LICENSE

From cdd4303875a6160901e92b09e1c60f458d11b7c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 9/9] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
@ 2023-09-16 13:14 ` tornaria
  2023-09-16 13:24 ` tornaria
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-16 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 14758 bytes --]

From 276e1721a1d5ea04efae913fdb82d092f99af056 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 1/9] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..a0de25b16363c
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+fi
+
+post_install() {
+	vlicense LICENSE
+}

From b536cf1a5904e82090b59859397ec1f364c1f4d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 2/9] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From 93ab8a2d82b01eba05f400e0d904d82396020052 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 3/9] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From 8bce43e61a3ef2fc12af6e0c780c99a8dee21f78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 4/9] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 5141581dfc0457971d5ec4aaac5562271e982975 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 5/9] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From 88087abb1830b77341cf229d5b2bba70699b144f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 6/9] python3-jsonschema: update to 4.19.0.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..d29cf48537668 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f
 
 post_install() {
 	vlicense COPYING LICENSE

From 13440da13dd8cae687c2fc4e3379e883ed1777f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 7/9] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From 4bc754a1acb637e5d6f5d775e8dfd579671569eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 8/9] python3-openapi-schema-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..c26669f1d1f0d 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=921b7c1144b856ca3813e41ecff98a4050f7611824dfc5c6ead7072636af0520
 
 post_install() {
 	vlicense LICENSE

From 2d95723ffe0524537f2a7f40b1fa6647a939f023 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 9/9] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
  2023-09-16 13:14 ` [PR PATCH] [Updated] " tornaria
@ 2023-09-16 13:24 ` tornaria
  2023-09-16 13:42 ` tornaria
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-16 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 14764 bytes --]

From 558de10f1d9063c07b3a5bb74511027bbebc1b12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 1/9] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..4cc5730b77bd8
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends="python3 rust-std"
+	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+fi
+
+post_install() {
+	vlicense LICENSE
+}

From fe2cd79c5076bcb0e7d5a601e18335d8a772fac3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 2/9] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From 57ae6e8c36a9a5423697ae1ef064aaa99d9d683b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 3/9] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From 42580a806981ef0a06909bc847c827ca28f087c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 4/9] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 2281ab8c33aee861aeb45ffcf682a5ca7c4ac130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 5/9] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From 2775cfc49186d88cd3e71a23ba04391cc61c9291 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 6/9] python3-jsonschema: update to 4.19.0.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..d29cf48537668 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f
 
 post_install() {
 	vlicense COPYING LICENSE

From e500206ad03e098ed1c0b85e36b1acd549fb89d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 7/9] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From 7d8802fcea427aa474b6a1afa1ca798bb8e963e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 8/9] python3-openapi-schema-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..c26669f1d1f0d 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=921b7c1144b856ca3813e41ecff98a4050f7611824dfc5c6ead7072636af0520
 
 post_install() {
 	vlicense LICENSE

From ed7f06b0965e1277ca21ffb2cd6bd398cf16efc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 9/9] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
  2023-09-16 13:14 ` [PR PATCH] [Updated] " tornaria
  2023-09-16 13:24 ` tornaria
@ 2023-09-16 13:42 ` tornaria
  2023-09-16 14:51 ` [PR PATCH] [Updated] " tornaria
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-16 13:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/46077#issuecomment-1722233185

Comment:
There was an issue with cross building `python3-rpds-py` that is now solved.
For the record, this needed `build_helper=rust` and
```
if [ "$CROSS_BUILD" ]; then
	makedepends="python3 rust-std"
	export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
	export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
fi
```
which I took from `python3-adblock`.

I wonder if the `PYO3_CROSS...` variables should go into the rust build_helper (this is repeated in 4 and now 5 templates).

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (2 preceding siblings ...)
  2023-09-16 13:42 ` tornaria
@ 2023-09-16 14:51 ` tornaria
  2023-09-16 15:08 ` tornaria
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-16 14:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 15487 bytes --]

From 02690f80580dade1c9057636ea455317d22c90cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 11:49:40 -0300
Subject: [PATCH 01/10] common/build-helper/rust.sh: fix cross for pyo3

---
 common/build-helper/rust.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index f689f7c7f9d96..96ec351d545d9 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -33,6 +33,10 @@ fi
 # For cross-compiling rust -sys crates
 export PKG_CONFIG_ALLOW_CROSS=1
 
+# For cross-compiling pyo3 bindings
+export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+
 # gettext-rs
 export GETTEXT_BIN_DIR=/usr/bin
 export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"

From 3811d7ee17c625c7dbd254983fcf4f8ace588b7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 02/10] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..aaa7859603339
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+makedepends="python3 rust-std"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+post_install() {
+	vlicense LICENSE
+}

From 2aa851683dc0a154a668c930cf386be1e1bcbcfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 03/10] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From 63fa095239710134adf9fbb0bb8451994771750e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 04/10] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From 1f660f0d357e33b8acb4d4efffdebb1e0265b9c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 05/10] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 45874c8074000e6f45961144a8f3cc5f17c2805a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 06/10] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From e30e904f8defbf231236a8bb50001e74a0cd4017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 07/10] python3-jsonschema: update to 4.19.0.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..d29cf48537668 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f
 
 post_install() {
 	vlicense COPYING LICENSE

From a93008f4ad09c021788dded47d8bca600476e3ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 08/10] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From bed67147d7926ea99874219f84dbf03778542695 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 09/10] python3-openapi-schema-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..c26669f1d1f0d 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=921b7c1144b856ca3813e41ecff98a4050f7611824dfc5c6ead7072636af0520
 
 post_install() {
 	vlicense LICENSE

From 5a2f041d7c051fd50ad2ce3bc85a77608db8ac27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 10/10] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (3 preceding siblings ...)
  2023-09-16 14:51 ` [PR PATCH] [Updated] " tornaria
@ 2023-09-16 15:08 ` tornaria
  2023-09-23 11:00 ` [PR PATCH] [Updated] " tornaria
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-16 15:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/46077#issuecomment-1722249655

Comment:
I bite the bullet and moved the `PYO3_CROSS_...` settings to the rust build-helper.

In #46086 I refactor the other pkgs using `PYO3_CROSS_...`. Both PRs share the first commit.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (4 preceding siblings ...)
  2023-09-16 15:08 ` tornaria
@ 2023-09-23 11:00 ` tornaria
  2023-09-23 11:07 ` tornaria
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-23 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 15487 bytes --]

From 6d580319af1eca0056b5aac207efd9544503eb33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 11:49:40 -0300
Subject: [PATCH 01/10] common/build-helper/rust.sh: fix cross for pyo3

---
 common/build-helper/rust.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index f689f7c7f9d96..96ec351d545d9 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -33,6 +33,10 @@ fi
 # For cross-compiling rust -sys crates
 export PKG_CONFIG_ALLOW_CROSS=1
 
+# For cross-compiling pyo3 bindings
+export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+
 # gettext-rs
 export GETTEXT_BIN_DIR=/usr/bin
 export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"

From b93f69688844c1e7e7bbf9b3411b9fbccb7b8711 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 02/10] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..aaa7859603339
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+makedepends="python3 rust-std"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+post_install() {
+	vlicense LICENSE
+}

From 5c693f4bf5573dad43ed0e6604ee8d46d95076fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 03/10] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From f8ae3fa51a45b6e666aee2448e81aca161a68c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 04/10] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From fc26da5643173f15538e180e45ad2f85ce05669d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 05/10] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 57581d6608993286ababf30b4745a59ab13d63d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 06/10] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From 1259151ee12d67821b6b460ecf8cf1c23feceda6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 07/10] python3-jsonschema: update to 4.19.1.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..44faf389e7d0d 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.1
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf
 
 post_install() {
 	vlicense COPYING LICENSE

From 751fd608d39ec1a2dfb600a4ae9d297e01d8e16d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 08/10] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From fbba635285be37b410fe4fa3031e2189a9b212f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 09/10] python3-openapi-schema-validator: update to 0.6.1.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..77139da12b350 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=b8b25e2cb600a0ed18452e675b5dd8cbb99009909c2641c973a4b02c93e33ca2
 
 post_install() {
 	vlicense LICENSE

From a65f1efaebd8d1c2a207e9588662b1653d1f7682 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 10/10] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (5 preceding siblings ...)
  2023-09-23 11:00 ` [PR PATCH] [Updated] " tornaria
@ 2023-09-23 11:07 ` tornaria
  2023-09-23 12:12 ` [PR PATCH] [Updated] " tornaria
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-23 11:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/46077#issuecomment-1732283971

Comment:
cc: @jcgruenhage (python3-jsonschema: update to 4.19.1.)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (6 preceding siblings ...)
  2023-09-23 11:07 ` tornaria
@ 2023-09-23 12:12 ` tornaria
  2023-09-25 23:24 ` tornaria
  2023-09-26 18:48 ` [PR PATCH] [Merged]: " ahesford
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-23 12:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 15487 bytes --]

From 6d580319af1eca0056b5aac207efd9544503eb33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 11:49:40 -0300
Subject: [PATCH 01/10] common/build-helper/rust.sh: fix cross for pyo3

---
 common/build-helper/rust.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index f689f7c7f9d96..96ec351d545d9 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -33,6 +33,10 @@ fi
 # For cross-compiling rust -sys crates
 export PKG_CONFIG_ALLOW_CROSS=1
 
+# For cross-compiling pyo3 bindings
+export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+
 # gettext-rs
 export GETTEXT_BIN_DIR=/usr/bin
 export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"

From b93f69688844c1e7e7bbf9b3411b9fbccb7b8711 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 02/10] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..aaa7859603339
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+makedepends="python3 rust-std"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+post_install() {
+	vlicense LICENSE
+}

From 5c693f4bf5573dad43ed0e6604ee8d46d95076fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 03/10] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From f8ae3fa51a45b6e666aee2448e81aca161a68c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 04/10] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From fc26da5643173f15538e180e45ad2f85ce05669d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 05/10] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 57581d6608993286ababf30b4745a59ab13d63d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 06/10] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From 1259151ee12d67821b6b460ecf8cf1c23feceda6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 07/10] python3-jsonschema: update to 4.19.1.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..44faf389e7d0d 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.1
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf
 
 post_install() {
 	vlicense COPYING LICENSE

From 751fd608d39ec1a2dfb600a4ae9d297e01d8e16d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 08/10] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From fbba635285be37b410fe4fa3031e2189a9b212f7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 09/10] python3-openapi-schema-validator: update to 0.6.1.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..77139da12b350 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=b8b25e2cb600a0ed18452e675b5dd8cbb99009909c2641c973a4b02c93e33ca2
 
 post_install() {
 	vlicense LICENSE

From 2c148940df157bd82b1f40596a00cbe28a5c8349 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 10/10] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (7 preceding siblings ...)
  2023-09-23 12:12 ` [PR PATCH] [Updated] " tornaria
@ 2023-09-25 23:24 ` tornaria
  2023-09-26 18:48 ` [PR PATCH] [Merged]: " ahesford
  9 siblings, 0 replies; 11+ messages in thread
From: tornaria @ 2023-09-25 23:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages python3-jsonschema
https://github.com/void-linux/void-packages/pull/46077

Update jsonschema and openapi related python pkgs
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46077.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-jsonschema-46077.patch --]
[-- Type: text/x-diff, Size: 15487 bytes --]

From 820a486ddea06c3723753284da47e27b68cacfa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 11:49:40 -0300
Subject: [PATCH 01/10] common/build-helper/rust.sh: fix cross for pyo3

---
 common/build-helper/rust.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh
index f689f7c7f9d96..96ec351d545d9 100644
--- a/common/build-helper/rust.sh
+++ b/common/build-helper/rust.sh
@@ -33,6 +33,10 @@ fi
 # For cross-compiling rust -sys crates
 export PKG_CONFIG_ALLOW_CROSS=1
 
+# For cross-compiling pyo3 bindings
+export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
+export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
+
 # gettext-rs
 export GETTEXT_BIN_DIR=/usr/bin
 export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"

From af12ba49787d1d4c740693472d8d3aa24869d950 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:01:52 -0300
Subject: [PATCH 02/10] New package: python3-rpds-py-0.10.3

---
 srcpkgs/python3-rpds-py/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rpds-py/template

diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template
new file mode 100644
index 0000000000000..aaa7859603339
--- /dev/null
+++ b/srcpkgs/python3-rpds-py/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rpds-py'
+pkgname=python3-rpds-py
+version=0.10.3
+revision=1
+build_style=python3-pep517
+build_helper=rust
+hostmakedepends="cargo maturin"
+makedepends="python3 rust-std"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Python bindings to Rust's persistent data structures (rpds)"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/crate-py/rpds"
+changelog="https://github.com/crate-py/rpds/releases"
+distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz"
+checksum=fcc1ebb7561a3e24a6588f7c6ded15d80aec22c66a070c757559b57b17ffd1cb
+
+post_install() {
+	vlicense LICENSE
+}

From ad83e7330f7f62823466d1f3f66f2b7eed55674d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:22:53 -0300
Subject: [PATCH 03/10] New package: python3-referencing-0.30.2

---
 srcpkgs/python3-referencing/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/python3-referencing/template

diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template
new file mode 100644
index 0000000000000..44ea2d6cf46e9
--- /dev/null
+++ b/srcpkgs/python3-referencing/template
@@ -0,0 +1,27 @@
+# Template file for 'python3-referencing'
+pkgname=python3-referencing
+version=0.30.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-rpds-py"
+checkdepends="$depends python3-pytest-subtests"
+short_desc="Cross-specification JSON Referencing"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/referencing"
+changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
+distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
+checksum=794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0
+
+if [ "$XBPS_CHECK_PKGS" = full ]; then
+	# cyclic dependency
+	checkdepends+=" python3-jsonschema"
+else
+	# needs python3-jsonschema
+	make_check_args+=" --ignore=suite/test_sanity.py"
+fi
+
+post_install() {
+	vlicense COPYING
+}

From 2eed9cb9b3c6dca51db3608dca16c17aa2b25016 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:26:32 -0300
Subject: [PATCH 04/10] python3-jsonschema-spec: update to 0.2.4.

---
 srcpkgs/python3-jsonschema-spec/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonschema-spec/template b/srcpkgs/python3-jsonschema-spec/template
index 6caba5a29370c..725ba5a68a785 100644
--- a/srcpkgs/python3-jsonschema-spec/template
+++ b/srcpkgs/python3-jsonschema-spec/template
@@ -1,15 +1,15 @@
 # Template file for 'python3-jsonschema-spec'
 pkgname=python3-jsonschema-spec
-version=0.1.6
+version=0.2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema python3-pathable python3-yaml"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-pathable python3-referencing python3-yaml"
+checkdepends="$depends python3-pytest-cov python3-responses"
 short_desc="JSONSchema Spec with object-oriented paths"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/p1c2u/jsonschema-spec"
 changelog="https://github.com/p1c2u/jsonschema-spec/releases"
 distfiles="https://github.com/p1c2u/jsonschema-spec/archive/refs/tags/${version}.tar.gz"
-checksum=ab1d01d3ed40f83c3e272ffc86505830085a5306ad43db04a6e8edf560fedd1d
+checksum=291e898786587e8d370fd419b8d9e9a9eb34e95862a14c5f03261688c0b25bf6

From 6a6bfd4bec33032c987da0dbe64c5ad25a23a385 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 15 Sep 2023 23:24:55 -0300
Subject: [PATCH 05/10] New package: python3-jsonschema-specifications-2023.7.1

---
 .../python3-jsonschema-specifications/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-jsonschema-specifications/template

diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template
new file mode 100644
index 0000000000000..9761f5f5c26ff
--- /dev/null
+++ b/srcpkgs/python3-jsonschema-specifications/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-jsonschema-specifications'
+pkgname=python3-jsonschema-specifications
+version=2023.7.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-referencing"
+checkdepends="$depends python3-pytest"
+short_desc="JSON Schema specifications, exposed as a Registry"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="MIT"
+homepage="https://github.com/python-jsonschema/jsonschema-specifications"
+distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz"
+checksum=c91a50404e88a1f6ba40636778e2ee08f6e24c5613fe4c53ac24578a5a7f72bb
+
+post_install() {
+	vlicense COPYING
+}

From 322efa79128f6589e7281d2e57cec7f30be02bfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 20:24:02 -0300
Subject: [PATCH 06/10] python3-jsonpointer: update to 2.4, adopt.

---
 srcpkgs/python3-jsonpointer/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-jsonpointer/template b/srcpkgs/python3-jsonpointer/template
index 59b38c2228d6d..fba9a8ae4a447 100644
--- a/srcpkgs/python3-jsonpointer/template
+++ b/srcpkgs/python3-jsonpointer/template
@@ -1,21 +1,21 @@
 # Template file for 'python3-jsonpointer'
 pkgname=python3-jsonpointer
-version=2.3
+version=2.4
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
 short_desc="Resolve JSON Pointers according to RFC 6901 (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/stefankoegl/python-json-pointer"
 distfiles="${PYPI_SITE}/j/jsonpointer/jsonpointer-${version}.tar.gz"
-checksum=97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a
+checksum=585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88
 conflicts="python-jsonpointer>=0"
 
 do_check() {
 	# pytest is not supported
-	python3 tests.py
+	python3 -m unittest
 }
 
 post_install() {

From 94f96f47e10ef3a91988741d8c0138be038d5cab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 16 Aug 2023 21:06:42 -0300
Subject: [PATCH 07/10] python3-jsonschema: update to 4.19.1.

---
 .../0001-patch-out-hatch-fancy-pypi-readme.patch     |  6 +++---
 srcpkgs/python3-jsonschema/template                  | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
index 2f10a5f7f6d33..6c33f9ec5373c 100644
--- a/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
+++ b/srcpkgs/python3-jsonschema/patches/0001-patch-out-hatch-fancy-pypi-readme.patch
@@ -47,9 +47,9 @@ index f5fe8db..7ae8318 100644
 -path = "CHANGELOG.rst"
 -pattern = "(^v.+?)\nv"
 -
- [tool.isort]
- from_first = true
- include_trailing_comma = true
+ [tool.coverage.html]
+ branch = true
+ source = ["jsonschema"]
 -- 
 2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 272eb06edbdd6..44faf389e7d0d 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,19 +1,19 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.17.3
-revision=2
+version=4.19.1
+revision=1
 build_style=python3-pep517
 hostmakedepends="hatchling hatch-vcs"
-depends="python3-attrs python3-idna python3-jsonpointer python3-pyrsistent
- python3-rfc3339-validator python3-rfc3986-validator"
-checkdepends="${depends} python3-pytest python3-pip"
+depends="python3-attrs python3-jsonschema-specifications"
+checkdepends="${depends} python3-pytest python3-idna python3-jsonpointer
+ python3-pip python3-rfc3339-validator python3-rfc3987"
 short_desc="Implementation of JSON Schema for Python3"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/Julian/jsonschema"
 changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
+checksum=ec84cc37cfa703ef7cd4928db24f9cb31428a5d0fa77747b8b51a847458e0bbf
 
 post_install() {
 	vlicense COPYING LICENSE

From 7a3e513664f1ec6360963f7f572e6f4d79be4b2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:04:50 -0300
Subject: [PATCH 08/10] python3-openapi-spec-validator: update to 0.6.0.

---
 srcpkgs/python3-openapi-spec-validator/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-openapi-spec-validator/template b/srcpkgs/python3-openapi-spec-validator/template
index f75c24694c30b..f123e954f6f2d 100644
--- a/srcpkgs/python3-openapi-spec-validator/template
+++ b/srcpkgs/python3-openapi-spec-validator/template
@@ -1,16 +1,16 @@
 # Template file for 'python3-openapi-spec-validator'
 pkgname=python3-openapi-spec-validator
-version=0.5.7
+version=0.6.0
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
 depends="python3-jsonschema-spec python3-lazy-object-proxy
  python3-openapi-schema-validator"
-checkdepends="$depends python3-pytest-cov python3-toml"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI spec validator"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="Apache-2.0"
 homepage="https://github.com/python-openapi/openapi-spec-validator"
 changelog="https://github.com/python-openapi/openapi-spec-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-spec-validator/openapi_spec_validator-${version}.tar.gz"
-checksum=6c2d42180045a80fd6314de848b94310bdb0fa4949f4b099578b69f79d9fa5ac
+checksum=68c4c212c88ef14c6b1a591b895bf742c455783c7ebba2507abd7dbc1365a616

From 777d8a6cba99e0fb1133dbf384259c5c6b34c484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:07 -0300
Subject: [PATCH 09/10] python3-openapi-schema-validator: update to 0.6.1.

---
 srcpkgs/python3-openapi-schema-validator/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-openapi-schema-validator/template b/srcpkgs/python3-openapi-schema-validator/template
index bb26e4a7d6034..77139da12b350 100644
--- a/srcpkgs/python3-openapi-schema-validator/template
+++ b/srcpkgs/python3-openapi-schema-validator/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-openapi-schema-validator'
 pkgname=python3-openapi-schema-validator
-version=0.4.4
+version=0.6.1
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-poetry-core"
-depends="python3-jsonschema"
-checkdepends="$depends python3-pytest-cov python3-toml"
+depends="python3-jsonschema python3-rfc3339-validator"
+checkdepends="$depends python3-pytest-cov"
 short_desc="OpenAPI schema validation for Python"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-schema-validator"
 changelog="https://github.com/python-openapi/openapi-schema-validator/releases"
 distfiles="${PYPI_SITE}/o/openapi-schema-validator/openapi_schema_validator-${version}.tar.gz"
-checksum=c573e2be2c783abae56c5a1486ab716ca96e09d1c3eab56020d1dc680aa57bf8
+checksum=b8b25e2cb600a0ed18452e675b5dd8cbb99009909c2641c973a4b02c93e33ca2
 
 post_install() {
 	vlicense LICENSE

From f67586f0fb393bdfd54ad0b27dbfadfe6b9bab4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 16 Sep 2023 01:05:23 -0300
Subject: [PATCH 10/10] python3-openapi-core: update to 0.18.1.

---
 srcpkgs/python3-openapi-core/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-openapi-core/template b/srcpkgs/python3-openapi-core/template
index 2dd5dceab1d6a..19bb7af32a364 100644
--- a/srcpkgs/python3-openapi-core/template
+++ b/srcpkgs/python3-openapi-core/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-openapi-core'
 pkgname=python3-openapi-core
-version=0.17.1
+version=0.18.1
 revision=1
 build_style=python3-pep517
 # disable tests requiring unpackaged dependencies
@@ -11,17 +11,17 @@ make_check_args="
  --ignore=tests/integration/contrib/starlette
  "
 hostmakedepends="python3-poetry-core"
-depends="python3-isodate python3-more-itertools python3-openapi-spec-validator
- python3-parse python3-Werkzeug"
-checkdepends="$depends python3-pytest-cov python3-Flask python3-requests
- python3-responses python3-toml python3-WebOb"
+depends="python3-asgiref python3-isodate python3-more-itertools
+ python3-openapi-spec-validator python3-parse python3-Werkzeug"
+checkdepends="$depends python3-pytest-cov python3-pytest-aiohttp
+ python3-Flask python3-requests python3-responses python3-WebOb"
 short_desc="Support for the OpenAPI Specification v3"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-3-Clause"
 homepage="https://github.com/python-openapi/openapi-core"
 changelog="https://github.com/python-openapi/openapi-core/releases"
 distfiles="${PYPI_SITE}/o/openapi-core/openapi_core-${version}.tar.gz"
-checksum=561b7e2b37b336e9c62d4634b9059d12d9bb2e1859062a39d3a0fa6afc8c9de6
+checksum=63fa13d9af226ac00119b0531ac9929e3dbb4cbe00216770784473fa6a03bc27
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Merged]: Update jsonschema and openapi related python pkgs
  2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
                   ` (8 preceding siblings ...)
  2023-09-25 23:24 ` tornaria
@ 2023-09-26 18:48 ` ahesford
  9 siblings, 0 replies; 11+ messages in thread
From: ahesford @ 2023-09-26 18:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

There's a merged pull request on the void-packages repository

Update jsonschema and openapi related python pkgs
https://github.com/void-linux/void-packages/pull/46077

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-26 18:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-16  4:42 [PR PATCH] Update jsonschema and openapi related python pkgs tornaria
2023-09-16 13:14 ` [PR PATCH] [Updated] " tornaria
2023-09-16 13:24 ` tornaria
2023-09-16 13:42 ` tornaria
2023-09-16 14:51 ` [PR PATCH] [Updated] " tornaria
2023-09-16 15:08 ` tornaria
2023-09-23 11:00 ` [PR PATCH] [Updated] " tornaria
2023-09-23 11:07 ` tornaria
2023-09-23 12:12 ` [PR PATCH] [Updated] " tornaria
2023-09-25 23:24 ` tornaria
2023-09-26 18:48 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).