Skip to content

feat: migrate from setup.py to uv for dependency management - #40

Open
skyegalaxy wants to merge 5 commits into
ros-tooling:mainfrom
skyegalaxy:skyegalaxy/add-uv-support
Open

skyegalaxy wants to merge 5 commits into
ros-tooling:mainfrom
skyegalaxy:skyegalaxy/add-uv-support

Conversation

@skyegalaxy

Copy link
Copy Markdown
Member

closes #38

Eliminates the need for each developer to setup and run these scripts in their own venv, or on host-managed python, by migrating off of setuptools and towards uv for managing python package installation.

Added a new bootstrapping script ros-ci-setup-venv:

  • install uv if missing from the host
  • puts ros-ci-for-pr, ros-find-restarted-ci, and ros-github-contribution-report on the system PATH in a uv-managed environment

Switched to uv:

  • replace setup.py and setup.cfg with pyproject.toml
  • add uv.lock
  • move flake8 config onto tox.ini and mypy config to tool.mypy

Version bumps:

  • bump PyGithub to >=1.58
  • Keep jenkinsapi pinned to ==0.3.17
  • raised minimum python version to >=3.9

@mergify

mergify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@skyegalaxy

Copy link
Copy Markdown
Member Author

tried it out on ros2/rmw_dds_common#91 (comment) from a fresh clone off this branch

Comment thread ros-ci-setup-venv Outdated
Comment thread README.md Outdated
@skyegalaxy skyegalaxy changed the title feat: migrate from pyproject to uv for dependency management feat: migrate from setup.py to uv for dependency management Sep 12, 2026
@christophebedard

christophebedard commented Sep 12, 2026

Copy link
Copy Markdown
Member

this needs a rebase

Skyler Medeiros added 4 commits September 12, 2026 11:44
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
@skyegalaxy
skyegalaxy force-pushed the skyegalaxy/add-uv-support branch from ab2e56c to 6f962a7 Compare September 12, 2026 18:52
@skyegalaxy

Copy link
Copy Markdown
Member Author

this needs a rebase

done

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with one minor comment.

Comment thread pyproject.toml Outdated
Signed-off-by: Skyler Medeiros <skye@polymathrobotics.com>
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.

automatically setup, and always run inside of, a venv

4 participants