Switch dependency managment to uv - #1164
Open
marcospri wants to merge 3 commits into
Open
Conversation
marcospri
force-pushed
the
switch-to-uv
branch
from
September 1, 2026 10:48
33e294e to
aa5ae89
Compare
marcospri
commented
Sep 1, 2026
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup Python |
Contributor
Author
There was a problem hiding this comment.
Bumping the GHA action version as in the authalligator counterpart.
| - name: Mypy | ||
| run: mypy | ||
|
|
||
| check-compiled-requirements: |
Contributor
Author
There was a problem hiding this comment.
uv sync --locked should do this out of the box.
| # Enable version updates for python | ||
| - package-ecosystem: "pip" | ||
| directory: "/requirements" | ||
| - package-ecosystem: "uv" |
Contributor
Author
There was a problem hiding this comment.
As with the other PRs taking the opportunity to reduce noise.
marcospri
commented
Sep 1, 2026
| from datetime import datetime, timedelta | ||
| from typing import Any | ||
|
|
||
| import more_itertools # type: ignore[import-not-found] |
Contributor
Author
There was a problem hiding this comment.
We now do uv sync --locked & [{include-group="lint"}, {include-group="test"}] so the test group is now installed with lint.
Before we just did
- name: Install production requirements (for Mypy)
run: pip install --no-deps -r requirements/requirements-prod.txt
so this was not present.
|
|
||
| import attr | ||
| import dns | ||
| import pytest # type: ignore[import-not-found] |
Contributor
Author
There was a problem hiding this comment.
Same as inbox/events/remote_sync.py
|
|
||
| if len(excl_dates) > 0: | ||
| if not isinstance(rrules, rruleset): | ||
| rrules = rruleset().rrule(rrules) |
Contributor
Author
There was a problem hiding this comment.
We don't pin types-python-dateutil (same as before) so this changed. IMO that's fine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Similar approach to:
uvinstead ofpipfor building & dependency management socketshark#354refs: BEP-56