Bug 1578132 - python-sphinxcontrib-websupport FTBFS with Sphinx 1.7
Summary: python-sphinxcontrib-websupport FTBFS with Sphinx 1.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinxcontrib-websupport
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Peña
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-05-14 20:46 UTC by Miro Hrončok
Modified: 2018-05-16 10:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-16 10:16:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-05-14 20:46:24 UTC
I am rebasing Python 3.7 in Copr an I'm now blocked because python-sphinxcontrib-websupport FTBFS with Sphinx 1.7. I believe we need to backport this commit:

https://github.com/sphinx-doc/sphinxcontrib-websupport/commit/ebe84efc1a869da8d5689c706cdcf6ea864f0d9b

See also the issue for releasing this:

https://github.com/sphinx-doc/sphinxcontrib-websupport/issues/14

+ py.test tests/
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-3.4.2, py-1.5.3, pluggy-0.6.0
rootdir: /builddir/build/BUILD/sphinxcontrib-websupport-88d4fdd163efdeaab91a105b7980c42078ed3417, inifile:
collected 0 items / 2 errors

==================================== ERRORS ====================================
________________ ERROR collecting tests/test_searchadapters.py _________________
ImportError while importing test module '/builddir/build/BUILD/sphinxcontrib-websupport-88d4fdd163efdeaab91a105b7980c42078ed3417/tests/test_searchadapters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_searchadapters.py:16: in <module>
    from test_websupport import sqlalchemy_missing
tests/test_websupport.py:26: in <module>
    from util import rootdir, tempdir
tests/util.py:30: in <module>
    from sphinx.deprecation import RemovedInSphinx17Warning
E   ImportError: cannot import name RemovedInSphinx17Warning
__________________ ERROR collecting tests/test_websupport.py ___________________
ImportError while importing test module '/builddir/build/BUILD/sphinxcontrib-websupport-88d4fdd163efdeaab91a105b7980c42078ed3417/tests/test_websupport.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_websupport.py:26: in <module>
    from util import rootdir, tempdir
tests/util.py:30: in <module>
    from sphinx.deprecation import RemovedInSphinx17Warning
E   ImportError: cannot import name RemovedInSphinx17Warning
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 0.43 seconds ============================

Comment 1 Javier Peña 2018-05-16 09:35:11 UTC
I have updated the spec to use a newer commit that includes the Sphinx 1.7 build, and built it in Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=26988932

Is a Rawhide build enough, or would you need me to backport the fix to f28 too?

Comment 2 Miro Hrončok 2018-05-16 10:16:13 UTC
A git push to master was enough. Thanks.


Note You need to log in before you can comment on or make changes to this bug.