Skip to content

Can't package 0.0.11 for Arch Linux #48

@aschleifer

Description

@aschleifer

When trying to package 0.0.11 for Arch Linux I get the following test errors:

============================= test session starts ==============================
collecting ... collected 34 items

tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-reST-doctest_block] PASSED [  2%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-reST-doctest_directive] FAILED [  5%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_block] PASSED [  8%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_block-python] PASSED [ 11%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_block-indented] PASSED [ 14%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-colons] PASSED [ 17%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-backticks] FAILED [ 20%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-eval-rst-colons] PASSED [ 23%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-eval-rst-backticks] FAILED [ 26%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_block-python--sphinx-inline-tabs] FAILED [ 29%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-reST-doctest_block] PASSED [ 32%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-reST-doctest_directive] FAILED [ 35%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_block] PASSED [ 38%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_block-python] PASSED [ 41%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_block-indented] PASSED [ 44%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-colons] PASSED [ 47%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-backticks] FAILED [ 50%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-eval-rst-colons] PASSED [ 52%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-eval-rst-backticks] FAILED [ 55%]
tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_block-python--sphinx-inline-tabs] FAILED [ 58%]
tests/test_linkify_issues.py::test_links_show[Plain issue] PASSED        [ 61%]
tests/test_linkify_issues.py::test_links_show[Text preceding issue] PASSED [ 64%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[reST-doctest_block] PASSED [ 67%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[reST-doctest_directive] PASSED [ 70%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_block] PASSED [ 73%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_block-indented] PASSED [ 76%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_directive-colons] PASSED [ 79%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_directive-backticks] PASSED [ 82%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_directive-eval-rst-colons] PASSED [ 85%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_directive-eval-rst-backticks] PASSED [ 88%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[python-reST-doctest_block] PASSED [ 91%]
tests/test_pytest_doctest_docutils.py::test_pluginDocutilsDocTestFinder[MyST-doctest_block-python--sphinx-inline-tabs] PASSED [ 94%]
tests/test_pytest_doctest_docutils.py::test_conftest_py PASSED           [ 97%]
tests/test_pytest_doctest_docutils.py::test_conftest_md PASSED           [100%]

=================================== FAILURES ===================================
_________ test_DocutilsDocTestFinder[relative-reST-doctest_directive] __________
/build/python-gp-libs/src/gp-libs-0.0.11/tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = 'example.rst'
        file_name  = 'example.rst'
        file_path_mode = 'relative'
        files      = {'example.rst': '\n.. doctest::\n\n   >>> 4 + 4\n   8\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb700f50>
        first_test_filename = 'example.rst'
        first_test_key = 'example.rst'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb8bcd60>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel1/tests/example.rst')
        test_id    = 'reST-doctest_directive'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel1/tests')
        text       = '\n.. doctest::\n\n   >>> 4 + 4\n   8\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel1')
----------------------------- Captured stderr call -----------------------------
example.rst:2: (ERROR/3) Unknown directive type "doctest".

.. doctest::

   >>> 4 + 4
   8
____ test_DocutilsDocTestFinder[relative-MyST-doctest_directive-backticks] _____
/build/python-gp-libs/src/gp-libs-0.0.11/tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = 'example.md'
        file_name  = 'example.md'
        file_path_mode = 'relative'
        files      = {'example.md': '\n```{doctest}\n\n    >>> 4 + 4\n    8\n```\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb1d5370>
        first_test_filename = 'example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb306a50>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel6/tests/example.md')
        test_id    = 'MyST-doctest_directive-backticks'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel6/tests')
        text       = '\n```{doctest}\n\n    >>> 4 + 4\n    8\n```\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel6')
----------------------------- Captured stderr call -----------------------------
example.md:2: (WARNING/2) Unknown directive type: 'doctest' [myst.directive_unknown]
_ test_DocutilsDocTestFinder[relative-MyST-doctest_directive-eval-rst-backticks] _
/build/python-gp-libs/src/gp-libs-0.0.11/tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = 'example.md'
        file_name  = 'example.md'
        file_path_mode = 'relative'
        files      = {'example.md': '\n'
               '```{eval-rst}\n'
               '\n'
               '   .. doctest::\n'
               '\n'
               '      >>> 4 + 4\n'
               '      8\n'
               '```\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb307250>
        first_test_filename = 'example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb1b54f0>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel8/tests/example.md')
        test_id    = 'MyST-doctest_directive-eval-rst-backticks'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel8/tests')
        text       = '\n```{eval-rst}\n\n   .. doctest::\n\n      >>> 4 + 4\n      8\n```\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel8')
----------------------------- Captured stderr call -----------------------------
example.md:4: (ERROR/3) Unknown directive type "doctest".

.. doctest::

   >>> 4 + 4
   8
_ test_DocutilsDocTestFinder[relative-MyST-doctest_block-python--sphinx-inline-tabs] _
/build/python-gp-libs/src/gp-libs-0.0.11/tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 2
E    +  where 0 = len([])
        _          = 'example.md'
        file_name  = 'example.md'
        file_path_mode = 'relative'
        files      = {'example.md': '\n'
               '````{tab} example tab\n'
               '```python\n'
               '>>> 4 + 4\n'
               '8\n'
               '```\n'
               '````\n'
               '\n'
               '````{tab} example second\n'
               '```python\n'
               '>>> 4 + 2\n'
               '6\n'
               '```\n'
               '````\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb307450>
        first_test_filename = 'example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb30ba10>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel9/tests/example.md')
        test_id    = 'MyST-doctest_block-python--sphinx-inline-tabs'
        tests      = []
        tests_found = 2
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel9/tests')
        text       = ('\n'
 '````{tab} example tab\n'
 '```python\n'
 '>>> 4 + 4\n'
 '8\n'
 '```\n'
 '````\n'
 '\n'
 '````{tab} example second\n'
 '```python\n'
 '>>> 4 + 2\n'
 '6\n'
 '```\n'
 '````\n')
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_rel9')
----------------------------- Captured stderr call -----------------------------
example.md:2: (WARNING/2) Unknown directive type: 'tab' [myst.directive_unknown]
example.md:9: (WARNING/2) Unknown directive type: 'tab' [myst.directive_unknown]
_________ test_DocutilsDocTestFinder[absolute-reST-doctest_directive] __________
tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1/tests/example.rst'
        file_name  = 'example.rst'
        file_path_mode = 'absolute'
        files      = {'example.rst': '\n.. doctest::\n\n   >>> 4 + 4\n   8\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb1b4d70>
        first_test_filename = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1/tests/example.rst'
        first_test_key = 'example.rst'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb18b2b0>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1/tests/example.rst')
        test_id    = 'reST-doctest_directive'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1/tests')
        text       = '\n.. doctest::\n\n   >>> 4 + 4\n   8\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1')
----------------------------- Captured stderr call -----------------------------
/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs1/tests/example.rst:2: (ERROR/3) Unknown directive type "doctest".

.. doctest::

   >>> 4 + 4
   8
____ test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-backticks] _____
tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6/tests/example.md'
        file_name  = 'example.md'
        file_path_mode = 'absolute'
        files      = {'example.md': '\n```{doctest}\n\n    >>> 4 + 4\n    8\n```\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb2f9b50>
        first_test_filename = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6/tests/example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb209810>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6/tests/example.md')
        test_id    = 'MyST-doctest_directive-backticks'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6/tests')
        text       = '\n```{doctest}\n\n    >>> 4 + 4\n    8\n```\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6')
----------------------------- Captured stderr call -----------------------------
/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs6/tests/example.md:2: (WARNING/2) Unknown directive type: 'doctest' [myst.directive_unknown]
_ test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-eval-rst-backticks] _
tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 1
E    +  where 0 = len([])
        _          = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8/tests/example.md'
        file_name  = 'example.md'
        file_path_mode = 'absolute'
        files      = {'example.md': '\n'
               '```{eval-rst}\n'
               '\n'
               '   .. doctest::\n'
               '\n'
               '      >>> 4 + 4\n'
               '      8\n'
               '```\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb0505d0>
        first_test_filename = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8/tests/example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb06c050>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8/tests/example.md')
        test_id    = 'MyST-doctest_directive-eval-rst-backticks'
        tests      = []
        tests_found = 1
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8/tests')
        text       = '\n```{eval-rst}\n\n   .. doctest::\n\n      >>> 4 + 4\n      8\n```\n'
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8')
----------------------------- Captured stderr call -----------------------------
/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs8/tests/example.md:4: (ERROR/3) Unknown directive type "doctest".

.. doctest::

   >>> 4 + 4
   8
_ test_DocutilsDocTestFinder[absolute-MyST-doctest_block-python--sphinx-inline-tabs] _
tests/test_doctest_docutils.py:249: in test_DocutilsDocTestFinder
    assert len(tests) == tests_found
E   assert 0 == 2
E    +  where 0 = len([])
        _          = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests/example.md'
        file_name  = 'example.md'
        file_path_mode = 'absolute'
        files      = {'example.md': '\n'
               '````{tab} example tab\n'
               '```python\n'
               '>>> 4 + 4\n'
               '8\n'
               '```\n'
               '````\n'
               '\n'
               '````{tab} example second\n'
               '```python\n'
               '>>> 4 + 2\n'
               '6\n'
               '```\n'
               '````\n'}
        finder     = <doctest_docutils.DocutilsDocTestFinder object at 0x7faabb209950>
        first_test_filename = '/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests/example.md'
        first_test_key = 'example.md'
        monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7faabb03f250>
        rst_file   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests/example.md')
        test_id    = 'MyST-doctest_block-python--sphinx-inline-tabs'
        tests      = []
        tests_found = 2
        tests_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests')
        text       = ('\n'
 '````{tab} example tab\n'
 '```python\n'
 '>>> 4 + 4\n'
 '8\n'
 '```\n'
 '````\n'
 '\n'
 '````{tab} example second\n'
 '```python\n'
 '>>> 4 + 2\n'
 '6\n'
 '```\n'
 '````\n')
        tmp_path   = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9')
----------------------------- Captured stderr call -----------------------------
/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests/example.md:2: (WARNING/2) Unknown directive type: 'tab' [myst.directive_unknown]
/tmp/pytest-of-builduser/pytest-0/test_DocutilsDocTestFinder_abs9/tests/example.md:9: (WARNING/2) Unknown directive type: 'tab' [myst.directive_unknown]
=========================== short test summary info ============================
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-reST-doctest_directive] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-backticks] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_directive-eval-rst-backticks] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[relative-MyST-doctest_block-python--sphinx-inline-tabs] - assert 0 == 2
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-reST-doctest_directive] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-backticks] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_directive-eval-rst-backticks] - assert 0 == 1
 +  where 0 = len([])
FAILED tests/test_doctest_docutils.py::test_DocutilsDocTestFinder[absolute-MyST-doctest_block-python--sphinx-inline-tabs] - assert 0 == 2
 +  where 0 = len([])
========================= 8 failed, 26 passed in 1.32s =========================

I'm not sure which dependencies I'm missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions