Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-hatch-1.2.1
@ 2022-06-11 12:28 jcgruenhage
  2022-06-11 13:08 ` [PR REVIEW] " Chocimier
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 12:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6783 bytes --]

From 3c66a986d6e6f56db2bfe6287f05d7bbc23d2d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/5] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f13dc6fdea58300ad88dc1ae087211f93f738c51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/5] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 4162cb52dc8e4cf6258e5c36a20416737a0f3404 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:25 +0200
Subject: [PATCH 3/5] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From b22151cd8eb0dcfdb2ae88a6b66bddf099fae250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:35 +0200
Subject: [PATCH 4/5] New package: python3-tomlkit-0.11.0

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

diff --git a/srcpkgs/python3-tomlkit/template b/srcpkgs/python3-tomlkit/template
new file mode 100644
index 000000000000..093e29b41166
--- /dev/null
+++ b/srcpkgs/python3-tomlkit/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tomlkit'
+pkgname=python3-tomlkit
+version=0.11.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+short_desc="Style-preserving TOML library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/sdispater/tomlkit"
+changelog="https://github.com/sdispater/tomlkit/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd
+#Requires a git submodule for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 288e9ae5ec4c6ad5364bf3e17fe997feaa9c2d9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 5/5] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..85280d08d061
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+#archs="i686 x86_64"
+wrksrc="${pkgname/python3-/}-${version}"
+#create_wrksrc=yes
+build_style=python3-pep517
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="python3-hatchling"
+makedepends=""
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx python3-keyring python3-pexpect python3-platformdirs python3-pyperclip python3-rich python3-tomli-w python3-tomlkit python3-userpath python3-virtualenv"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+# Requires itself to be installed for testing
+make_check=no
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
@ 2022-06-11 13:08 ` Chocimier
  2022-06-11 13:58 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Chocimier @ 2022-06-11 13:08 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895024826

Comment:
It only requires being on import path: `make_check_pre="env PYTHONPATH=./src"`

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

* Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
  2022-06-11 13:08 ` [PR REVIEW] " Chocimier
@ 2022-06-11 13:58 ` jcgruenhage
  2022-06-11 13:59 ` [PR REVIEW] " jcgruenhage
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 13:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6614 bytes --]

From 3c66a986d6e6f56db2bfe6287f05d7bbc23d2d78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/5] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f13dc6fdea58300ad88dc1ae087211f93f738c51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/5] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 4162cb52dc8e4cf6258e5c36a20416737a0f3404 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:25 +0200
Subject: [PATCH 3/5] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From b22151cd8eb0dcfdb2ae88a6b66bddf099fae250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:35 +0200
Subject: [PATCH 4/5] New package: python3-tomlkit-0.11.0

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

diff --git a/srcpkgs/python3-tomlkit/template b/srcpkgs/python3-tomlkit/template
new file mode 100644
index 000000000000..093e29b41166
--- /dev/null
+++ b/srcpkgs/python3-tomlkit/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-tomlkit'
+pkgname=python3-tomlkit
+version=0.11.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3"
+short_desc="Style-preserving TOML library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/sdispater/tomlkit"
+changelog="https://github.com/sdispater/tomlkit/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/t/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd
+#Requires a git submodule for running tests
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From c247260f9e9ced9d9e2700629d3942324930ef4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 5/5] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..a13de9cd6042
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-hatchling"
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx python3-keyring python3-pexpect python3-platformdirs python3-pyperclip python3-rich python3-tomli-w python3-tomlkit python3-userpath python3-virtualenv"
+checkdepends="${depends} python3-pytest"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
  2022-06-11 13:08 ` [PR REVIEW] " Chocimier
  2022-06-11 13:58 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-11 13:59 ` jcgruenhage
  2022-06-11 13:59 ` jcgruenhage
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 13:59 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895029446

Comment:
Indeed! With this added (and git added to `checkdepends` it runs mot of the tests now :)

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-06-11 13:59 ` [PR REVIEW] " jcgruenhage
@ 2022-06-11 13:59 ` jcgruenhage
  2022-06-11 14:03 ` paper42
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 13:59 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895029446

Comment:
Indeed! With this added (and git added to `checkdepends`) it runs mot of the tests now :)

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-06-11 13:59 ` jcgruenhage
@ 2022-06-11 14:03 ` paper42
  2022-06-11 14:13 ` jcgruenhage
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2022-06-11 14:03 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895029866

