feat: replace poetry with uv and drop support for python 3.8/3.9#22
Merged
danfimov merged 1 commit intotaskiq-python:masterfrom Nov 25, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the project's tooling by replacing Poetry with uv for dependency management and build processes, while also dropping support for Python 3.8/3.9 and adding Python 3.13 support. The changes include updating the project configuration, modernizing Python type hints to use PEP 604 syntax (union operator |), removing redundant pytest.mark.anyio decorators in favor of configuration-based auto-detection, and adding an MIT license to the distribution.
Key Changes
- Migration from Poetry to uv for dependency management and building
- Python version support updated to 3.10-3.13 (dropping 3.8 and 3.9)
- Type hints modernized throughout the codebase to use
|syntax instead ofUnion - Test configuration simplified with
anyio_mode = "auto"in pytest config
Reviewed Changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Complete migration from Poetry to uv format with project metadata, dependency groups, and build configuration |
| poetry.lock | Removed Poetry lock file entirely |
| tests/*.py | Modernized type hints and removed explicit @pytest.mark.anyio decorators |
| taskiq_nats/*.py | Updated type hints to use modern union syntax and adjusted type ignore comments |
| .github/workflows/*.yaml | Updated CI/CD workflows to use uv instead of Poetry |
| .pre-commit-config.yaml | Updated pre-commit hooks to use uv for running tools |
| docker-compose.yml | Removed deprecated version field |
| README.md | Fixed typos ("betwee" → "between") |
| LICENSE | Added MIT license file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5de3304 to
15b3616
Compare
15b3616 to
44e8027
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.
closes #24
Features:
Mics:
pytest.mark.anyiomarks in favor ofanyio_mode=autoconfig option.