You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: switch from pip to uv for dependency management
## What
Replace pip-based dependency management with uv across the project,
consolidating requirements.txt and requirements-test.txt into
pyproject.toml with a generated uv.lock. Add a workflow to keep
uv.lock in sync on Dependabot PRs.
## Why
uv provides faster installs, deterministic lockfile resolution, and
a simpler single-tool workflow for dependency and virtualenv management.
## Notes
- Dockerfile now copies uv binary from ghcr.io/astral-sh/uv:latest and
uses uv sync --frozen --no-dev instead of pip install
- CI workflows use astral-sh/setup-uv with caching enabled
- test_contributors.py reformatted by black (with-statement style change)
- Dependabot will update pyproject.toml but does not natively understand
uv.lock, so update-uv-lock.yml auto-commits the regenerated lockfile
back to Dependabot PR branches
- If branch protection requires signed commits, the update-uv-lock
workflow may need a GitHub App token instead of GITHUB_TOKEN
- Update CI matrix to include python 3.13 and 3.14
Signed-off-by: jmeridth <jmeridth@gmail.com>
org.opencontainers.image.description="GitHub Action that given an organization or repository, produces information about the contributors over the specified time period."
1. Fill out the `.env` file with a _token_ from a user that has access to the organization to scan (listed below). Tokens should have at least read:org access for organization scanning and read:repository for repository scanning.
271
272
1. Fill out the `.env` file with the configuration parameters you want to use
272
-
1. `pip3 install -r requirements.txt`
273
-
1. Run `python3 ./contributors.py`, which will output everything in the terminal
273
+
1. `uv sync`
274
+
1. Run `uv run python3 ./contributors.py`, which will output everything in the terminal
0 commit comments