Comment:
Could you explain why you think this package requires a git submodule for running tests? I had the package ready for a pylint update that I didn't merge yet, so I pushed my template with tests working: 72d051fb7312c60bbb05fc96f9df4662d99e7c90.

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-06-11 14:03 ` paper42
@ 2022-06-11 14:13 ` jcgruenhage
  2022-06-11 14:17 ` paper42
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 14:13 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895030796

Comment:
It's what upstream claims, see https://github.com/sdispater/tomlkit/#running-tests

I've just seen your merged template in the notifications, and am rebasing. Happy  to hear that apparently we can run the tests there.

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (5 preceding siblings ...)
  2022-06-11 14:13 ` jcgruenhage
@ 2022-06-11 14:17 ` paper42
  2022-06-11 14:21 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2022-06-11 14:17 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r895031105

Comment:
But the PyPI tarballs have that submodule bundled inside. It's always good to try to run tests before looking upstream.

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

* Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (6 preceding siblings ...)
  2022-06-11 14:17 ` paper42
@ 2022-06-11 14:21 ` jcgruenhage
  2022-06-11 14:35 ` jcgruenhage
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 14:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6380 bytes --]

From 03dc17de9592a3896839c1984ac3cfa04fb6620d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/4] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 58925bbef1ffbca8aecd83c62c5f7f174db0d4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/4] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 83b63c992578f607d1358fe86247ac6314694968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:25 +0200
Subject: [PATCH 3/4] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 64b4723d0acc70078624236fd9342f6d892fa4d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 4/4] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..28505eb8f7cc
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,35 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
+hostmakedepends="python3-hatchling"
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock git"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (7 preceding siblings ...)
  2022-06-11 14:21 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-11 14:35 ` jcgruenhage
  2022-06-11 14:43 ` jcgruenhage
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 14:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6415 bytes --]

From 03dc17de9592a3896839c1984ac3cfa04fb6620d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/4] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 58925bbef1ffbca8aecd83c62c5f7f174db0d4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/4] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 83b63c992578f607d1358fe86247ac6314694968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:25 +0200
Subject: [PATCH 3/4] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From 5c335c3d885e9b8944f0b7ed8f4e9c735bbd47c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 4/4] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..155ec5d9742c
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,36 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
+hostmakedepends="python3-hatchling"
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (8 preceding siblings ...)
  2022-06-11 14:35 ` jcgruenhage
@ 2022-06-11 14:43 ` jcgruenhage
  2022-06-17 16:28 ` icp1994
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-11 14:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6539 bytes --]

From 03dc17de9592a3896839c1984ac3cfa04fb6620d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/4] New package: python3-hatchling-1.3.1

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

diff --git a/srcpkgs/python3-hatchling/template b/srcpkgs/python3-hatchling/template
new file mode 100644
index 000000000000..cb78b62375d4
--- /dev/null
+++ b/srcpkgs/python3-hatchling/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-hatchling'
+pkgname=python3-hatchling
+version=1.3.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 58925bbef1ffbca8aecd83c62c5f7f174db0d4ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/4] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 83b63c992578f607d1358fe86247ac6314694968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:25 +0200
Subject: [PATCH 3/4] python3-click: update to 8.1.3.

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

diff --git a/srcpkgs/python3-click/template b/srcpkgs/python3-click/template
index 2583a95cc4ad..c0f39a2d3e70 100644
--- a/srcpkgs/python3-click/template
+++ b/srcpkgs/python3-click/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-click'
 pkgname=python3-click
-version=7.1.2
-revision=5
+version=8.1.3
+revision=1
 wrksrc="click-${version}"
 build_style="python3-module"
 hostmakedepends="python3-setuptools"
@@ -11,7 +11,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
 license="BSD-3-Clause"
 homepage="http://click.pocoo.org/"
 distfiles="${PYPI_SITE}/c/click/click-${version}.tar.gz"
-checksum=d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a
+checksum=7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e
 
 post_install() {
 	vlicense LICENSE.rst

From d4494456c9e11404276892e933799680c7393fe1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 4/4] New package: python3-hatch-1.2.1

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

diff --git a/srcpkgs/python3-hatch/template b/srcpkgs/python3-hatch/template
new file mode 100644
index 000000000000..cc49278739bc
--- /dev/null
+++ b/srcpkgs/python3-hatch/template
@@ -0,0 +1,38 @@
+# Template file for 'python3-hatch'
+pkgname=python3-hatch
+version=1.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/backend/dep/test_core.py::test_unknown_extra
+ --deselect tests/backend/dep/test_core.py::test_extra_met"
+hostmakedepends="python3-hatchling"
+depends="python3-atomicwrites python3-click python3-hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (9 preceding siblings ...)
  2022-06-11 14:43 ` jcgruenhage
