diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db0af33..3e71440 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,8 @@ repos: "async_generator", "pytray>=0.2.2, <0.4.0", "deprecation", - "aio-pika", + "aio-pika~=6.6,<6.8.2", + "pamqp~=2.0", "pyyaml~=5.1", "pytest~=5.4", "pytest-notebook", diff --git a/docs/source/conf.py b/docs/source/conf.py index fba676c..7bd9259 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -75,7 +75,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/setup.py b/setup.py index 39eb24b..d022972 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ 'sphinx-autobuild', ], 'pre-commit': ['pre-commit~=2.2', 'pylint==2.5.2'], - 'rmq': ['aio-pika', 'pyyaml~=5.1'], + 'rmq': ['aio-pika~=6.6,<6.8.2', 'pamqp~=2.0', 'pyyaml~=5.1'], 'tests': [ 'coverage', 'ipykernel', diff --git a/test/rmq/test_rmq_thread_communicator.py b/test/rmq/test_rmq_thread_communicator.py index 68f5997..7ddf954 100644 --- a/test/rmq/test_rmq_thread_communicator.py +++ b/test/rmq/test_rmq_thread_communicator.py @@ -2,7 +2,6 @@ # pylint: disable=invalid-name, redefined-outer-name import concurrent.futures import pathlib -import sys import unittest import pytest