feat: replace poetry with uv and remove support for python 3.8/3.9#45
Merged
danfimov merged 2 commits intotaskiq-python:masterfrom Nov 25, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the project by replacing Poetry with UV as the build tool and dropping support for Python 3.8/3.9, targeting Python 3.10+ as the minimum version.
Key changes:
- Migrated from Poetry to UV for dependency management and building
- Updated Python version requirement from 3.8.1+ to 3.10+
- Modernized type hints to use PEP 604 union syntax (
X | Noneinstead ofOptional[X]) - Updated imports to use
collections.abcinstead oftypingfor collection types - Fixed spelling errors in comments and documentation
- Updated CI/CD workflows to use UV and modern actions
- Updated pre-commit hooks with new linting tools
Reviewed Changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Converted from Poetry to PEP 621 format with UV build backend, updated dependencies and Python version constraints |
| poetry.lock | Removed Poetry lock file (replaced by uv.lock) |
| taskiq_aio_pika/broker.py | Modernized type hints, updated imports to use collections.abc, fixed spelling in docstrings |
| taskiq_aio_pika/init.py | Added blank line for formatting consistency |
| tests/conftest.py | Updated imports and fixed spelling in docstrings |
| tests/test_broker.py | Fixed spelling in test documentation |
| .github/workflows/test.yml | Migrated to UV, updated Python versions, improved security with permissions |
| .github/workflows/release.yml | Migrated to UV with trusted publishing support |
| .pre-commit-config.yaml | Updated hook versions, added typos and detect-secrets tools, migrated to UV |
| README.md | Enhanced documentation with badges, improved formatting and clarity, fixed spelling errors |
| LICENSE | Updated copyright year to 2025 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d5d031b to
dc01788
Compare
dc01788 to
6454070
Compare
8fe1a27 to
56f642b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
Mics:
pytest.mark.anyiomarks in favor ofanyio_mode=autoconfig option.