Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pytest: update depends, adopt
@ 2020-09-15 19:51 Chocimier
  2020-09-16  0:43 ` sgn
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Chocimier @ 2020-09-15 19:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Chocimier/void-packages-org pytest
https://github.com/void-linux/void-packages/pull/24929

pytest: update depends, adopt


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

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

From 7ab178e4194051caae1446965384e2b5f48f5199 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 21:50:31 +0200
Subject: [PATCH 1/2] New package: python3-iniconfig-1.0.1

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

diff --git a/srcpkgs/python3-iniconfig/template b/srcpkgs/python3-iniconfig/template
new file mode 100644
index 00000000000..b78ff3ce297
--- /dev/null
+++ b/srcpkgs/python3-iniconfig/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-iniconfig'
+pkgname=python3-iniconfig
+version=1.0.1
+revision=1
+wrksrc="iniconfig-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-py python3-pytest"
+short_desc="Brain-dead simple config-ini parsing"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="MIT"
+homepage="https://github.com/RonnyPfannschmidt/iniconfig"
+distfiles="${PYPI_SITE}/i/iniconfig/iniconfig-${version}.tar.gz"
+checksum=e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69
+
+post_install() {
+	vlicense LICENSE
+}

From a6ecde74e450e9905eb65022abd80e6a3d355924 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 21:50:31 +0200
Subject: [PATCH 2/2] python3-pytest: update depends

---
 srcpkgs/python3-pytest/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-pytest/template b/srcpkgs/python3-pytest/template
index 2e8a374649b..48b4d043c9e 100644
--- a/srcpkgs/python3-pytest/template
+++ b/srcpkgs/python3-pytest/template
@@ -1,16 +1,17 @@
 # Template file for 'python3-pytest'
 pkgname=python3-pytest
 version=6.0.2
-revision=1
+revision=2
 wrksrc="pytest-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-py python3-packaging python3-attrs python3-more-itertools
- python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools"
+ python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools
+ python3-iniconfig python3-toml"
 checkdepends="$depends python3-argcomplete python3-hypothesis python3-mock
  python3-nose python3-requests python3-parsing python3-xmlschema"
 short_desc="Simple powerful testing with Python 3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://docs.pytest.org/en/latest/"
 changelog="https://docs.pytest.org/en/latest/changelog.html"

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

* Re: pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
@ 2020-09-16  0:43 ` sgn
  2020-09-16  0:43 ` sgn
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-09-16  0:43 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24929#issuecomment-693103086

Comment:
Bitten by this one just now.

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

* Re: pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
  2020-09-16  0:43 ` sgn
@ 2020-09-16  0:43 ` sgn
  2020-09-16  1:15 ` sgn
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-09-16  0:43 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24929#issuecomment-693103086

Comment:
Bitten by the missing iniconfig just now.

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

* Re: pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
  2020-09-16  0:43 ` sgn
  2020-09-16  0:43 ` sgn
@ 2020-09-16  1:15 ` sgn
  2020-09-16 19:26 ` [PR PATCH] [Updated] " Chocimier
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2020-09-16  1:15 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/24929#issuecomment-693112125

Comment:
Anyway, the check is still failing because pytest people seems to assume that their tests is running with not-`dumb` terminal.
```
FAILED testing/io/test_terminalwriter.py::test_code_highlight[with markup and code_highlight]
FAILED testing/test_terminal.py::test_color_yes - Failed: fnmatch: '\x1b[[]1m...
FAILED testing/test_terminal.py::TestCodeHighlight::test_code_highlight_simple
FAILED testing/test_terminal.py::TestCodeHighlight::test_code_highlight_continuation
```

Maybe just ignore it?
```diff
diff --git a/srcpkgs/python3-pytest/template b/srcpkgs/python3-pytest/template
index 48b4d043c9..646b638731 100644
--- a/srcpkgs/python3-pytest/template
+++ b/srcpkgs/python3-pytest/template
@@ -28,7 +28,8 @@ post_patch() {
 }
 
 do_check() {
-	PYTHONPATH=$(pwd)/build/lib python3 -m pytest
+	PYTHONPATH=$(pwd)/build/lib python3 -m pytest \
+		-k 'not test_color_yes and not test_code_highlight'
 }
 
 post_install() {
```

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

* Re: [PR PATCH] [Updated] pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
                   ` (2 preceding siblings ...)
  2020-09-16  1:15 ` sgn
@ 2020-09-16 19:26 ` Chocimier
  2020-09-16 19:27 ` [PR PATCH] [Merged]: " Chocimier
  2020-09-16 19:28 ` Chocimier
  5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2020-09-16 19:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Chocimier/void-packages-org pytest
https://github.com/void-linux/void-packages/pull/24929

pytest: update depends, adopt


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

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

From e46180e4c76457c67e29d5e36a1637033a66d15d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 21:50:31 +0200
Subject: [PATCH 1/2] New package: python3-iniconfig-1.0.1

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

diff --git a/srcpkgs/python3-iniconfig/template b/srcpkgs/python3-iniconfig/template
new file mode 100644
index 00000000000..b78ff3ce297
--- /dev/null
+++ b/srcpkgs/python3-iniconfig/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-iniconfig'
+pkgname=python3-iniconfig
+version=1.0.1
+revision=1
+wrksrc="iniconfig-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-py python3-pytest"
+short_desc="Brain-dead simple config-ini parsing"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
+license="MIT"
+homepage="https://github.com/RonnyPfannschmidt/iniconfig"
+distfiles="${PYPI_SITE}/i/iniconfig/iniconfig-${version}.tar.gz"
+checksum=e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69
+
+post_install() {
+	vlicense LICENSE
+}

From 0e18b575002d73bd376156a303918e77d80ad5e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 15 Sep 2020 21:50:31 +0200
Subject: [PATCH 2/2] python3-pytest: update depends

---
 srcpkgs/python3-pytest/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-pytest/template b/srcpkgs/python3-pytest/template
index 2e8a374649b..646b6387318 100644
--- a/srcpkgs/python3-pytest/template
+++ b/srcpkgs/python3-pytest/template
@@ -1,16 +1,17 @@
 # Template file for 'python3-pytest'
 pkgname=python3-pytest
 version=6.0.2
-revision=1
+revision=2
 wrksrc="pytest-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-py python3-packaging python3-attrs python3-more-itertools
- python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools"
+ python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools
+ python3-iniconfig python3-toml"
 checkdepends="$depends python3-argcomplete python3-hypothesis python3-mock
  python3-nose python3-requests python3-parsing python3-xmlschema"
 short_desc="Simple powerful testing with Python 3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://docs.pytest.org/en/latest/"
 changelog="https://docs.pytest.org/en/latest/changelog.html"
@@ -27,7 +28,8 @@ post_patch() {
 }
 
 do_check() {
-	PYTHONPATH=$(pwd)/build/lib python3 -m pytest
+	PYTHONPATH=$(pwd)/build/lib python3 -m pytest \
+		-k 'not test_color_yes and not test_code_highlight'
 }
 
 post_install() {

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

* Re: [PR PATCH] [Merged]: pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
                   ` (3 preceding siblings ...)
  2020-09-16 19:26 ` [PR PATCH] [Updated] " Chocimier
@ 2020-09-16 19:27 ` Chocimier
  2020-09-16 19:28 ` Chocimier
  5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2020-09-16 19:27 UTC (permalink / raw)
  To: ml

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

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

pytest: update depends, adopt
https://github.com/void-linux/void-packages/pull/24929

Description:


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

* Re: pytest: update depends, adopt
  2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
                   ` (4 preceding siblings ...)
  2020-09-16 19:27 ` [PR PATCH] [Merged]: " Chocimier
@ 2020-09-16 19:28 ` Chocimier
  5 siblings, 0 replies; 7+ messages in thread
From: Chocimier @ 2020-09-16 19:28 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/24929#issuecomment-693618823

Comment:
@sgn Thanks, i wanted to let them fail, but skipping is better indeed.

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

end of thread, other threads:[~2020-09-16 19:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 19:51 [PR PATCH] pytest: update depends, adopt Chocimier
2020-09-16  0:43 ` sgn
2020-09-16  0:43 ` sgn
2020-09-16  1:15 ` sgn
2020-09-16 19:26 ` [PR PATCH] [Updated] " Chocimier
2020-09-16 19:27 ` [PR PATCH] [Merged]: " Chocimier
2020-09-16 19:28 ` Chocimier

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git