Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703140 - dev-python/sphinx-2.0.1 fails test
Summary: dev-python/sphinx-2.0.1 fails test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-12-16 20:03 UTC by Alexey
Modified: 2020-03-03 20:44 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,533.65 KB, text/x-log)
2019-12-16 20:03 UTC, Alexey
Details
emerge --info (file_703140.txt,19.47 KB, text/plain)
2019-12-16 20:03 UTC, Alexey
Details
2.4.3 build.log (build.log,483.33 KB, text/x-log)
2020-03-02 22:35 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2019-12-16 20:03:30 UTC
Created attachment 599864 [details]
build.log

tests/test_build_texinfo.py:66: AttributeError
Comment 1 Alexey 2019-12-16 20:03:47 UTC
Created attachment 599866 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-02 20:23:13 UTC
Could you try 2.4.3, please?
Comment 3 Alexey 2020-03-02 22:35:10 UTC
2.4.3 also fails
Comment 4 Alexey 2020-03-02 22:35:51 UTC
Created attachment 616916 [details]
2.4.3 build.log
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-03 05:41:09 UTC
Could you try uninstalling current version of dev-python/sphinx and seeing if that changes anything?
Comment 6 Alexey 2020-03-03 08:31:21 UTC
Yeah, without sphinx installed, sphinx 2.0.1-r1 passes tests.
But 2.4.3 fails anyway
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-03 11:04:04 UTC
I'm afraid I can't reproduce, no matter how hard I try.  The test failure seems to be typing-related.  However, it doesn't seem to react to downgrading docutils to your version or uninstalling anything typing-related here.

I'm going to try full --depclean in case that could help.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-03 12:56:16 UTC
Good news, everyone.  I am able to reproduce after --depclean.  Now it's just a matter of figuring out which of ~300 package fixed it ;-).
Comment 9 Larry the Git Cow gentoo-dev 2020-03-03 17:46:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd75b5f120be4157309239ec3255da6df4e3239

commit 2cd75b5f120be4157309239ec3255da6df4e3239
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-03 17:20:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-03 17:45:59 +0000

    dev-python/sphinx: Use typed-ast on py<3.8
    
    dev-python/typed-ast is necessary for better typing support in py<3.8.
    This also fixes (hopefully last) test failures.
    
    Closes: https://bugs.gentoo.org/703140
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/sphinx/{sphinx-2.4.3.ebuild => sphinx-2.4.3-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 10 Alexey 2020-03-03 20:44:17 UTC
Confirming, 2.4.3-r1 works.