Skip to content

Replace conda with mise+uv - #692

Open
v4ld3r5 wants to merge 3 commits into
sdatkinson:mainfrom
v4ld3r5:main
Open

v4ld3r5 wants to merge 3 commits into
sdatkinson:mainfrom
v4ld3r5:main

Conversation

@v4ld3r5

@v4ld3r5 v4ld3r5 commented Aug 2, 2026

Copy link
Copy Markdown

Overview

This PR replaces the legacy Conda-based development setup with mise and uv, keeping the local environment isolated while simplifying the default Linux workflow.

It addresses #534.

Summary

  • Migrated local development from the Conda environment files to mise and uv.
  • Added .mise.toml to manage project-local Python and uv versions and the virtual environment.
  • Added uv.lock for reproducible dependency resolution.
  • Added explicit, mutually exclusive cpu and gpu extras for the PyTorch installation.
  • Added a development dependency group for testing, linting, notebooks, and pre-commit.
  • Removed the legacy Conda environment definitions and optional Conda test path.
  • Fixed the calibration tests by preventing functools.partial callbacks from being bound as instance methods.
  • Simplified GitHub Actions: Ubuntu uses mise's precompiled Python and no longer installs Python build dependencies; the workflow continues to resolve dependencies with uv and run linting/tests through uv run.
  • Kept Python compilation as an explicit macOS-only installation step for the optional modules needed by NAM:
    • MISE_PYTHON_COMPILE=true mise install
  • Updated the installation documentation with Ubuntu/Linux as the default path and the macOS exception.

Validation

  • uv lock --check
  • git diff --check
  • Workflow YAML parsing
  • Sphinx documentation build
  • Tests passed locally

v4ld3r5 added 3 commits August 3, 2026 00:11
Signed-off-by: Daniel Valdivieso <vdaniel@proton.me>
Signed-off-by: Daniel Valdivieso <vdaniel@proton.me>
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.

1 participant