-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
269 additions
and
250 deletions.
There are no files selected for viewing
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "taskiq-aio-pika" | ||
version = "0.2.2" | ||
version = "0.3.0" | ||
description = "RabbitMQ broker for taskiq" | ||
authors = ["Pavel Kirilin <[email protected]>"] | ||
readme = "README.md" | ||
|
@@ -20,8 +20,9 @@ keywords = ["taskiq", "tasks", "distributed", "async", "aio-pika"] | |
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
taskiq = "^0" | ||
taskiq = ">=0.6.0,<1" | ||
aio-pika = "^9.0" | ||
importlib-metadata = {version = "^4.0.0", python = "<3.8"} | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^7.0" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
"""Taskiq integration with aio-pika.""" | ||
from taskiq_aio_pika.broker import AioPikaBroker | ||
|
||
try: | ||
# Python 3.8+ | ||
from importlib.metadata import version # noqa: WPS433 | ||
except ImportError: | ||
# Python 3.7 | ||
from importlib_metadata import version # noqa: WPS433, WPS440 | ||
|
||
__version__ = version("taskiq-aio-pika") | ||
|
||
__all__ = ["AioPikaBroker"] |
This file contains 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
This file contains 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