Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774657 - =dev-python/setuptools-54.1.0 fails tests: TestSphinxUploadDocs.test_sphinx_doc failure
Summary: =dev-python/setuptools-54.1.0 fails tests: TestSphinxUploadDocs.test_sphinx_d...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 774216
  Show dependency tree
 
Reported: 2021-03-07 11:42 UTC by Sergei Trofimovich (RETIRED)
Modified: 2021-03-07 13:41 UTC (History)
1 user (show)

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


Attachments
=dev-python:setuptools-54.1.0.FAIL (=dev-python:setuptools-54.1.0.FAIL,185.85 KB, text/plain)
2021-03-07 11:48 UTC, Sergei Trofimovich (RETIRED)
Details
emerge --info (emerge --info,5.35 KB, text/plain)
2021-03-07 11:51 UTC, Sergei Trofimovich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-07 11:42:41 UTC
...
[gw1] [100%] PASSED setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_attr_version[use_setup_cfg3]

=================================== FAILURES ===================================
_____________________ TestSphinxUploadDocs.test_sphinx_doc _____________________
[gw2] linux -- Python 3.8.8 /usr/bin/python3.8

self = <setuptools.tests.test_sphinx_upload_docs.TestSphinxUploadDocs object at 0x200000000bcfda90>

    def test_sphinx_doc(self):
        params = dict(
            name='foo',
            packages=['test'],
        )
        dist = Distribution(params)

        cmd = upload_docs(dist)

        cmd.initialize_options()
        assert cmd.upload_dir is None
>       assert cmd.has_sphinx() is True
E       assert None is True
E        +  where None = <bound method upload_docs.has_sphinx of <setuptools.command.upload_docs.upload_docs object at 0x200000000bf1b040>>()
E        +    where <bound method upload_docs.has_sphinx of <setuptools.command.upload_docs.upload_docs object at 0x200000000bf1b040>> = <setuptools.command.upload_docs.upload_docs object at 0x200000000bf1b040>.has_sphinx

/var/tmp/portage/dev-python/setuptools-54.1.0/work/setuptools-54.1.0-python3_8/setuptools/tests/test_sphinx_upload_docs.py:37: AssertionError
=========================== short test summary info ============================
SKIPPED [1] setuptools/tests/test_msvc.py:17: could not import 'distutils.msvc9compiler': No module named 'winreg'
SKIPPED [1] setuptools/tests/test_develop.py:105: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment.
SKIPPED [1] setuptools/tests/test_install_scripts.py:50: Windows only
SKIPPED [1] setuptools/tests/test_install_scripts.py:78: Windows only
SKIPPED [5] setuptools/tests/test_integration.py:38: <urlopen error [Errno -3] Temporary failure in name resolution>
SKIPPED [1] setuptools/tests/test_msvc14.py:16: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:34: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:52: These tests are only for win32
SKIPPED [1] setuptools/tests/test_msvc14.py:68: These tests are only for win32
SKIPPED [6] setuptools/tests/test_virtualenv.py:94: no network
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:69: Windows only
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:110: Windows only
SKIPPED [1] setuptools/tests/test_windows_wrappers.py:169: Windows only
XFAIL setuptools/tests/test_bdist_egg.py::Test::test_exclude_source_files
  Byte code disabled
XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs6]
  Issue #1578: project_urls not read
XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 2.1: Provides Extra-attrs8]
  provides_extras not read
XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[extras_require_with_marker_in_setup_cfg]
XPASS setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712
= 1 failed, 515 passed, 22 skipped, 4 xfailed, 1 xpassed in 140.55s (0:02:20) ==
 * ERROR: dev-python/setuptools-54.1.0::gentoo failed (test phase):
 *   Tests failed under python3.8
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-07 11:48:31 UTC
Created attachment 689763 [details]
=dev-python:setuptools-54.1.0.FAIL

Build log.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-07 11:51:43 UTC
Created attachment 689766 [details]
emerge --info

emerge --info
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-07 12:45:47 UTC
Is this post 996324b362684f85c7d9ac9aae3d29b2e3f64653, i.e. do you have dev-python/sphinx installed?
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-07 13:41:48 UTC
No, that should be it. After a sync the new dependency got pulled it. Apologies for the noise.