@ 2022-06-17 16:28 ` icp1994
  2022-06-17 16:28 ` icp1994
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: icp1994 @ 2022-06-17 16:28 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#issuecomment-1159040430

Comment:
Hello, I didn't you were working on this already. I have been trying to package this for a few days and finally managed to get a working build. Since you have this PR already, please feel free to reuse any part of [my commit](https://github.com/icp1994/void-packages/commit/a75b698c88d153464d6cda9be1b19be7cb738107) if you wish.

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

* Re: New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (10 preceding siblings ...)
  2022-06-17 16:28 ` icp1994
@ 2022-06-17 16:28 ` icp1994
  2022-06-18  7:08 ` [PR REVIEW] " paper42
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: icp1994 @ 2022-06-17 16:28 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#issuecomment-1159040430

Comment:
Hello, I didn't know you were working on this already. I have been trying to package this for a few days and finally managed to get a working build. Since you have this PR already, please feel free to reuse any part of [my commit](https://github.com/icp1994/void-packages/commit/a75b698c88d153464d6cda9be1b19be7cb738107) if you wish.

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (11 preceding siblings ...)
  2022-06-17 16:28 ` icp1994
@ 2022-06-18  7:08 ` paper42
  2022-06-18  7:08 ` paper42
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2022-06-18  7:08 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r900708429

Comment:
```suggestion
homepage="https://palletsprojects.com/p/click/"
changelog="https://raw.githubusercontent.com/pallets/click/main/CHANGES.rst"
```

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

* Re: [PR REVIEW] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (12 preceding siblings ...)
  2022-06-18  7:08 ` [PR REVIEW] " paper42
@ 2022-06-18  7:08 ` paper42
  2022-06-24 19:55 ` leahneukirchen
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2022-06-18  7:08 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#discussion_r900708392

Comment:
add python3-pytest to checkdepends to actually run tests

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

* Re: New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (13 preceding siblings ...)
  2022-06-18  7:08 ` paper42
@ 2022-06-24 19:55 ` leahneukirchen
  2022-06-26 10:01 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: leahneukirchen @ 2022-06-24 19:55 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/37514#issuecomment-1165891073

Comment:
Please rebase.

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

* Re: [PR PATCH] [Updated] New package: python3-hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (14 preceding siblings ...)
  2022-06-24 19:55 ` leahneukirchen
@ 2022-06-26 10:01 ` jcgruenhage
  2022-06-26 14:45 ` [PR PATCH] [Updated] New package: hatch-1.2.1 jcgruenhage
  2022-06-29 16:45 ` [PR PATCH] [Merged]: " leahneukirchen
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-26 10:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: python3-hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it
 - ~~There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages~~ there are a few tests failing now, but they are being run and there's a hundred times more tests that do work as intended. The ones failing where it's expecting to be running /usr/bin/python, but is actually running /usr/bin/python3 or similar things, which is fine IMO.
 - Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 5137 bytes --]

From 0eef4d5dd84a5dc662a8caeb40e7360f5acbe28a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/3] New package: hatchling-1.3.1

---
 srcpkgs/hatchling/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/hatchling/template

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
new file mode 100644
index 000000000000..894c15c8f719
--- /dev/null
+++ b/srcpkgs/hatchling/template
@@ -0,0 +1,18 @@
+# Template file for 'hatchling'
+pkgname=hatchling
+version=1.3.1
+revision=1
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ed1a9130fab7f442934bda5212f4c8e82193aab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/3] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 1e606eabc2974eafedc4cc0bd10ebc4e3ed3b551 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 3/3] New package: hatch-1.2.1

---
 srcpkgs/hatch/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/hatch/template

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
new file mode 100644
index 000000000000..f8b068a2a713
--- /dev/null
+++ b/srcpkgs/hatch/template
@@ -0,0 +1,37 @@
+# Template file for 'hatch'
+pkgname=hatch
+version=1.2.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/backend/dep/test_core.py::test_unknown_extra
+ --deselect tests/backend/dep/test_core.py::test_extra_met"
+hostmakedepends="hatchling"
+depends="python3-atomicwrites python3-click hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Updated] New package: hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (15 preceding siblings ...)
  2022-06-26 10:01 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-26 14:45 ` jcgruenhage
  2022-06-29 16:45 ` [PR PATCH] [Merged]: " leahneukirchen
  17 siblings, 0 replies; 19+ messages in thread
From: jcgruenhage @ 2022-06-26 14:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-hatch-1.2.1_1
https://github.com/void-linux/void-packages/pull/37514

New package: hatch-1.2.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - ~~As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it.~~ Considering no one commented on this bit, I've decided to just get rid of.
 - ~~There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages~~ there are a few tests failing now, but they are being run and there's a hundred times more tests that do work as intended. The ones failing where it's expecting to be running /usr/bin/python, but is actually running /usr/bin/python3 or similar things, which is fine IMO.
 - ~~Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?~~ Has been updated outside of this PR.
 
Fixes #37334

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-hatch-1.2.1_1-37514.patch --]
[-- Type: text/x-diff, Size: 6610 bytes --]

From 0eef4d5dd84a5dc662a8caeb40e7360f5acbe28a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 13:45:01 +0200
Subject: [PATCH 1/4] New package: hatchling-1.3.1

---
 srcpkgs/hatchling/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/hatchling/template

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
new file mode 100644
index 000000000000..894c15c8f719
--- /dev/null
+++ b/srcpkgs/hatchling/template
@@ -0,0 +1,18 @@
+# Template file for 'hatchling'
+pkgname=hatchling
+version=1.3.1
+revision=1
+build_style=python3-pep517
+_deps="python3-pathspec python3-tomli python3-pluggy python3-packaging"
+hostmakedepends="python3-setuptools ${_deps}"
+depends="${_deps}"
+short_desc="Extensible, standards compliant build backend used by Hatch"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=aaa63019c9d666053d9ff318097335e766123844547c52940155c0401c3c142f
+
+post_install() {
+	vlicense LICENSE.txt
+}

From ed1a9130fab7f442934bda5212f4c8e82193aab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:06:41 +0200
Subject: [PATCH 2/4] New package: python3-tomli-w-1.0.0

---
 srcpkgs/python3-tomli-w/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-tomli-w/template

diff --git a/srcpkgs/python3-tomli-w/template b/srcpkgs/python3-tomli-w/template
new file mode 100644
index 000000000000..6268e501aedf
--- /dev/null
+++ b/srcpkgs/python3-tomli-w/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tomli-w'
+pkgname=python3-tomli-w
+version=1.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+checkdepends="python3-pytest python3-tomli"
+short_desc="Lil' python TOML writer"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hukkin/tomli-w"
+changelog="https://github.com/hukkin/tomli-w/raw/master/CHANGELOG.md"
+distfiles="https://github.com/hukkin/tomli-w/archive/refs/tags/${version}.tar.gz"
+checksum=4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d
+
+post_install() {
+	vlicense LICENSE
+}

From 1e606eabc2974eafedc4cc0bd10ebc4e3ed3b551 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 14:20:44 +0200
Subject: [PATCH 3/4] New package: hatch-1.2.1

---
 srcpkgs/hatch/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/hatch/template

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
new file mode 100644
index 000000000000..f8b068a2a713
--- /dev/null
+++ b/srcpkgs/hatch/template
@@ -0,0 +1,37 @@
+# Template file for 'hatch'
+pkgname=hatch
+version=1.2.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect tests/backend/test_build.py::test_editable
+ --deselect tests/backend/builders/test_custom.py::test_default
+ --deselect tests/backend/builders/test_custom.py::test_explicit_path
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_default_auto_detection
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_default_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_extra_dependencies
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_exact_force_include
+ --deselect tests/backend/builders/test_wheel.py::TestBuildStandard::test_editable_pth
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/backend/dep/test_core.py::test_unknown_extra
+ --deselect tests/backend/dep/test_core.py::test_extra_met"
+hostmakedepends="hatchling"
+depends="python3-atomicwrites python3-click hatchling python3-httpx
+ python3-keyring python3-pexpect python3-platformdirs python3-pyperclip
+ python3-rich python3-tomli-w python3-tomlkit python3-userpath
+ python3-virtualenv"
+checkdepends="${depends} python3-pytest python3-pytest-mock
+ python3-pytest-xdist git python3-pip"
+short_desc="Modern, extensible Python project management "
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://hatch.pypa.io/latest/"
+distfiles="${PYPI_SITE}/h/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=61761e1fe14474fb2be7e264555b99fc343b4e63c0ee32aa3497c651e4cdec03
+make_check_pre="env PYTHONPATH=./src"
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 8c7e53b4e6b66270be86dc26cb6450e979657b9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:45:06 +0200
Subject: [PATCH 4/4] New package: hatch-vcs-0.2.0

---
 srcpkgs/hatch-vcs/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/hatch-vcs/template

diff --git a/srcpkgs/hatch-vcs/template b/srcpkgs/hatch-vcs/template
new file mode 100644
index 000000000000..adac314297e0
--- /dev/null
+++ b/srcpkgs/hatch-vcs/template
@@ -0,0 +1,24 @@
+# Template file for 'hatch-vcs'
+pkgname=hatch-vcs
+version=0.2.0
+revision=1
+wrksrc="${pkgname/-/_}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_build.py::test_basic
+ --deselect tests/test_build.py::test_write
+ --deselect tests/test_build.py::test_fallback"
+hostmakedepends="hatchling"
+depends="hatchling python3-setuptools_scm"
+checkdepends="${depends} python3-pytest git"
+short_desc="Hatch plugin for VCS based versioning"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ofek/hatch-vcs"
+changelog="https://github.com/ofek/hatch-vcs/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/h/${pkgname/-/_}/${pkgname/-/_}-${version}.tar.gz"
+checksum=9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff
+make_check_pre="env PYTHONPATH=./"
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Merged]: New package: hatch-1.2.1
  2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
                   ` (16 preceding siblings ...)
  2022-06-26 14:45 ` [PR PATCH] [Updated] New package: hatch-1.2.1 jcgruenhage
@ 2022-06-29 16:45 ` leahneukirchen
  17 siblings, 0 replies; 19+ messages in thread
