Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hatch: update to 1.9.3.
@ 2024-02-02  0:33 ljnsn
  2024-02-02  5:30 ` classabbyamp
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ljnsn @ 2024-02-02  0:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From 9fca4a97e5127ba5811734d353f29d3643c31b8e Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index 3880eab586962..89a5a46f95438 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,27 +1,32 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
-short_desc="Modern, extensible Python project management "
+short_desc="Modern, extensible Python project management"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

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

* Re: hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
@ 2024-02-02  5:30 ` classabbyamp
  2024-02-02 22:44 ` jcgruenhage
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2024-02-02  5:30 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48483#issuecomment-1922860164

Comment:
@jcgruenhage 

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

* Re: hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
  2024-02-02  5:30 ` classabbyamp
@ 2024-02-02 22:44 ` jcgruenhage
  2024-02-02 22:58 ` ljnsn
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jcgruenhage @ 2024-02-02 22:44 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/48483#issuecomment-1924836333

Comment:
The hatchling update should also be in here IMO

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

* Re: hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
  2024-02-02  5:30 ` classabbyamp
  2024-02-02 22:44 ` jcgruenhage
@ 2024-02-02 22:58 ` ljnsn
  2024-02-02 23:26 ` [PR PATCH] [Updated] " ljnsn
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-02-02 22:58 UTC (permalink / raw)
  To: ml

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

New comment by ljnsn on void-packages repository

https://github.com/void-linux/void-packages/pull/48483#issuecomment-1924874832

Comment:
I hadn't seen that 1.21.1 was released last week, will include it!

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

* Re: [PR PATCH] [Updated] hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
                   ` (2 preceding siblings ...)
  2024-02-02 22:58 ` ljnsn
@ 2024-02-02 23:26 ` ljnsn
  2024-02-12 20:06 ` ljnsn
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-02-02 23:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From 9fca4a97e5127ba5811734d353f29d3643c31b8e Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH 1/2] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index 3880eab586962..89a5a46f95438 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,27 +1,32 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
-short_desc="Modern, extensible Python project management "
+short_desc="Modern, extensible Python project management"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

From 9626e7945b4c2a7062522ac7220d09634c85216a Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Sat, 3 Feb 2024 00:25:54 +0100
Subject: [PATCH 2/2] hatchling: update to 1.21.1.

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

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
index 6271cf9112550..377aca674dc56 100644
--- a/srcpkgs/hatchling/template
+++ b/srcpkgs/hatchling/template
@@ -1,6 +1,6 @@
 # Template file for 'hatchling'
 pkgname=hatchling
-version=1.21.0
+version=1.21.1
 revision=1
 build_style=python3-pep517
 _deps="python3-editables python3-packaging python3-pathspec python3-pluggy
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatchling.md"
 distfiles="${PYPI_SITE}/h/hatchling/hatchling-${version}.tar.gz"
-checksum=5c086772357a50723b825fd5da5278ac7e3697cdf7797d07541a6c90b6ff754c
+checksum=bba440453a224e7d4478457fa2e8d8c3633765bafa02975a6b53b9bf917980bc
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [PR PATCH] [Updated] hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
                   ` (3 preceding siblings ...)
  2024-02-02 23:26 ` [PR PATCH] [Updated] " ljnsn
@ 2024-02-12 20:06 ` ljnsn
  2024-02-17  0:51 ` ljnsn
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-02-12 20:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From 92f51fb7a46faa3d0dfd5718c4126fa97fc742c2 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH 1/2] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index 3880eab5869626..89a5a46f954388 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,27 +1,32 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
-short_desc="Modern, extensible Python project management "
+short_desc="Modern, extensible Python project management"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

From d7a2f924b46fa436ef995055b0fc4653756c88a1 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Sat, 3 Feb 2024 00:25:54 +0100
Subject: [PATCH 2/2] hatchling: update to 1.21.1.

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

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
index 6271cf91125508..377aca674dc56c 100644
--- a/srcpkgs/hatchling/template
+++ b/srcpkgs/hatchling/template
@@ -1,6 +1,6 @@
 # Template file for 'hatchling'
 pkgname=hatchling
-version=1.21.0
+version=1.21.1
 revision=1
 build_style=python3-pep517
 _deps="python3-editables python3-packaging python3-pathspec python3-pluggy
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatchling.md"
 distfiles="${PYPI_SITE}/h/hatchling/hatchling-${version}.tar.gz"
-checksum=5c086772357a50723b825fd5da5278ac7e3697cdf7797d07541a6c90b6ff754c
+checksum=bba440453a224e7d4478457fa2e8d8c3633765bafa02975a6b53b9bf917980bc
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [PR PATCH] [Updated] hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
                   ` (4 preceding siblings ...)
  2024-02-12 20:06 ` ljnsn
@ 2024-02-17  0:51 ` ljnsn
  2024-03-01 10:46 ` ljnsn
  2024-04-29 16:31 ` ljnsn
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-02-17  0:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From 3bee55008e0f9e5d8ec29b9aaaf2975d6d842154 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH 1/2] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index 3880eab5869626..89a5a46f954388 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,27 +1,32 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
-short_desc="Modern, extensible Python project management "
+short_desc="Modern, extensible Python project management"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

From 9f2a1bf2d4b8fccc3a42c6f7ddc7faf661b1f3d9 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Sat, 3 Feb 2024 00:25:54 +0100
Subject: [PATCH 2/2] hatchling: update to 1.21.1.

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

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
index 6271cf91125508..377aca674dc56c 100644
--- a/srcpkgs/hatchling/template
+++ b/srcpkgs/hatchling/template
@@ -1,6 +1,6 @@
 # Template file for 'hatchling'
 pkgname=hatchling
-version=1.21.0
+version=1.21.1
 revision=1
 build_style=python3-pep517
 _deps="python3-editables python3-packaging python3-pathspec python3-pluggy
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatchling.md"
 distfiles="${PYPI_SITE}/h/hatchling/hatchling-${version}.tar.gz"
-checksum=5c086772357a50723b825fd5da5278ac7e3697cdf7797d07541a6c90b6ff754c
+checksum=bba440453a224e7d4478457fa2e8d8c3633765bafa02975a6b53b9bf917980bc
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [PR PATCH] [Updated] hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
                   ` (5 preceding siblings ...)
  2024-02-17  0:51 ` ljnsn
@ 2024-03-01 10:46 ` ljnsn
  2024-04-29 16:31 ` ljnsn
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-03-01 10:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From a726c5a7093048da8c57582c66ad3087fbd4b5cc Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH 1/2] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index 3880eab5869626..89a5a46f954388 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,27 +1,32 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
-short_desc="Modern, extensible Python project management "
+short_desc="Modern, extensible Python project management"
 maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

From 8954bf31ce9b0c5b97bff9bc587ef0337d3940c9 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Sat, 3 Feb 2024 00:25:54 +0100
Subject: [PATCH 2/2] hatchling: update to 1.21.1.

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

diff --git a/srcpkgs/hatchling/template b/srcpkgs/hatchling/template
index 6271cf91125508..377aca674dc56c 100644
--- a/srcpkgs/hatchling/template
+++ b/srcpkgs/hatchling/template
@@ -1,6 +1,6 @@
 # Template file for 'hatchling'
 pkgname=hatchling
-version=1.21.0
+version=1.21.1
 revision=1
 build_style=python3-pep517
 _deps="python3-editables python3-packaging python3-pathspec python3-pluggy
@@ -13,7 +13,7 @@ license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatchling.md"
 distfiles="${PYPI_SITE}/h/hatchling/hatchling-${version}.tar.gz"
-checksum=5c086772357a50723b825fd5da5278ac7e3697cdf7797d07541a6c90b6ff754c
+checksum=bba440453a224e7d4478457fa2e8d8c3633765bafa02975a6b53b9bf917980bc
 
 post_install() {
 	vlicense LICENSE.txt

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

* Re: [PR PATCH] [Updated] hatch: update to 1.9.3.
  2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
                   ` (6 preceding siblings ...)
  2024-03-01 10:46 ` ljnsn
@ 2024-04-29 16:31 ` ljnsn
  7 siblings, 0 replies; 9+ messages in thread
From: ljnsn @ 2024-04-29 16:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ljnsn/void-packages hatch
https://github.com/void-linux/void-packages/pull/48483

hatch: update to 1.9.3.
#### Testing the changes
- I tested the changes in this PR: **YES**

- I built this PR locally for my native architecture, (x86_64-glibc)

supersedes #47776 

I had to skip some of the tests, explanation is in the comments. Is there a way to make the pytest tmp_dir fixture work in the build environment?

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

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

From e7aae42d84223f6f833f352b6007a336c6f4d7f5 Mon Sep 17 00:00:00 2001
From: ljnsn <info@ljnsn.com>
Date: Fri, 2 Feb 2024 00:58:29 +0100
Subject: [PATCH] hatch: update to 1.9.3.

---
 srcpkgs/hatch/template | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/hatch/template b/srcpkgs/hatch/template
index f8f9e156ab3a06..1d5b21e05e4a0c 100644
--- a/srcpkgs/hatch/template
+++ b/srcpkgs/hatch/template
@@ -1,17 +1,22 @@
 # Template file for 'hatch'
 pkgname=hatch
-version=1.6.3
-revision=3
+version=1.9.3
+revision=1
 build_style=python3-pep517
 # ignore backend tests, because updating hatchling when there is no new hatch
 # version yet breaks these in hatch.
 make_check_args="--ignore tests/backend
- --deselect tests/cli/run/test_run.py::test_scripts_no_environment"
-_deps="python3-click hatchling python3-httpx python3-hyperlink python3-keyring
- python3-packaging python3-pexpect python3-platformdirs python3-pyperclip
+# these tests create temporary files in /tmp, which does not work in the build
+# process
+ --ignore tests/cli/python/test_install.py
+ --deselect tests/cli/run/test_run.py::test_scripts_no_environment
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met
+ --deselect tests/cli/env/test_create.py::test_plugin_dependencies_met_as_app"
+_deps="python3-click hatchling python3-httpx python3-hyperlink
+ python3-keyring python3-packaging python3-pexpect python3-platformdirs
  python3-rich python3-shellingham python3-tomli-w python3-tomlkit
- python3-userpath python3-virtualenv"
-hostmakedepends="hatchling ${_deps}"
+ python3-userpath python3-virtualenv python3-zstandard"
+hostmakedepends="hatchling hatch-vcs ${_deps}"
 depends="${_deps}"
 checkdepends="${_deps} python3-pytest python3-pytest-mock
  python3-pytest-xdist git python3-pip"
@@ -21,7 +26,7 @@ license="MIT"
 homepage="https://hatch.pypa.io/latest/"
 changelog="https://raw.githubusercontent.com/pypa/hatch/master/docs/history/hatch.md"
 distfiles="${PYPI_SITE}/h/hatch/hatch-${version}.tar.gz"
-checksum=650e671ba300318e498ef93bbe3b99b32ce14920764fb8753f89993f63eed79a
+checksum=672017e349c548f8a957a5fee9aa2f8cfc2c8a994307378e45a8427972bdf8d9
 make_check_pre="env PYTHONPATH=./src"
 
 post_install() {

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

end of thread, other threads:[~2024-04-29 16:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02  0:33 [PR PATCH] hatch: update to 1.9.3 ljnsn
2024-02-02  5:30 ` classabbyamp
2024-02-02 22:44 ` jcgruenhage
2024-02-02 22:58 ` ljnsn
2024-02-02 23:26 ` [PR PATCH] [Updated] " ljnsn
2024-02-12 20:06 ` ljnsn
2024-02-17  0:51 ` ljnsn
2024-03-01 10:46 ` ljnsn
2024-04-29 16:31 ` ljnsn

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