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

Remove poetry and use UV #27

Merged
merged 10 commits into from
Jan 23, 2025
Merged

Remove poetry and use UV #27

merged 10 commits into from
Jan 23, 2025

Conversation

nickmoreton
Copy link
Collaborator

@nickmoreton nickmoreton commented Dec 17, 2024

This pull request includes significant updates to the project, transitioning from using Poetry to UV for dependency management, updating the Python version, and making various improvements to the documentation and codebase. The most important changes are summarized below:

Dependency Management and Python Version:

  • .github/workflows/test.yml: Replaced Poetry with UV for dependency management and updated the workflow to reflect these changes. Removed steps related to Poetry and added steps for setting up UV.
  • .python-version: Updated the Python version to 3.11.

Documentation Updates:

  • README.md: Updated the installation and usage instructions to reflect the switch from Poetry to UV. Added sections on requirements and activating the virtual environment. [1] [2]

Configuration Changes:

  • pyproject.toml: Modified the configuration to use Hatchling instead of Poetry for the build system. Updated dependencies and grouped them appropriately.

Code Improvements:

  • src/check_local.py: Added code to delete the requirements-frozen.txt file after processing it.
  • src/main.py: Changed the local command to use a click.Path argument for better path handling.
  • src/managers/repository.py: Simplified the method for getting the absolute path by directly assigning the path argument.

@nickmoreton nickmoreton merged commit 7138e2f into main Jan 23, 2025
2 checks passed
@nickmoreton nickmoreton deleted the switch-to-uv branch January 23, 2025 13:56
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