From: leahneukirchen @ 2022-06-29 16:45 UTC (permalink / raw)
  To: ml

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

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

New package: hatch-1.2.1
https://github.com/void-linux/void-packages/pull/37514

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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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
-->

### Bikeshedding opportunities
 - ~~As they aren't just libraries, but also CLI tools, do hatch/hatchling need the `python3-` prefix? I personally don't like it, and would argue in favor of removing it.~~ Considering no one commented on this bit, I've decided to just get rid of.
 - ~~There's nearly no testing happening here, but that's due to the deps either requiring git checkouts with submodules, or themselves to be installed for testing. Any opinions on this? I'd prefer to have some amount of automatic testing here and not just a "JC has run this on his laptop once", considering that these are likely to be fairly central Python packages~~ there are a few tests failing now, but they are being run and there's a hundred times more tests that do work as intended. The ones failing where it's expecting to be running /usr/bin/python, but is actually running /usr/bin/python3 or similar things, which is fine IMO.
 - ~~Is a major update of python3-click something that might need additional testing? 29 of our packages depend on it, but on the other hand, it's *probably* fine, right?~~ Has been updated outside of this PR.
 
Fixes #37334

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

end of thread, other threads:[~2022-06-29 16:45 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 12:28 [PR PATCH] New package: python3-hatch-1.2.1 jcgruenhage
2022-06-11 13:08 ` [PR REVIEW] " Chocimier
2022-06-11 13:58 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-11 13:59 ` [PR REVIEW] " jcgruenhage
2022-06-11 13:59 ` jcgruenhage
2022-06-11 14:03 ` paper42
2022-06-11 14:13 ` jcgruenhage
2022-06-11 14:17 ` paper42
2022-06-11 14:21 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-11 14:35 ` jcgruenhage
2022-06-11 14:43 ` jcgruenhage
2022-06-17 16:28 ` icp1994
2022-06-17 16:28 ` icp1994
2022-06-18  7:08 ` [PR REVIEW] " paper42
2022-06-18  7:08 ` paper42
2022-06-24 19:55 ` leahneukirchen
2022-06-26 10:01 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-26 14:45 ` [PR PATCH] [Updated] New package: hatch-1.2.1 jcgruenhage
2022-06-29 16:45 ` [PR PATCH] [Merged]: " leahneukirchen

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