Commit Graph

2997 Commits

Author SHA1 Message Date
Omer Katz 83d4f894c1 Updated changelog. 2019-03-03 21:01:05 +02:00
Jason Held 41dbbe3063 Control pattern matching (#997)
* Added pattern/matcher to Mailbox

* pattern/match for kombu 4

* Ensure kombu.matcher is covered by our documentation.

* Adds test_matcher & pidbox unit tests.

* Added tests to ensure exception is raised when matcher is not registered.

* Adds to test for destination passed in to process.
2019-02-27 20:23:12 +06:00
Peter Lithammer eb6e4c8d51 Revert #954 and update redis-py to at least 3.2.0 (#1011)
This reverts #954, and bumps the required redis-py dependency to 3.2.0
to include this fix:

4e1e748092

Fixes #1006
2019-02-22 12:09:39 +06:00
Paul Bailey 30f52ad329 Support SSL URL parameters correctly for rediss protocol (#1002)
* fixed rediss url parsing

* added ssl parameter test

* added ssl parameter test

* added ssl parameter test

* added ssl parameter test

* added ssl parameter test

* added no ssl module parse_url test

* added no ssl module parse_url test

* added no ssl module parse_url test

* convert to list comprehension

* simulate no ssl in test

* add missing logger
2019-02-21 09:38:03 +02:00
Peter Lithammer 844d8d0673 Handle the case when only one Redis Sentinel node is provided (#1010)
The problem is that `self.connection.client.alt` is only populated when
there's more than one client URL provided, e.g.
`"sentinel://foo;sentinel://bar"`. It will also always contain all URLs,
including the primary/first entry.

So if the `alt` list is empty, it (usually) means there was only one
client URL provided.

I also took the liberty to perform name and type changes to be more in
line with the examples and documentation in the `redis` library. The
argument is `sentinels`, not `connection_list`. And it's of the type
`List[Tuple[str, int]]`, not `List[List[str, str]]`.

Fixes #1004
2019-02-21 09:37:21 +02:00
Peter Lithammer f49188d2f7 Use "_parse_url()" util to parse Sentinel master URL (#1009)
Fixes #1007
2019-02-20 23:35:36 +06:00
Patrick Woods 2415a64776 Restore bz2 import checks in compression.py (#1003)
Removed in #938 due to assumption that it only affected Jython but
the condition can be present in systems built without bz2 support.
2019-02-08 13:26:15 +02:00
Omer Katz b4be5cf2e7 Bump version: 4.2.2 → 4.3.0 2019-02-06 18:13:10 +02:00
Omer Katz b8a3fcac06 Update version and copyright year. 2019-02-06 18:12:08 +02:00
Omer Katz 6d5bfaee2b 4.3 Changelog (#1001)
* Started working on changelog for 4.3.

* More changelog.

* Finish changelog.
2019-02-06 20:24:25 +06:00
Josh Morrow bb0bb5298b Allow mutex to be noop for eventlet (#916) 2019-02-05 13:32:53 +06:00
Mads Jensen 0392c34e7d Removed Python 2.6 workarounds in test_qpid.py (#995) 2019-02-05 12:57:37 +06:00
Omer Katz 139f68de23
Catch TypeError instead of KeyError.
Fixes #997.
2019-02-04 21:06:19 +02:00
Ludovic Rivallain 483cadced7 traceback can be disabled for all log levels (#1000) 2019-02-04 17:06:31 +06:00
Clemens Wolff ec05b6eb50 Fix breaking change in Azure ServiceBus SDK (#998)
See 97b71f2670/azure-servicebus (migration-from-0211-to-0500)
2019-02-04 09:41:09 +02:00
Omer Katz b4f239cc10 Ignore flake8 errors for now due to type annotations bug in pyflakes. 2019-02-04 09:03:43 +02:00
Omer Katz 43930bbcae Happify lint. 2019-02-04 08:45:20 +02:00
Lars Rinn 024cbdc4fb import collections.ABCs from correct module (#992)
* import collectionss.ABCs from correct model to silence deprecation warnings

* fix imports for legacy python
2019-01-18 00:08:28 +02:00
BR 2dff21c42b Fixed kombu.me links (#988) 2019-01-13 22:26:57 +02:00
Asif Saif Uddin 4a4f1b9106
required py-amqp 2.4 as minimum version 2019-01-13 20:48:46 +06:00
Omer Katz 627964c804
Added optional support for zstd compression. (#985) 2019-01-13 09:44:44 +02:00
Omer Katz 8c88d9276a Added support for lzma compression (#984)
* Added support for lzma compression.

* Ignore branch.
2019-01-10 15:00:37 +06:00
Omer Katz 9dd7e7ae1f Bump PyPy to 6.0. Add PyPy3 to the build process. (#986) 2019-01-10 09:48:06 +06:00
Omer Katz 3ee3e2f48c revert. 2019-01-09 23:20:36 +02:00
Omer Katz 57a67ffa11 Move to xenial. 2019-01-09 23:01:30 +02:00
Omer Katz c86fc5c297 Move to Python 3.7. 2019-01-09 22:58:55 +02:00
Omer Katz 08771f7b05 Run flake8 with two jobs. 2019-01-09 22:56:12 +02:00
Ilya Konstantinov 5ee7c1ddcc SQS: fix trimming .fifo from queue name (#982)
* SQS: fix trimming .fifo from queue name

* add test

* fix lint error
2019-01-09 20:36:37 +02:00
Omer Katz 93a05f7261
Added optional support for brotli compression (#983)
* Added optional support for brotli compression.

* Ignore import error for coverage purposes.
2019-01-09 19:05:02 +02:00
Omer Katz fa0cb19d27 Update reference. 2019-01-09 17:28:36 +02:00
Omer Katz b37e035c39 Fixed sphinx warnings. 2019-01-09 16:51:28 +02:00
Omer Katz 05878d6790 Run sphinx checks with two jobs. 2019-01-09 16:47:52 +02:00
Omer Katz 293a1a0df3 Added missing comma for tuples with one element in __all__. 2019-01-09 16:47:11 +02:00
Omer Katz 77b1362b39 Happify lint. 2019-01-09 16:26:31 +02:00
Omer Katz c9e0ef5834 Avoid using mutable default argument. 2019-01-09 14:39:25 +02:00
Omer Katz b6510e0c36 Fixed typo. 2019-01-09 13:15:49 +02:00
Omer Katz a28e7a27fb Remove unused private method. 2019-01-08 17:25:03 +02:00
Omer Katz 41f14aa503 Added documentation to arguments. 2019-01-08 17:23:04 +02:00
Tzach Yarimi d78a8fc7a7 fixing an infinite loop when entity.channel is replaced by revive() on an connection drop (#779) 2019-01-08 20:42:59 +06:00
Omer Katz 85d0ebe179 Mention 4.2.2-post1 in changelog.
Fixed formatting as well.
2019-01-08 11:50:58 +02:00
Omer Katz 3e3886b245
Avoid raising StopIterator in generators. (#972)
According to [PEP-479](https://www.python.org/dev/peps/pep-0479/) StopIteration should not be used any more to indicate the termination of a generator.
Starting from Python 3.7 this behaviour is always enforced and a RuntimeError is raised instead.
We now return instead of raising StopIteration.
2019-01-03 22:02:32 +02:00
Omer Katz eded86487e Bump version: 4.2.1 → 4.2.2 2019-01-03 17:47:37 +02:00
Omer Katz f8a1230c13 Update Changelog. 2019-01-03 17:47:37 +02:00
Matus Valo 80584c8c9b Fix failing unittests of pyamqp transport. (#978)
Failing unittests were caused by commit f16df2a17630c9804a6da614443c5e862271823f in pyamqp.
2019-01-03 17:39:42 +02:00
Li Ming e4dc1688a2 fix a typo in Queue's docstring (#971) 2018-12-27 22:56:56 +06:00
vikvns da7b77e591 Corrected typo in exchange name. (#969) 2018-12-20 14:45:40 +02:00
Omer Katz 1ad6cbd35c
Happify lint. 2018-12-20 14:42:19 +02:00
Omer Katz ddd07a2923
Happify lint. 2018-12-20 14:39:37 +02:00
Omer Katz 98825c8142
Happify lint. 2018-12-20 14:36:38 +02:00
Hunter Fernandes c48d201ee2 Allow setting boto3.sqs.create_queue Attributes via transport_options (#957)
* Allow setting boto3.sqs.create_queue Attributes via transport_options

* Add docs for sqs transport_options `sqs-creation-attributes`
2018-12-09 18:53:12 +02:00