Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-jsonschema: update to 4.16.0.
@ 2022-09-13 21:10 jcgruenhage
  2022-09-14  6:30 ` classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jcgruenhage @ 2022-09-13 21:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-jsonschema-4.16.0_1
https://github.com/void-linux/void-packages/pull/39271

python3-jsonschema: update to 4.16.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/39271.patch is attached

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

From aca7a153834f7406d59664a797245cb3bbade2f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 13 Sep 2022 23:10:18 +0200
Subject: [PATCH] python3-jsonschema: update to 4.16.0.

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

diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index f010fe21e108..7c4aff633d6f 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.15.0
+version=4.16.0
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
@@ -13,7 +13,7 @@ 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=21f4979391bdceb044e502fd8e79e738c0cdfbdc8773f9a49b5769461e82fe1e
+checksum=165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23
 
 do_check() {
 	rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run

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

* Re: python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
@ 2022-09-14  6:30 ` classabbyamp
  2022-09-14  8:44 ` jcgruenhage
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-09-14  6:30 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39271#issuecomment-1246303165

Comment:
do the tests and benchmarks need to be installed?

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

* Re: python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
  2022-09-14  6:30 ` classabbyamp
@ 2022-09-14  8:44 ` jcgruenhage
  2022-09-14  8:56 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-09-14  8:44 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/39271#issuecomment-1246440274

Comment:
I doubt it.. I'll look into figuring out how to tell hatchling not to package those and open a PR upstream.

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

* Re: [PR PATCH] [Updated] python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
  2022-09-14  6:30 ` classabbyamp
  2022-09-14  8:44 ` jcgruenhage
@ 2022-09-14  8:56 ` jcgruenhage
  2022-09-14  9:08 ` jcgruenhage
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-09-14  8:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-jsonschema-4.16.0_1
https://github.com/void-linux/void-packages/pull/39271

python3-jsonschema: update to 4.16.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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/39271.patch is attached

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

From e1c04bae6a567fdb6011b32dba82df97d76bedf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 13 Sep 2022 23:10:18 +0200
Subject: [PATCH] python3-jsonschema: update to 4.16.0.

---
 ...01-patch-out-hatch-fancy-pypi-readme.patch |  6 ++--
 ...2-don-t-install-tests-and-benchmarks.patch | 30 +++++++++++++++++++
 srcpkgs/python3-jsonschema/template           |  4 +--
 3 files changed, 35 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch

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 611e3bbbada9..2f10a5f7f6d3 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
@@ -1,8 +1,8 @@
-From 51aaa505d9963b6424d567f1fc704194fa890a67 Mon Sep 17 00:00:00 2001
+From 65fc53be6b8330ddc65cb0f345ee3cd5af38e189 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
  <jan.christian@gruenhage.xyz>
 Date: Sun, 21 Aug 2022 13:53:37 +0200
-Subject: [PATCH] patch out hatch-fancy-pypi-readme
+Subject: [PATCH 1/2] patch out hatch-fancy-pypi-readme
 
 ---
  pyproject.toml | 26 +-------------------------
@@ -51,5 +51,5 @@ index f5fe8db..7ae8318 100644
  from_first = true
  include_trailing_comma = true
 -- 
-2.37.2
+2.37.3
 
diff --git a/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch b/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch
new file mode 100644
index 000000000000..beb3de721661
--- /dev/null
+++ b/srcpkgs/python3-jsonschema/patches/0002-don-t-install-tests-and-benchmarks.patch
@@ -0,0 +1,30 @@
+From f44c0f8600c01a97f0a093adeb446b7c68511a33 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 14 Sep 2022 10:48:39 +0200
+Subject: [PATCH 2/2] don't install tests and benchmarks
+
+---
+ pyproject.toml | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 7ae8318..9dfc3ef 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -5,6 +5,12 @@ build-backend = "hatchling.build"
+ [tool.hatch.version]
+ source = "vcs"
+ 
++[tool.hatch.build]
++exclude = [
++  "jsonschema/tests",
++  "jsonschema/benchmarks",
++]
++
+ [project]
+ name = "jsonschema"
+ description = "An implementation of JSON Schema validation for Python"
+-- 
+2.37.3
+
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index f010fe21e108..7c4aff633d6f 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-jsonschema'
 pkgname=python3-jsonschema
-version=4.15.0
+version=4.16.0
 revision=1
 wrksrc="jsonschema-${version}"
 build_style=python3-pep517
@@ -13,7 +13,7 @@ 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=21f4979391bdceb044e502fd8e79e738c0cdfbdc8773f9a49b5769461e82fe1e
+checksum=165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23
 
 do_check() {
 	rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run

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

* Re: python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-09-14  8:56 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-09-14  9:08 ` jcgruenhage
  2022-09-14 13:43 ` jcgruenhage
  2022-09-19  4:11 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-09-14  9:08 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/39271#issuecomment-1246468077

Comment:
So yeah that was actually fairly easy to do, hatch has just a config section for ignoring things. Upstream PR is at https://github.com/python-jsonschema/jsonschema/pull/1003, verified locally that it excludes those directories as expected and still works.

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

* Re: python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-09-14  9:08 ` jcgruenhage
@ 2022-09-14 13:43 ` jcgruenhage
  2022-09-19  4:11 ` [PR PATCH] [Merged]: " classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-09-14 13:43 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/39271#issuecomment-1246785954

Comment:
yeah okay, so upstream wants to install them, we'll just keep our patch locally then?

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

* Re: [PR PATCH] [Merged]: python3-jsonschema: update to 4.16.0.
  2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-09-14 13:43 ` jcgruenhage
@ 2022-09-19  4:11 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-09-19  4:11 UTC (permalink / raw)
  To: ml

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

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

python3-jsonschema: update to 4.16.0.
https://github.com/void-linux/void-packages/pull/39271

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

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

<!--
#### 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] 7+ messages in thread

end of thread, other threads:[~2022-09-19  4:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13 21:10 [PR PATCH] python3-jsonschema: update to 4.16.0 jcgruenhage
2022-09-14  6:30 ` classabbyamp
2022-09-14  8:44 ` jcgruenhage
2022-09-14  8:56 ` [PR PATCH] [Updated] " jcgruenhage
2022-09-14  9:08 ` jcgruenhage
2022-09-14 13:43 ` jcgruenhage
2022-09-19  4:11 ` [PR PATCH] [Merged]: " classabbyamp

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).