Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-49037: Pin Sphinx < 8.2 for compatibility with sphinxcontrib-bibtex #240

Merged
merged 4 commits into from
Feb 19, 2025

Conversation

jonathansick
Copy link
Member

Pin Sphinx to avoid compatibility issues with the sphinxcontrib-bibtex extension, preparing for the 1.4.3 release.

This pin avoids an emergent issue with sphinxcontrib-bibtex in
technotes:

```
      File "/Users/jsick/code/lsst-sqre/sqr-080/.tox/html/lib/python3.12/site-packages/sphinxcontrib/bibtex/domain.py", line 305, in __init__
        normpath_filename(env, "/" + bibfile)
      File "/Users/jsick/code/lsst-sqre/sqr-080/.tox/html/lib/python3.12/site-packages/sphinxcontrib/bibtex/bibfile.py", line 51, in normpath_filename
        return os.path.normpath(env.relfn2path(filename.strip())[1])
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Users/jsick/code/lsst-sqre/sqr-080/.tox/html/lib/python3.12/site-packages/sphinx/environment/__init__.py", line 448, in relfn2path
        raise KeyError(msg)
    KeyError: 'docname'
```
We're no lnoger running prettier via pre-commit, but instead tox runs it
through the npm command directly.
@jonathansick jonathansick merged commit a6976b4 into 1.0 Feb 19, 2025
6 checks passed
@jonathansick jonathansick deleted the tickets/DM-49037 branch February 19, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant