Hi all
I found the ptest Depend backports recipe is already in meta-oe, how
should I take it into oe-core?
Add a new recipe python3-backports-zstd into oe-core?
Liu
________________________________
发件人: [email protected]
<[email protected]> 代表 Martin Jansa via
lists.openembedded.org <[email protected]>
发送时间: 2026年1月8日 02:36
收件人: [email protected] <[email protected]>
抄送: [email protected]
<[email protected]>
主题: Re: [OE-core][PATCH] python3-pyzstd: upgrade 0.17.0 -> 0.19.1
On Wed, Jan 7, 2026 at 7:01 PM Koen Kooi via lists.openembedded.org
<[email protected]> wrote:
>
>
>
> > Op 7 jan 2026, om 18:19 heeft Mathieu Dubois-Briand via
> > lists.openembedded.org
> > <[email protected]> het volgende
> > geschreven:
> >
> > On Wed Jan 7, 2026 at 6:17 PM CET, Mathieu Dubois-Briand wrote:
> >> On Wed Jan 7, 2026 at 10:07 AM CET, Yiding Liu (Fujitsu) via
> >> lists.openembedded.org wrote:
> >>> 1.Changelog:
> >>> Fix SeekableZstdFile write table entries on 32-bits architectures when
> >>> there is a huge number of entries.
> >>>
> >>> 2.Remove 0001-Remove-setuptools-version-limit-of-74.patch as setuptools
> >>> was removed in pyproject.toml.
> >>>
> >>> 3.Remove do_configure:append as there is no setup.py in 0.19.1
> >>>
> >>> Signed-off-by: Liu Yiding <[email protected]>
> >>> ---
> >>
> >> Hi Liu,
> >>
> >> Thanks for your patch.
> >>
> >> It looks like the ptests are failing:
> >>
> >> Failed ptests:
> >> {'python3-pyzstd': 'START: ptest-runner\n'
> >> '2026-01-07T17:04\n'
> >> '\n'
> >> 'ImportError while importing test module '
> >>
> >> "'/usr/lib/python3-pyzstd/ptest/tests/test_seekable.py'.\n"
> >> 'Hint: make sure your test modules/packages have valid '
> >> 'Python names.\n'
> >> 'Traceback:\n'
> >> '../../python3.13/importlib/__init__.py:88: in '
> >> 'import_module\n'
> >> ' return _bootstrap._gcd_import(name[level:],
> >> package, '
> >> 'level)\n'
> >> ' '
> >> '^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
> >> 'tests/test_seekable.py:17: in <module>\n'
> >> ' from pyzstd import (\n'
> >> '../../python3.13/site-packages/pyzstd/__init__.py:19:
> >> in '
> >> '<module>\n'
> >> ' from backports import zstd\n'
> >> "E ModuleNotFoundError: No module named 'backports'\n"
> >> 'ERROR: tests/test_seekable.py:tests/test_seekable.py\n'
> >> '\n'
> >> 'ImportError while importing test module '
> >> "'/usr/lib/python3-pyzstd/ptest/tests/test_zstd.py'.\n"
> >> 'Hint: make sure your test modules/packages have valid '
> >> 'Python names.\n'
> >> 'Traceback:\n'
> >> '../../python3.13/importlib/__init__.py:88: in '
> >> 'import_module\n'
> >> ' return _bootstrap._gcd_import(name[level:],
> >> package, '
> >> 'level)\n'
> >> ' '
> >> '^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
> >> 'tests/test_zstd.py:19: in <module>\n'
> >> ' from pyzstd import ZstdCompressor, '
> >> 'RichMemZstdCompressor, \\\n'
> >> '../../python3.13/site-packages/pyzstd/__init__.py:19:
> >> in '
> >> '<module>\n'
> >> ' from backports import zstd\n'
> >> "E ModuleNotFoundError: No module named 'backports'\n"
> >> 'ERROR: tests/test_zstd.py:tests/test_zstd.py\n'
> >>
> >> '============================================================================\n'
> >> 'Testsuite summary\n'
> >> '# TOTAL: 2\n'
> >> '# PASS: 0\n'
> >> '# SKIP: 0\n'
> >> '# XFAIL: 0\n'
> >> '# FAIL: 0\n'
> >> '# XPASS: 0\n'
> >> '# ERROR: 2\n'
> >> '\n'
> >> 'ERROR: Exit status is 2\n'
> >> 'DURATION: 1\n'}
> >>
> >> ptests which had no test results:
> >> ['python3-pyzstd']
> >>
> >> Can you have a look at this issue?
> >>
> >> Thanks,
> >> Mathieu
> >
> > Sorry, I was too quick again... Here is the link to the failure:
> >
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/2881
>
> I suspect that will resolve itself when python 3.14.x gets merged, but it
> would be good to see if it can be fixed to work with the current 3.13.x. And
> I really should enable ptests in my DISTROs....
Or you can import the backports recipe like meta-oe did to fix this as
mentioned in:
https://lists.openembedded.org/g/openembedded-core/message/228548
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229037):
https://lists.openembedded.org/g/openembedded-core/message/229037
Mute This Topic: https://lists.openembedded.org/mt/117146226/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-