From: Peter Korsgaard <peter@korsgaard.com>
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: Sun, 24 Sep 2023 23:02:29 +0200 [thread overview]
Message-ID: <87v8bzgu8q.fsf@48ers.dk> (raw)
In-Reply-To: <20230916070153.2983243-1-m.niestroj@grinn-global.com> (Marcin Niestroj's message of "Sat, 16 Sep 2023 09:01:47 +0200")
>>>>> "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
prev parent reply other threads:[~2023-09-24 21:02 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 ` [Buildroot] [PATCH 1/3] package/python-pytest: fix dependency on zlib Yann E. MORIN
2023-09-24 21:02 ` Peter Korsgaard [this message]
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=87v8bzgu8q.fsf@48ers.dk \
--to=peter@korsgaard.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.