Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Nameko 2.11.0 and v3 prerelease (#26)
* upgrade nameko fix implementation, simplify failed delivery test * with refactored impl we can support older namekos * class path is different on python > 3.4 * make py37 work on travis * use default value for application headers * use amqp declare to inspect queues, not rest api test against more modern rabbitmq * test against prerelease nameko * make implementation compatible * allow 88 character lines * add prerelease tests to travis matrix
- Loading branch information
1 parent
84fe9aa
commit 67f3e42
Showing
12 changed files
with
170 additions
and
132 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
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[flake8] | ||
exclude = | ||
.git, | ||
.tox, | ||
__pycache__, | ||
max-line-length = 88 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import sys | ||
|
||
import pkg_resources | ||
|
||
PY3 = sys.version_info >= (3, 0) | ||
PY34 = PY3 and sys.version_info[1] == 4 | ||
NAMEKO3 = pkg_resources.get_distribution("nameko").version.split('.')[0] == '3' |
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
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
Oops, something went wrong.