You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue lies with sphinx.config.correct_copyright_year which when querying config['copyright'] actually gets a tuple instead of a string. Now, I am very confused because
actually works. It appears that the environment variable is ignored when using tox and that's why developpers didn't detect the issue. I don't know how to patch it properly because config.copyright is actually allowed to be a tuple. My best shot is to actually replace all items in the copyright list using the same logic. I'll submit a patch today but I'll need some feedback (I never used a copyright consisting of multiple items).
Describe the bug
test_multi_line_copyright
fails whenSOURCE_DATE_EPOCH
used.show/hide
How to Reproduce
SOURCE_DATE_EPOCH=$(date +%s) pytest tests/test_config.py::test_multi_line_copyright
Environment Information
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: