python-patsy fails to build with Sphinx 4.0.2 in Fedora 35 (currently Rawhide). + make html SPHINXBUILD=sphinx-build-3.10 sphinx-build-3.10 -b html -d _build/doctrees . _build/html Running Sphinx v4.0.2 Configuration error: There is a syntax error in your configuration file: Missing parentheses in call to 'print'. Did you mean print("python exec:", sys.executable)? (conf.py, line 8) make: *** [Makefile:33: html] Error 2 For the logs from testing build attempts, see: https://copr.fedorainfracloud.org/coprs/ksurma/pygments-2.9.0/package/python-patsy/ 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!
The conf.py file is in Python 2!!
No commits upstream in 2½ years—is patsy still maintained?
Not sure, but lots of users and activity on the repo otherwise: https://github.com/pydata/patsy/issues/154 It's required by a few other packages, so we'll have to keep it around: sudo dnf repoquery --whatrequires python3-patsy [sudo] password for asinha: Last metadata expiration check: 4:19:41 ago on Tue 20 Jul 2021 14:44:29 BST. python3-pybids-0:0.12.4-2.fc34.noarch python3-pymc3-0:3.9.3-4.fc34.noarch python3-statsmodels-0:0.12.2-1.fc34.x86_64 (ins)[asinha@ankur ~]$
Fixed in this build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1778015