Bug 1838474

Summary: ipython fails to build: FAIL: Test color settings for latex_to_png
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: ipythonAssignee: Lumír Balhar <lbalhar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, dcantrell, lbalhar, mhroncok, michel, mplch, mrunge, orion, python-sig, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-22 05:12:10 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: 1785415, 1803234    

Description Miro Hrončok 2020-05-21 08:37:50 UTC
ipython fails to build (with Python 3.9.0b1 and 3.8.3):

======================================================================
FAIL: Test color settings for latex_to_png.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILDROOT/ipython-7.14.0-3.fc33.x86_64/usr/lib/python3.9/site-packages/IPython/testing/decorators.py", line 212, in skipper_func
    return f(*args, **kwargs)
  File "/builddir/build/BUILDROOT/ipython-7.14.0-3.fc33.x86_64/usr/lib/python3.9/site-packages/IPython/lib/tests/test_latextools.py", line 160, in test_latex_to_png_color
    nt.assert_not_equal(dvipng_black, dvipng_maroon)
AssertionError: None == None
>>  raise self.failureException('None == None')


See also https://koschei.fedoraproject.org/package/ipython?collection=f33


For the build logs, see:
https://download.copr.fedorainfracloud.org/results/@python/python3.9/fedora-rawhide-x86_64/01400204-ipython/

For all our attempts to build ipython with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/ipython/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Lumír Balhar 2020-05-21 11:28:48 UTC
The problem seems to be caused by missing file /usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty which is provided by texlive-amscls but I am not able to track dependencies to find the root of this troubles. If I install python3-matplotlib from koji or from rawhide, I don't get this package in both cases.