Skip to content

feat: replace poetry with uv and drop support for python 3.8/3.9 - #22

Merged
danfimov merged 1 commit into
taskiq-python:masterfrom
danfimov:replace-poetry-with-uv
Nov 25, 2025
Merged

feat: replace poetry with uv and drop support for python 3.8/3.9#22
danfimov merged 1 commit into
taskiq-python:masterfrom
danfimov:replace-poetry-with-uv

Conversation

@danfimov

@danfimovdanfimov commented Nov 17, 2025

Copy link
Copy Markdown
Member

closes#24

Features:

  • Replaced poetry with uv
  • Deleted support for python 3.8/3.9 and added 3.13 to test suit

Mics:

  • Updated dev dependency versions;
  • Deleted pytest.mark.anyio marks in favor of anyio_mode=auto config option.
  • Added licence to distribution

CopilotAI review requested due to automatic review settings November 17, 2025 14:52

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 of Union
  • 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
FileDescription
pyproject.tomlComplete migration from Poetry to uv format with project metadata, dependency groups, and build configuration
poetry.lockRemoved Poetry lock file entirely
tests/*.pyModernized type hints and removed explicit @pytest.mark.anyio decorators
taskiq_nats/*.pyUpdated type hints to use modern union syntax and adjusted type ignore comments
.github/workflows/*.yamlUpdated CI/CD workflows to use uv instead of Poetry
.pre-commit-config.yamlUpdated pre-commit hooks to use uv for running tools
docker-compose.ymlRemoved deprecated version field
README.mdFixed typos ("betwee" → "between")
LICENSEAdded MIT license file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpyproject.toml
Comment thread.github/workflows/release.yaml
Comment threadtests/test_jetstream.py
@danfimov
danfimov merged commit c58e3e8 into taskiq-python:masterNov 25, 2025
7 checks passed
@danfimov
danfimov deleted the replace-poetry-with-uv branch November 25, 2025 11:02
Sign up for freeto 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.

Remove support for deprecated Python versions and move to uv

2 participants

@danfimov