Skip to content

Switch dependency managment to uv - #1164

Merged
marcospri merged 3 commits into
masterfrom
switch-to-uv
Sep 4, 2026
Merged

Switch dependency managment to uv#1164
marcospri merged 3 commits into
masterfrom
switch-to-uv

Conversation

@marcospri

@marcospri marcospri commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Comment thread .github/workflows/build-and-release.yaml
Comment thread .github/workflows/build-and-release.yaml
Comment thread .github/dependabot.yml
Comment thread inbox/events/remote_sync.py
Comment thread inbox/util/testutils.py
Comment thread inbox/events/recurring.py

if len(excl_dates) > 0:
if not isinstance(rrules, rruleset):
rrules = rruleset().rrule(rrules)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We don't pin types-python-dateutil (same as before) so this changed. IMO that's fine.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should pin stuff for the sake of CI, no?

@linear-code

linear-code Bot commented Sep 2, 2026

Copy link
Copy Markdown

BEP-56

@wojcikstefan wojcikstefan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

<3

Comment thread pyproject.toml
description = "Close's email sync engine."
requires-python = "==3.12.*"
dependencies = [
"alembic==1.7.5",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are all of these direct dependencies? Or will we separately prune them so that the lockfile contains all dependencies and this list only contains what we directly depend on?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There are probably some stale indirect dependencies there. I'll do a follow up PR with a cleanup.

Comment thread pyproject.toml
Comment on lines +66 to +71
"types-boto",
"types-python-dateutil",
"types-pytz",
"types-PyYAML",
"types-redis",
"types-requests",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we pin those? I don't think our CI should start failing just because something new got released.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah I don't see a reason why these were not pinned in the first place.

I'll do it in follow up to keep this PR changes to just pip-tools -> uv.

@wojcikstefan wojcikstefan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚢 🫡

@marcospri
marcospri merged commit b8081ac into master Sep 4, 2026
5 of 6 checks passed
@marcospri
marcospri deleted the switch-to-uv branch September 4, 2026 10:16
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.

2 participants