From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: James Hilliard <james.hilliard1@gmail.com>,
Asaf Kahlon <asafka7@gmail.com>,
buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib
Date: Sat, 16 Sep 2023 14:35:12 +0200 [thread overview]
Message-ID: <20230916123512.GZ2571@scaer> (raw)
In-Reply-To: <20230916070153.2983243-1-m.niestroj@grinn-global.com>
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
next prev parent reply other threads:[~2023-09-16 12:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2023-09-24 21:02 ` [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230916123512.GZ2571@scaer \
--to=yann.morin.1998@free.fr \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
--cc=m.niestroj@grinn-global.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox