Title: [DOC] [BLD] Building / developing matplotlib with uv & pixi · Issue #30877 · matplotlib/matplotlib · GitHub
Open Graph Title: [DOC] [BLD] Building / developing matplotlib with uv & pixi · Issue #30877 · matplotlib/matplotlib
X Title: [DOC] [BLD] Building / developing matplotlib with uv & pixi · Issue #30877 · matplotlib/matplotlib
Description: I've been slowly converting all my personal repos to use uv for dependency management, and gave it a shot on matplotlib to see if it'd work. The below works right out of the box for me: # Create a virtual environment with uv uv venv .ven...
Open Graph Description: I've been slowly converting all my personal repos to use uv for dependency management, and gave it a shot on matplotlib to see if it'd work. The below works right out of the box for me: # Create a ...
X Description: I've been slowly converting all my personal repos to use uv for dependency management, and gave it a shot on matplotlib to see if it'd work. The below works right out of the box for me: # C...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30877
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[DOC] [BLD] Building / developing matplotlib with uv \u0026 pixi","articleBody":"I've been slowly converting all my personal repos to use [uv](https://docs.astral.sh/uv/) for dependency management, and gave it a shot on matplotlib to see if it'd work. The below works right out of the box for me:\n\n```bash\n# Create a virtual environment with uv\nuv venv .venv\n\n# Activate the environment (optional, uv commands will automatically use the venv)\nsource .venv/bin/activate # Linux/macOS\n# or: .venv\\Scripts\\activate # Windows\n\n# Install dev dependencies\nuv pip install -r requirements/dev/dev-requirements.txt\n\n# Install matplotlib in editable mode\nuv pip install --no-build-isolation --editable \".[dev]\"\n\n# Verify installation\nuv run python -c \"import matplotlib; print(matplotlib.__file__)\"\n```\n\nThen I just point my VSCode python interpreter to the one in the .venv and everything works well. Note that a `uv sync` workflow does not work, given our somewhat custom build setup.\n\nI'm ambivalent about adding this as an option to the [development setup instructions](https://matplotlib.org/devdocs/devel/development_setup.html), since the `pip` commands throughout would need a toggle. I'm also unclear what sort of CI we use to ensure build instructions work as-written. But figured it was worth sharing here in case people want to use this approach.","author":{"url":"https://github.com/scottshambaugh","@type":"Person","name":"scottshambaugh"},"datePublished":"2025-12-18T04:59:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/30877/matplotlib/issues/30877"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8ae2291-2635-58c3-3cc0-ed2f74dc3e05 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8750:219E81:6391E:88F28:6A524F28 |
| html-safe-nonce | 52afaaaa58e8870a05cae24206cf7ff9da094d733f90c42062a7b2cf50caca2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzUwOjIxOUU4MTo2MzkxRTo4OEYyODo2QTUyNEYyOCIsInZpc2l0b3JfaWQiOiI4NzM5NTQyNjE1NTM0NDg5Mzg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 583fea92895f260c416e7f7b48b224b0dc953f3649daa20e47a4b4ccc431cf11 |
| hovercard-subject-tag | issue:3741464696 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/30877/issue_layout |
| twitter:image | https://opengraph.githubassets.com/674dc09d8a2b4e297a2fa36d702a96a8f310a322fca59d7abe93cbec78fc4cf7/matplotlib/matplotlib/issues/30877 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/674dc09d8a2b4e297a2fa36d702a96a8f310a322fca59d7abe93cbec78fc4cf7/matplotlib/matplotlib/issues/30877 |
| og:image:alt | I've been slowly converting all my personal repos to use uv for dependency management, and gave it a shot on matplotlib to see if it'd work. The below works right out of the box for me: # Create a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | scottshambaugh |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width