Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feat/migrate to uv #33

Merged
merged 3 commits into from
Nov 10, 2024
Merged

Feat/migrate to uv #33

merged 3 commits into from
Nov 10, 2024

Conversation

mbsantiago
Copy link
Collaborator

This PR migrates the project's package management system from PDM to UV. This change offers several key advantages:

  • Simplified Installation and Dependency Management: UV is a single, statically-linked binary that handles downloading the required Python version and managing all project dependencies. This streamlines the installation process for users, eliminating the need to manually manage Python versions or worry about polluting system installations. Users only need to install UV and then use it to install batdetect2.

  • Improved Reproducibility: UV prioritizes reproducible builds by generating system-agnostic lock files. This ensures consistent dependency resolution across different operating systems (Linux, macOS, Windows) using a single lock file, simplifying development collaboration and deployment.

  • Enhanced Performance: While not a primary factor for this project, UV generally offers significantly faster dependency resolution compared to PDM, which can be beneficial for CI/CD pipelines.

This migration may require a slight adjustment for users familiar with PDM, but the long-term benefits in terms of ease of use, reproducibility, and performance outweigh the initial learning curve.

@mbsantiago mbsantiago merged commit cb08835 into main Nov 10, 2024
4 checks passed
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.

1 participant