Skip to content

sphinx-book-theme 1.1.4 requires pydata-sphinx-theme 0.15.4 (0.16.1) #912

@72757373656c6c

Description

@72757373656c6c

Describe the bug

context
When I update the pip environment for my sphinx-myst documentation project, I get an error.

Can sphinx-book-theme dependency be updated to the current pydata-sphinx-theme 0.16.1?

expectation
I expect the update to be successful.

bug
But instead I get an error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sphinx-book-theme 1.1.4 requires pydata-sphinx-theme==0.15.4, but you have pydata-sphinx-theme 0.16.1 which is incompatible.

problem
Anyone updating their pip environment for a sphinx-myst project may run into this problem when using the sphinx-book-theme.

A solution, after the pip upgrade, is to re-install sphinx-book-theme and it will downgrade pydata-sphinx-theme to 0.15.4 from 0.16.1.

===> pip list --outdated

Package             Version Latest Type
------------------- ------- ------ -----
pydata-sphinx-theme 0.15.4  0.16.1 wheel

links

Reproduce the bug

  1. pip environment for a sphinx-myst project, that uses the sphinx-book-theme.
  2. pip-review --auto --freeze-outdated-packages # upgrade - pydata-sphinx-theme 0.16.1
  3. sphinx-book-theme gets dependency error
  4. pip install sphinx-book-theme # downgrades pydata-sphinx-theme 0.15.4

List your environment

python --version and snippet from pip list

  • Python 3.13.2
  • Sphinx 8.2.3
  • sphinx-book-theme 1.14
  • pydata-sphinx-these 0.15.4 (sphinx-book-theme needs) 0.16.1 (current)
  • myst-parser 4.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions