Bug 1733681

Summary: python-sphinxcontrib-websupport: FTBFS in Fedora 31: ModuleNotFoundError: No module named 'sphinxcontrib.websupport'
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-sphinxcontrib-websupportAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpena, mhroncok, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/python-sphinxcontrib-websupport
Whiteboard:
Fixed In Version: python-sphinxcontrib-websupport-1.1.2-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-27 10:42:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1700317, 1686977, 1732841    

Description Miro Hrončok 2019-07-27 09:59:20 UTC
Description of problem:
Package python-sphinxcontrib-websupport fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
1.1.2-1.fc31

Steps to Reproduce:
koji build --scratch f31 python-sphinxcontrib-websupport-1.1.2-1.fc31.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/python-sphinxcontrib-websupport

The dependency change was:

 python3-sqlalchemy
  1.3.5-1.fc31
  1.3.5-2.fc31

 python3-pytest
  4.4.1-2.fc31
  4.6.4-2.fc31

 python3-wcwidth
  (not present before)
  0.1.7-10.fc31

 glibc
  2.29.9000-32.fc31
  2.29.9000-34.fc31

 python-pip-wheel
  19.1.1-1.fc31
  19.1.1-3.fc31

 glibc-common
  2.29.9000-32.fc31
  2.29.9000-34.fc31

 glibc-minimal-langpack
  2.29.9000-32.fc31
  2.29.9000-34.fc31

The failure is:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MUKUiI
+ umask 022
+ cd /builddir/build/BUILD
+ cd sphinxcontrib-websupport-1.1.2
+ /usr/bin/python3 -m pytest tests/
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.MUKUiI (%check)
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-4.6.4, py-1.8.0, pluggy-0.12.0
rootdir: /builddir/build/BUILD/sphinxcontrib-websupport-1.1.2, inifile: setup.cfg
collected 0 items / 2 errors
==================================== ERRORS ====================================
________________ ERROR collecting tests/test_searchadapters.py _________________
ImportError while importing test module '/builddir/build/BUILD/sphinxcontrib-websupport-1.1.2/tests/test_searchadapters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_searchadapters.py:15: in <module>
    from sphinxcontrib.websupport import WebSupport
E   ModuleNotFoundError: No module named 'sphinxcontrib.websupport'
__________________ ERROR collecting tests/test_websupport.py ___________________
ImportError while importing test module '/builddir/build/BUILD/sphinxcontrib-websupport-1.1.2/tests/test_websupport.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_websupport.py:12: in <module>
    from sphinxcontrib.websupport import WebSupport
E   ModuleNotFoundError: No module named 'sphinxcontrib.websupport'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 0.32 seconds ============================


If I had to guess, I'd blame pytest update.

This also failed during the mass rebuild.