Skip to content

feat: Migrate to uv package management#41

Merged
dotWee merged 4 commits into
mainfrom
feat/uv-migration
Apr 21, 2026
Merged

feat: Migrate to uv package management#41
dotWee merged 4 commits into
mainfrom
feat/uv-migration

Conversation

@dotWee
Copy link
Copy Markdown
Owner

@dotWee dotWee commented Apr 21, 2026

No description provided.

dotWee added 4 commits April 21, 2026 14:35
- Updated .dockerignore and .gitignore to replace references to poetry.lock with uv.lock.
- Modified pyproject.toml to align with uv's structure and added necessary configurations.
- Updated README.md to reflect the change in dependency management from Poetry to uv, including installation and usage instructions.
- Adjusted GitHub workflows to utilize uv for dependency installation, testing, and linting.

This change enhances the project's dependency management approach and streamlines the development process.
- Added new event types: labeled and ready_for_review to the pull_request_target trigger.
- Simplified the auto-merge job to only run for Dependabot PRs.
- Removed unnecessary steps related to metadata fetching and CI checks, streamlining the auto-merge process.

This update enhances the efficiency of the auto-merge workflow for Dependabot pull requests.
- Updated the Dockerfile to install the application into a uv-managed virtual environment, enhancing the build process.
- Removed unnecessary uv.lock from .dockerignore to allow for proper dependency management.
- Adjusted GitHub workflows to streamline Python setup and dependency installation using the latest uv version.
- Added steps for installing GitHub CLI in the release workflow to ensure availability during the release process.

These changes optimize the containerization and CI/CD processes, aligning with the project's shift towards uv for dependency management.
- Introduced a new helper function `_get_pkce_client_id` to streamline the retrieval of the PKCE client ID, ensuring proper error handling for missing configurations.
- Updated multiple instances in the codebase to utilize the new helper function, improving maintainability and readability.
- Refactored the `check_link_exists` method in `RaindropClient` to rename the unused parameter for clarity and added logging for better debugging.
- Simplified authentication logic in `auth_pkce.py` by consolidating the handling of client secrets during token exchanges.

These changes enhance the overall structure and clarity of the code, particularly around the PKCE flow and link checking functionality.
@dotWee dotWee merged commit 602adb4 into main Apr 21, 2026
3 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