Bug 1977626 - python-pycryptodomex fails to build with Sphinx 4.0.2
Summary: python-pycryptodomex fails to build with Sphinx 4.0.2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pycryptodomex
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1973718
TreeView+ depends on / blocked
 
Reported: 2021-06-30 08:09 UTC by Karolina Surma
Modified: 2021-07-05 08:41 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-05 08:41:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2021-06-30 08:09:39 UTC
python-pycryptodomex fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide).

+ /usr/bin/make -O -j2 V=1 VERBOSE=1 -C Doc/ man SPHINXBUILD=sphinx-build
make: Entering directory '/builddir/build/BUILD/pycryptodome-3.10.1/Doc'
sphinx-build -b man -d _build/doctrees   . _build/man
Running Sphinx v4.0.2
make: Leaving directory '/builddir/build/BUILD/pycryptodome-3.10.1/Doc'
Configuration error:
There is a syntax error in your configuration file: Missing parentheses in call to 'print'. Did you mean print(sys.path)? (conf.py, line 18)
make: *** [Makefile:117: man] Error 2

For the logs from testing build attempts, see:
https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-pycryptodomex/

You can test you package using Koji scratch build
koji build --scratch <srpm>

For details regarding the Sphinx change, see https://fedoraproject.org/wiki/Changes/Sphinx4
Let us know here if you have any questions. Thank you!


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