FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Pixi setup by ianhi · Pull Request #613 · matplotlib/ipympl · GitHub

Add Pixi setup - #613

Merged
ianhi merged 6 commits into
matplotlib:mainfrom
ianhi:ian/pixi-setup
Jan 21, 2026
Merged

Add Pixi setup#613
ianhi merged 6 commits into
matplotlib:mainfrom
ianhi:ian/pixi-setup

Conversation

ianhi commented Jan 14, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

adds a pixi setup to make it easier to get a working dev env.

I also find that pixi plays much more nicely with coding agents than conda/mamba

I didn't add the lock file as I think it's mostly bloat for the development pattern of this repo. I'd also like to look into removing yarn.lock as a bloat (hasn't been udpated in 2 years)

🤖 changes are by claude fully directed by me

Copy link
Copy Markdown
Contributor

👈 Launch a binder notebook on branch ianhi/ipympl/ian/pixi-setup

ianhi and others added 4 commits January 14, 2026 10:42
- Initialize pixi with pyproject format (integrated into pyproject.toml)
- Add jupyterlab, yarn, and nodejs dependencies
- Enables jlpm for building JavaScript/TypeScript code
- Lock file for reproducible builds
- Update .gitignore for pixi artifacts

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add pixi as recommended development environment setup
- Update all commands to use 'pixi run' prefix
- Fix watch command to use 'npm run watch' instead of 'jlpm watch'
- Keep conda/mamba instructions as alternative
- Clarify that pixi handles both Python and Node.js dependencies
- Add note about matplotlib requiring compiled dependencies

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Assume JupyterLab by default (most common workflow)
- Include watch mode commands in initial setup
- Simplify "How to see your changes" section
- Move classic notebook setup to end as optional
- Group commands more logically
- Remove redundant explanations

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Ignore .yarn/ directory (yarn cache and plugins)
- Ignore package-lock.json (npm lock file)
- These are build artifacts that shouldn't be committed

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

martinRenou left a comment

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! No strong opinion on this myself. As long as we don't force devs to use something I'm good 👍🏽

ianhi commented Jan 14, 2026

Copy link
Copy Markdown
Collaborator Author

will push a few changes I've found necesary now that im using this. then will merge

ianhi and others added 2 commits January 15, 2026 11:39
Add pytest and nbval as optional test dependencies to enable
reproducible test environments with pixi.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
ianhi merged commit 5a81b50 into matplotlib:main Jan 21, 2026
10 checks passed
ianhi deleted the ian/pixi-setup branch January 21, 2026 19:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL