Skip to content

Comments

Make demo for uv with isar and isar-robot#832

Draft
olaals wants to merge 1 commit intoequinor:mainfrom
olaals:demo-uv-isar
Draft

Make demo for uv with isar and isar-robot#832
olaals wants to merge 1 commit intoequinor:mainfrom
olaals:demo-uv-isar

Conversation

@olaals
Copy link
Contributor

@olaals olaals commented Jul 3, 2025

Ready for review checklist:

  • A self-review has been performed
  • All commits run individually
  • Temporary changes have been removed, like logging, TODO, etc.
  • The PR has been tested locally
  • A test has been written
    • This change doesn't need a new test
  • Relevant issues are linked
  • Remaining work is documented in issues
    • There is no remaining work from this PR that requires new issues
  • The changes do not introduce dead code as unused imports, functions etc.

Demo how uv package manager can simplify setup for running with for example isar robot

Assuming:

  • Assuming isar-robot is cloned at ../isar-robot relative to isar
  • uv is installed, link
  • pyproject.toml in isar-robot is installed like this
    dependencies = ["alitra", "isar"] with no isar>1.30

uv method:

uv run --group local --env-file envs/local.vars main.py

current method:

python -m venv venv
source venv/bin/activate
cd ../isar-robot
pip install -e ".[dev]"
cd ../isar
pip install -e ".[dev]"
EXPORT ISAR_MQTT_ENABLED=True
python main.py

@olaals olaals marked this pull request as draft July 3, 2025 13:53
@github-actions
Copy link

This pull request has been automatically marked as stale due to inactivity.

@github-actions github-actions bot added the stale This issue or pull request already exists label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant