python-mechanicalsoup FTBFS with Sphinx 7.1+ in Fedora Rawhide. I want to include Sphinx 7.1.2 in Rawhide. Currently testing in Copr. Details below. Reproducible: Always Steps to Reproduce: Tip - if you want to test locally copr repository then: $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.1.2/fedora-rawhide-x86_64/ --no-clean your.src.rpm $ mock -r fedora-rawhide-x86_64 --addrepo=https://download.copr.fedorainfracloud.org/results/ksurma/sphinx-7.1.2/fedora-rawhide-x86_64/ shell Actual Results: + sphinx-build-3 docs html Running Sphinx v7.1.2 making output directory... done Extension error (sphinx.config): Handler <function correct_copyright_year at 0x7fe9a8e93e20> for event 'config-inited' threw an exception (exception: string index out of range) Expected Results: Build is successful. Sphinx has changed its way of creating copyright year: https://github.com/sphinx-doc/sphinx/pull/11524 mechanicalsoup has got its logic that somehow interferes with that: https://github.com/MechanicalSoup/MechanicalSoup/blob/v1.2.0/docs/conf.py#L52