Skip to content

Commit

Permalink
Dependencies: restrict ranges of aio-pika and pamqp (#110)
Browse files Browse the repository at this point in the history
Tests fail for `aio-pika==6.8.2` so an upper limit is placed. The `pamqp`
dependency wasn't actually specified in the requirements and is now added.
  • Loading branch information
ltalirz committed Aug 5, 2022
1 parent adf373e commit 7750921
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion test/rmq/test_rmq_thread_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# pylint: disable=invalid-name, redefined-outer-name
import concurrent.futures
import pathlib
import sys
import unittest

import pytest
Expand Down

0 comments on commit 7750921

Please sign in to comment.