Skip to content

Commit

Permalink
build: upper bound for sphinx (#2143)
Browse files Browse the repository at this point in the history
Docs are not building with the lastest version of sphinx (v8.2.0).

```sh
Traceback
=========

      File ".../pint/.pixi/envs/docs/lib/python3.11/site-packages/sphinx/events.py", line 415, in emit
        raise ExtensionError(
    sphinx.errors.ExtensionError: Handler <function html_collect_pages at 0x11406d440> for event 'html-collect-pages' threw an exception (exception: module 'sphinx.util' has no attribute 'console')
```
  • Loading branch information
maurosilber authored Feb 22, 2025
1 parent 384b346 commit b77263f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ all = [
"pint[numpy,uncertainties,babel,pandas,pandas,xarray,dask,mip,matplotlib]",
]
docs = [
"sphinx>=6",
"sphinx>=6,<8.2",
"ipython<=8.12",
"nbsphinx",
"jupyter_client",
Expand Down

0 comments on commit b77263f

Please sign in to comment.