Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1977623 - python-patsy fails to build with Sphinx 4.0.2
Summary: python-patsy fails to build with Sphinx 4.0.2
Alias: None
Product: Fedora
Classification: Fedora
Component: python-patsy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1973718
TreeView+ depends on / blocked
Reported: 2021-06-30 08:05 UTC by Karolina Surma
Modified: 2021-07-21 14:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-07-21 14:28:16 UTC
Type: Bug

Attachments (Terms of Use)

Description Karolina Surma 2021-06-30 08:05:42 UTC
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)? (, line 8)
make: *** [Makefile:33: html] Error 2

For the logs from testing build attempts, see:

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

For details regarding the Sphinx change, see
Let us know here if you have any questions. Thank you!

Comment 1 Sergio Pascual 2021-07-01 12:33:47 UTC
The file is in Python 2!!

Comment 2 Ben Beasley 2021-07-20 17:56:20 UTC
No commits upstream in 2½ years—is patsy still maintained?

Comment 3 Ankur Sinha (FranciscoD) 2021-07-20 18:08:31 UTC
Not sure, but lots of users and activity on the repo otherwise:

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.
(ins)[asinha@ankur  ~]$

Comment 4 Sergio Pascual 2021-07-21 14:28:16 UTC
Fixed in this build:

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