Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove poetry.lock #737

Merged
merged 22 commits into from
Feb 17, 2025
Merged

Conversation

aliberts
Copy link
Collaborator

@aliberts aliberts commented Feb 16, 2025

What this does

Removes poetry.lock from the repo.
Adapts tests in CI which used this file to install dependencies from.
Use uv instead of poetry to install dependencies faster

Motivation

While having a dependencies lock file is very useful in some situations, it doesn't really make sense for a library such as this project.
It also impends on development workflow when merging/rebasing and having to resolve conflicts in this file (which is pointless because the lock file has to be regenerated anyway)

How it was tested

Tests workflow time comparison before / after:
test workflow comparison
It should be even faster when cache propagates on main

@aliberts aliberts marked this pull request as ready for review February 16, 2025 16:34
@aliberts aliberts added ⚙️ Infra/CI Infra / CI-related ➡️ Dependencies Adding, removing or updating dependencies labels Feb 16, 2025
@aliberts aliberts requested a review from Cadene February 16, 2025 16:34
Copy link
Collaborator

@Cadene Cadene left a comment

Choose a reason for hiding this comment

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

Thanks! Had one question. Not a blocker.

@aliberts aliberts merged commit fe483b1 into main Feb 17, 2025
7 checks passed
@aliberts aliberts deleted the user/aliberts/2025_02_16_rm_poetry_lock_file branch February 17, 2025 11:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
➡️ Dependencies Adding, removing or updating dependencies ⚙️ Infra/CI Infra / CI-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants