Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-process-tests: update to 3.0.0.
@ 2023-12-05 22:26 tornaria
  2024-01-19 14:54 ` [PR PATCH] [Updated] " tornaria
  2024-01-20  3:19 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 2 replies; 3+ messages in thread
From: tornaria @ 2023-12-05 22:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages python3-process-tests
https://github.com/void-linux/void-packages/pull/47610

python3-process-tests: update to 3.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

Second commit should not be merged, it's only to trigger check of `python3-pytest-cov` for CI.

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

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


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

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

From 8f50837343cee642224573e1fcd67d3b46fad843 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 5 Dec 2023 18:25:47 -0300
Subject: [PATCH 1/2] python3-process-tests: update to 3.0.0.

---
 srcpkgs/python3-process-tests/patches/fix-test.patch | 11 +++++++++++
 srcpkgs/python3-process-tests/template               |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/python3-process-tests/patches/fix-test.patch

diff --git a/srcpkgs/python3-process-tests/patches/fix-test.patch b/srcpkgs/python3-process-tests/patches/fix-test.patch
new file mode 100644
index 0000000000000..a9346a6379218
--- /dev/null
+++ b/srcpkgs/python3-process-tests/patches/fix-test.patch
@@ -0,0 +1,11 @@
+--- a/tests/test_process_tests.py	2023-11-01 14:34:11.000000000 -0300
++++ b/tests/test_process_tests.py	2023-12-05 19:18:06.663214341 -0300
+@@ -30,7 +30,7 @@
+ 
+ 
+ def test_socket():
+-    with TestProcess('python', '-mhttp.server', '0') as proc:
++    with TestProcess('python', '-u', '-mhttp.server', '0') as proc:
+         with dump_on_error(proc.read, 'SERVER'):
+             wait_for_strings(proc.read, TIMEOUT, 'Serving HTTP on')
+             (port,) = re.match(r'Serving HTTP on .*? port (\d+) ', proc.read()).groups()
diff --git a/srcpkgs/python3-process-tests/template b/srcpkgs/python3-process-tests/template
index c6c71e689e764..129835d5c53e8 100644
--- a/srcpkgs/python3-process-tests/template
+++ b/srcpkgs/python3-process-tests/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-process-tests'
 pkgname=python3-process-tests
-version=2.1.2
-revision=2
+version=3.0.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Tools for testing processes"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-2-Clause"
 homepage="https://github.com/ionelmc/python-process-tests"
 changelog="https://raw.githubusercontent.com/ionelmc/python-process-tests/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/process-tests/process-tests-${version}.tar.gz"
-checksum=a3747ad947bdfc93e5c986bdb17a6d718f3f26e8577a0807a00962f29e26deba
-make_check=no  # no tests available
+checksum=e5d57dea7161251e91cadb84bf3ecc85275fb121fd478e579f800777b1d424bd
 
 post_install() {
 	vlicense LICENSE

From 90d2d90a141ddc88c614dc61ce58e9b88308c957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 5 Dec 2023 19:23:10 -0300
Subject: [PATCH 2/2] python3-pytest-cov: bump to force check

---
 srcpkgs/python3-pytest-cov/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/python3-pytest-cov/template b/srcpkgs/python3-pytest-cov/template
index be7596827a26f..2ade0cebdda52 100644
--- a/srcpkgs/python3-pytest-cov/template
+++ b/srcpkgs/python3-pytest-cov/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-pytest-cov'
 pkgname=python3-pytest-cov
 version=4.1.0
-revision=2
+revision=3
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-pytest python3-coverage"

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

* Re: [PR PATCH] [Updated] python3-process-tests: update to 3.0.0.
  2023-12-05 22:26 [PR PATCH] python3-process-tests: update to 3.0.0 tornaria
@ 2024-01-19 14:54 ` tornaria
  2024-01-20  3:19 ` [PR PATCH] [Merged]: " ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: tornaria @ 2024-01-19 14:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages python3-process-tests
https://github.com/void-linux/void-packages/pull/47610

python3-process-tests: update to 3.0.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

Second commit should not be merged, it's only to trigger check of `python3-pytest-cov` for CI.

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

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


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

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

From 2add6fd97d7819848daa5e7a2d5937c8136e77e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 5 Dec 2023 18:25:47 -0300
Subject: [PATCH] python3-process-tests: update to 3.0.0.

---
 srcpkgs/python3-process-tests/patches/fix-test.patch | 11 +++++++++++
 srcpkgs/python3-process-tests/template               |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/python3-process-tests/patches/fix-test.patch

diff --git a/srcpkgs/python3-process-tests/patches/fix-test.patch b/srcpkgs/python3-process-tests/patches/fix-test.patch
new file mode 100644
index 0000000000000..a9346a6379218
--- /dev/null
+++ b/srcpkgs/python3-process-tests/patches/fix-test.patch
@@ -0,0 +1,11 @@
+--- a/tests/test_process_tests.py	2023-11-01 14:34:11.000000000 -0300
++++ b/tests/test_process_tests.py	2023-12-05 19:18:06.663214341 -0300
+@@ -30,7 +30,7 @@
+ 
+ 
+ def test_socket():
+-    with TestProcess('python', '-mhttp.server', '0') as proc:
++    with TestProcess('python', '-u', '-mhttp.server', '0') as proc:
+         with dump_on_error(proc.read, 'SERVER'):
+             wait_for_strings(proc.read, TIMEOUT, 'Serving HTTP on')
+             (port,) = re.match(r'Serving HTTP on .*? port (\d+) ', proc.read()).groups()
diff --git a/srcpkgs/python3-process-tests/template b/srcpkgs/python3-process-tests/template
index c6c71e689e764..129835d5c53e8 100644
--- a/srcpkgs/python3-process-tests/template
+++ b/srcpkgs/python3-process-tests/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-process-tests'
 pkgname=python3-process-tests
-version=2.1.2
-revision=2
+version=3.0.0
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
 depends="python3"
+checkdepends="python3-pytest"
 short_desc="Tools for testing processes"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="BSD-2-Clause"
 homepage="https://github.com/ionelmc/python-process-tests"
 changelog="https://raw.githubusercontent.com/ionelmc/python-process-tests/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/process-tests/process-tests-${version}.tar.gz"
-checksum=a3747ad947bdfc93e5c986bdb17a6d718f3f26e8577a0807a00962f29e26deba
-make_check=no  # no tests available
+checksum=e5d57dea7161251e91cadb84bf3ecc85275fb121fd478e579f800777b1d424bd
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Merged]: python3-process-tests: update to 3.0.0.
  2023-12-05 22:26 [PR PATCH] python3-process-tests: update to 3.0.0 tornaria
  2024-01-19 14:54 ` [PR PATCH] [Updated] " tornaria
@ 2024-01-20  3:19 ` ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2024-01-20  3:19 UTC (permalink / raw)
  To: ml

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

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

python3-process-tests: update to 3.0.0.
https://github.com/void-linux/void-packages/pull/47610

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

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

~Second commit should not be merged, it's only to trigger check of `python3-pytest-cov` for CI.~

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

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


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

end of thread, other threads:[~2024-01-20  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-05 22:26 [PR PATCH] python3-process-tests: update to 3.0.0 tornaria
2024-01-19 14:54 ` [PR PATCH] [Updated] " tornaria
2024-01-20  3:19 ` [PR PATCH] [Merged]: " ahesford

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