Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883185 - [guru] dev-python/myst-parser-0.18.1 fails tests
Summary: [guru] dev-python/myst-parser-0.18.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anna Vyalkova
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-26 17:44 UTC by Agostino Sarubbo
Modified: 2022-12-01 03:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,160.18 KB, text/plain)
2022-11-26 17:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-26 17:44:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/myst-parser-0.18.1 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-26 17:44:13 UTC
Created attachment 837259 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-11-26 17:44:14 UTC
Error(s) that match a know pattern:


', expected='tmpdir/test.md:1: (SEVERE/4) Directive "include": error reading file: tmpdir/other.md
', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x00007f10c0527fa0>)
E       +[Errno 2] No such file or directory: PosixPath('tmpdir/other.md').
E       -[Errno 2] No such file or directory: 'tmpdir/other.md'.
E       AssertionError: Actual does not match expected
FAILED tests/test_renderers/test_include_directive.py::test_errors[9-Non-existent path:]
SKIPPED [1] tests/test_renderers/test_fixtures_docutils.py:71: (`docutils.parsers.rst.directives.body.LineBlock`) SKIP: MockingError: MockState has not yet implemented attribute 'nest_line_block_lines'
SKIPPED [1] tests/test_renderers/test_fixtures_sphinx.py:47: SKIP: MockingError: MockState has not yet implemented attribute 'nested_list_parse'
[Errno 2] No such file or directory: \'tmpdir/other.md\'.
```
file_params = ParamTestData(line=9, title='Non-existent path:', description=None, content='```{include} other.md
tests/test_renderers/test_fixtures_docutils.py::test_docutils_directives[176-line-block] SKIPPED ((`docutils.parsers.rst.directives.body.LineBlock`) SKIP: MockingError: MockState has not yet implemented attribute 'nest_line_block_lines') [ 778/1015]
tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[125-Test Directive Options Error:] PASSED [ 858/1015]
tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[219-SKIP: MockingError: MockState has not yet implemented attribute 'nested_list_parse'] SKIPPED (SKIP: MockingError: MockState has not yet implemented attribute 'nested_list_parse') [ 880/1015]
Comment 3 Larry the Git Cow gentoo-dev 2022-12-01 03:59:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dace9e105e00f6d76feb8f52ab7ef31cf9750954

commit dace9e105e00f6d76feb8f52ab7ef31cf9750954
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2022-11-27 20:06:37 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2022-11-27 20:19:41 +0000

    dev-python/myst-parser: disable test failing on pypy3
    
    Closes: https://bugs.gentoo.org/883185
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 dev-python/myst-parser/myst-parser-0.18.1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)