Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib
@ 2023-09-16  7:01 Marcin Niestroj
  2023-09-16  7:01 ` [Buildroot] [PATCH 2/3] package/python-pytest: bump to version 7.4.2 Marcin Niestroj
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marcin Niestroj @ 2023-09-16  7:01 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon

tests.package.test_python_pytest.TestPythonPy3Pytest runtime tests fails
now with following error:

  ======================================================================
  FAIL: test_run (tests.package.test_python_pytest.TestPythonPy3Pytest.test_run)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/buildroot/support/testing/tests/package/test_python.py", line 137, in test_run
      self.run_sample_scripts()
    File "/buildroot/support/testing/tests/package/test_python_pytest.py", line 18, in run_sample_scripts
      self.assertRunOk(cmd, timeout=self.timeout)
    File "/buildroot/support/testing/infra/basetest.py", line 89, in assertRunOk
      self.assertEqual(
  AssertionError: 1 != 0 :
  Failed to run: python -m pytest sample_python_pytest.py
  output was:
    Traceback (most recent call last):
      File "<frozen runpy>", line 189, in _run_module_as_main
      File "<frozen runpy>", line 148, in _get_module_details
      File "<frozen runpy>", line 112, in _get_module_details
      File "/usr/lib/python3.11/site-packages/pytest/__init__.py", line 5, in <module>
      File "/usr/lib/python3.11/site-packages/_pytest/_code/__init__.py", line 2, in <module>
      File "/usr/lib/python3.11/site-packages/_pytest/_code/code.py", line 36, in <module>
      File "/usr/lib/python3.11/site-packages/pluggy/__init__.py", line 16, in <module>
      File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 10, in <module>
      File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 8, in <module>
      File "/usr/lib/python3.11/zipfile.py", line 6, in <module>
    ImportError: libz.so.1: cannot open shared object file: No such file or directory

Fix that by adding BR2_PACKAGE_PYTHON3_ZLIB dependency.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 package/python-pytest/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-pytest/Config.in b/package/python-pytest/Config.in
index 9bbc9ea2d2..c8f9a6eb5b 100644
--- a/package/python-pytest/Config.in
+++ b/package/python-pytest/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_PYTHON_PYTEST
 	select BR2_PACKAGE_PYTHON_PLUGGY # runtime
 	select BR2_PACKAGE_PYTHON_PY # runtime
 	select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
+	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
 	help
 	  pytest is a framework that makes building simple and scalable
 	  tests easy. Tests are expressive and readable—no boilerplate
-- 
2.42.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/3] package/python-pytest: bump to version 7.4.2
  2023-09-16  7:01 [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Marcin Niestroj
@ 2023-09-16  7:01 ` Marcin Niestroj
  2023-09-16  7:01 ` [Buildroot] [PATCH 3/3] package/python-pytest-asyncio: bump to version 0.21.1 Marcin Niestroj
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Marcin Niestroj @ 2023-09-16  7:01 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 package/python-pytest/python-pytest.hash | 4 ++--
 package/python-pytest/python-pytest.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/python-pytest/python-pytest.hash b/package/python-pytest/python-pytest.hash
index c648a85c04..7f79b94d8d 100644
--- a/package/python-pytest/python-pytest.hash
+++ b/package/python-pytest/python-pytest.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pytest/json
-md5  67e2aa27bb98e5af13b45a1b2e67b144  pytest-7.3.2.tar.gz
-sha256  ee990a3cc55ba808b80795a79944756f315c67c12b56abd3ac993a7b8c17030b  pytest-7.3.2.tar.gz
+md5  8620558e8971b11207b2d6b083906cf9  pytest-7.4.2.tar.gz
+sha256  a766259cfab564a2ad52cb1aae1b881a75c3eb7e34ca3779697c23ed47c47069  pytest-7.4.2.tar.gz
 # Locally computer sha256
 sha256  ca836a5f9ecca3b2f350230faa20a48fb8b145653b5568d784862df864706b9b  LICENSE
diff --git a/package/python-pytest/python-pytest.mk b/package/python-pytest/python-pytest.mk
index 27277163d2..326d951a32 100644
--- a/package/python-pytest/python-pytest.mk
+++ b/package/python-pytest/python-pytest.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYTEST_VERSION = 7.3.2
+PYTHON_PYTEST_VERSION = 7.4.2
 PYTHON_PYTEST_SOURCE = pytest-$(PYTHON_PYTEST_VERSION).tar.gz
-PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/58/2a/07c65fdc40846ecb8a9dcda2c38fcb5a06a3e39d08d4a4960916431951cb
+PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/e5/d0/18209bb95db8ee693a9a04fe056ab0663c6d6b1baf67dd50819dd9cd4bd7
 PYTHON_PYTEST_SETUP_TYPE = setuptools
 PYTHON_PYTEST_LICENSE = MIT
 PYTHON_PYTEST_LICENSE_FILES = LICENSE
-- 
2.42.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 3/3] package/python-pytest-asyncio: bump to version 0.21.1
  2023-09-16  7:01 [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Marcin Niestroj
  2023-09-16  7:01 ` [Buildroot] [PATCH 2/3] package/python-pytest: bump to version 7.4.2 Marcin Niestroj
@ 2023-09-16  7:01 ` Marcin Niestroj
  2023-09-16 12:35 ` [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Yann E. MORIN
  2023-09-24 21:02 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Marcin Niestroj @ 2023-09-16  7:01 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
---
 package/python-pytest-asyncio/python-pytest-asyncio.hash | 4 ++--
 package/python-pytest-asyncio/python-pytest-asyncio.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/python-pytest-asyncio/python-pytest-asyncio.hash b/package/python-pytest-asyncio/python-pytest-asyncio.hash
index 6198a46608..f6cc1d2413 100644
--- a/package/python-pytest-asyncio/python-pytest-asyncio.hash
+++ b/package/python-pytest-asyncio/python-pytest-asyncio.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pytest-asyncio/json
-md5  805da62a533c75a9bccadee485f98c27  pytest-asyncio-0.21.0.tar.gz
-sha256  2b38a496aef56f56b0e87557ec313e11e1ab9276fc3863f6a7be0f1d0e415e1b  pytest-asyncio-0.21.0.tar.gz
+md5  1d10f607444a375c1425a2a90960006e  pytest-asyncio-0.21.1.tar.gz
+sha256  40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d  pytest-asyncio-0.21.1.tar.gz
 # Locally computed sha256 checksums
 sha256  a8ad31b1c3f40dca5a84119351b8fa8ddc868edd77fad8a8ebf6d8f2d16fa4ae  LICENSE
diff --git a/package/python-pytest-asyncio/python-pytest-asyncio.mk b/package/python-pytest-asyncio/python-pytest-asyncio.mk
index 6bf7e33577..5c5efd819c 100644
--- a/package/python-pytest-asyncio/python-pytest-asyncio.mk
+++ b/package/python-pytest-asyncio/python-pytest-asyncio.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYTEST_ASYNCIO_VERSION = 0.21.0
+PYTHON_PYTEST_ASYNCIO_VERSION = 0.21.1
 PYTHON_PYTEST_ASYNCIO_SOURCE = pytest-asyncio-$(PYTHON_PYTEST_ASYNCIO_VERSION).tar.gz
-PYTHON_PYTEST_ASYNCIO_SITE = https://files.pythonhosted.org/packages/85/c7/9db0c6215f12f26b590c24acc96d048e03989315f198454540dff95109cd
+PYTHON_PYTEST_ASYNCIO_SITE = https://files.pythonhosted.org/packages/5a/85/d39ef5f69d5597a206f213ce387bcdfa47922423875829f7a98a87d33281
 PYTHON_PYTEST_ASYNCIO_SETUP_TYPE = setuptools
 PYTHON_PYTEST_ASYNCIO_LICENSE = Apache-2.0
 PYTHON_PYTEST_ASYNCIO_LICENSE_FILES = LICENSE
-- 
2.42.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib
  2023-09-16  7:01 [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Marcin Niestroj
  2023-09-16  7:01 ` [Buildroot] [PATCH 2/3] package/python-pytest: bump to version 7.4.2 Marcin Niestroj
  2023-09-16  7:01 ` [Buildroot] [PATCH 3/3] package/python-pytest-asyncio: bump to version 0.21.1 Marcin Niestroj
@ 2023-09-16 12:35 ` Yann E. MORIN
  2023-09-24 21:02 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-09-16 12:35 UTC (permalink / raw)
  To: Marcin Niestroj; +Cc: James Hilliard, Asaf Kahlon, buildroot

Marcin, All,

On 2023-09-16 09:01 +0200, Marcin Niestroj spake thusly:
> tests.package.test_python_pytest.TestPythonPy3Pytest runtime tests fails
> now with following error:
> 
>   ======================================================================
>   FAIL: test_run (tests.package.test_python_pytest.TestPythonPy3Pytest.test_run)
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/buildroot/support/testing/tests/package/test_python.py", line 137, in test_run
>       self.run_sample_scripts()
>     File "/buildroot/support/testing/tests/package/test_python_pytest.py", line 18, in run_sample_scripts
>       self.assertRunOk(cmd, timeout=self.timeout)
>     File "/buildroot/support/testing/infra/basetest.py", line 89, in assertRunOk
>       self.assertEqual(
>   AssertionError: 1 != 0 :
>   Failed to run: python -m pytest sample_python_pytest.py
>   output was:
>     Traceback (most recent call last):
>       File "<frozen runpy>", line 189, in _run_module_as_main
>       File "<frozen runpy>", line 148, in _get_module_details
>       File "<frozen runpy>", line 112, in _get_module_details
>       File "/usr/lib/python3.11/site-packages/pytest/__init__.py", line 5, in <module>
>       File "/usr/lib/python3.11/site-packages/_pytest/_code/__init__.py", line 2, in <module>
>       File "/usr/lib/python3.11/site-packages/_pytest/_code/code.py", line 36, in <module>
>       File "/usr/lib/python3.11/site-packages/pluggy/__init__.py", line 16, in <module>
>       File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 10, in <module>
>       File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 8, in <module>
>       File "/usr/lib/python3.11/zipfile.py", line 6, in <module>
>     ImportError: libz.so.1: cannot open shared object file: No such file or directory
> 
> Fix that by adding BR2_PACKAGE_PYTHON3_ZLIB dependency.
> 
> Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>

Whole series of three patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/python-pytest/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/python-pytest/Config.in b/package/python-pytest/Config.in
> index 9bbc9ea2d2..c8f9a6eb5b 100644
> --- a/package/python-pytest/Config.in
> +++ b/package/python-pytest/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_PYTHON_PYTEST
>  	select BR2_PACKAGE_PYTHON_PLUGGY # runtime
>  	select BR2_PACKAGE_PYTHON_PY # runtime
>  	select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
> +	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
>  	help
>  	  pytest is a framework that makes building simple and scalable
>  	  tests easy. Tests are expressive and readable—no boilerplate
> -- 
> 2.42.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib
  2023-09-16  7:01 [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Marcin Niestroj
                   ` (2 preceding siblings ...)
  2023-09-16 12:35 ` [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Yann E. MORIN
@ 2023-09-24 21:02 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2023-09-24 21:02 UTC (permalink / raw)
  To: Marcin Niestroj; +Cc: James Hilliard, Asaf Kahlon, buildroot

>>>>> "Marcin" == Marcin Niestroj <m.niestroj@grinn-global.com> writes:

 > tests.package.test_python_pytest.TestPythonPy3Pytest runtime tests fails
 > now with following error:

 >   ======================================================================
 >   FAIL: test_run (tests.package.test_python_pytest.TestPythonPy3Pytest.test_run)
 >   ----------------------------------------------------------------------
 >   Traceback (most recent call last):
 >     File "/buildroot/support/testing/tests/package/test_python.py", line 137, in test_run
 >       self.run_sample_scripts()
 >     File "/buildroot/support/testing/tests/package/test_python_pytest.py", line 18, in run_sample_scripts
 >       self.assertRunOk(cmd, timeout=self.timeout)
 >     File "/buildroot/support/testing/infra/basetest.py", line 89, in assertRunOk
 >       self.assertEqual(
 >   AssertionError: 1 != 0 :
 >   Failed to run: python -m pytest sample_python_pytest.py
 >   output was:
 >     Traceback (most recent call last):
 >       File "<frozen runpy>", line 189, in _run_module_as_main
 >       File "<frozen runpy>", line 148, in _get_module_details
 >       File "<frozen runpy>", line 112, in _get_module_details
 >       File "/usr/lib/python3.11/site-packages/pytest/__init__.py", line 5, in <module>
 >       File "/usr/lib/python3.11/site-packages/_pytest/_code/__init__.py", line 2, in <module>
 >       File "/usr/lib/python3.11/site-packages/_pytest/_code/code.py", line 36, in <module>
 >       File "/usr/lib/python3.11/site-packages/pluggy/__init__.py", line 16, in <module>
 >       File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 10, in <module>
 >       File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 8, in <module>
 >       File "/usr/lib/python3.11/zipfile.py", line 6, in <module>
 >     ImportError: libz.so.1: cannot open shared object file: No such file or directory

 > Fix that by adding BR2_PACKAGE_PYTHON3_ZLIB dependency.

 > Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>

Committed to 2023.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-09-24 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16  7:01 [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Marcin Niestroj
2023-09-16  7:01 ` [Buildroot] [PATCH 2/3] package/python-pytest: bump to version 7.4.2 Marcin Niestroj
2023-09-16  7:01 ` [Buildroot] [PATCH 3/3] package/python-pytest-asyncio: bump to version 0.21.1 Marcin Niestroj
2023-09-16 12:35 ` [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Yann E. MORIN
2023-09-24 21:02 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox