Skip to content

Break circular dependency - #128

Open
tacaswell wants to merge 4 commits into
matplotlib:mainfrom
tacaswell:mnt/break_deps
Open

Break circular dependency#128
tacaswell wants to merge 4 commits into
matplotlib:mainfrom
tacaswell:mnt/break_deps

Conversation

@tacaswell

@tacaswell tacaswell commented Jul 31, 2026

Copy link
Copy Markdown
Member

mpl-sphinx-theme depends on matplotlib which makes setting up the dev environment with pixi annoying.

mpl-sphinx-theme does not actually use Matplotlib, but the docs do.

While I was touching this I moved to PEP 735 dependency groups. I used the robot to write the pip syntax for me and check that I got all the references doc/requirements (I regret this).

This also add the pixi build meta-data so we can directly install this via pixi on Matplotlib.

mpl-sphinx-theme does not use Matplotlib, but we use ourselves
in the docs.
Assisted-by: opeencode:sonnet-4.6

I regret using the robot here.
Comment thread pyproject.toml


[tool.pixi.package]
version = "3.11.1.dev0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that right? We're probably going to forget updating this without documentation, especially if you need the micro.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dynamic versioning in pixi-build is still not working so I'm not sure what we want to do here.

@timhoffm

timhoffm commented Aug 3, 2026

Copy link
Copy Markdown
Member

Seems like there is not much traction on dynamic versions in pixi-build: prefix-dev/pixi#2946

I suppose we can live with manual version bumps, assuming it only matters when we cut a release. Still at least a comment would be helpful.

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.

4 participants