Skip to content

✨ Add Support for uv - #408

Merged
MFA-X-AI merged 2 commits into
masterfrom
fahreza/uv-install
Jun 11, 2025
Merged

MFA-X-AI merged 2 commits into
masterfrom
fahreza/uv-install

Conversation

@MFA-X-AI

@MFA-X-AI MFA-X-AI commented Jun 9, 2025

Copy link
Copy Markdown
Member

Description

This PR updates the xircuits install <libname> to be able to handle venv that was created using uv. It invokes uv pip install …, if detected otherwise we fall back to python -m pip install …. We also print a simple warning if no venv is active.

Pull Request Type

  • Xircuits Core (JupyterLab related changes)
  • Xircuits Canvas (Custom RD related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others: Xircuits CLI

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (changes existing functionality)
  • This change requires a documentation update

Tests

  1. uv venv

    • uv venv && source .venv/bin/activate && uv pip install xircuits
    • Run xircuits install libName
    • Confirm it used uv pip install -r requirements.txt
  2. Plain venv

    • python -m venv .venv && source .venv/bin/activate
    • Run xircuits install libName
    • Confirm it used python -m pip install -r requirements.txt

Tested on:

  • Windows
  • Linux
  • macOS
  • Other: ______

@github-actions

github-actions Bot commented Jun 9, 2025

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch XpressAI/xircuits/fahreza/uv-install

@MFA-X-AI
MFA-X-AI merged commit a082349 into master Jun 11, 2025
@MFA-X-AI
MFA-X-AI deleted the fahreza/uv-install branch June 11, 2025 07:21
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