Commit Graph

2997 Commits

Author SHA1 Message Date
Mads Jensen bc060c7f9c Fixed broken link to AMQP documentation (#743) 2017-05-30 16:23:37 +06:00
Amin Ghadersohi be79b3d4cd Re-Adding support for sqlalchemy as it is needed by Apache project Airflow (#687)
* Re-Adding support for sqlalchemy as it is needed by Apache project Airflow

* Re-Adding support for sqlalchemy as it is needed by Apache project Airflow
2017-05-17 14:17:47 +06:00
Anthony Lukach 25a9e76f3a Prevent SQS from defaulting to localhost hostname (#733)
* Prevent SQS from defaulting to localhost hostname

* Ensure cloned connection maintains NoneType hostname
2017-05-05 21:40:57 +06:00
George Psarakis da047e9c3b Parse password from Redis transport URL (#710) 2017-04-27 10:47:37 +03:00
Robert Kopaczewski 7152705d36 Fix librabbitmq queue handling (#726) 2017-04-27 10:46:04 +03:00
georgepsarakis d27abc837d Use pydocstyle version 1.1.1 for now 2017-04-26 21:45:17 +03:00
georgepsarakis 816e3dcf34 Use ensure_connection to allow broker failover 2017-04-26 21:45:17 +03:00
George Psarakis 259ac2e2bf Add missing function import 2017-04-26 21:44:34 +03:00
George Psarakis a875363730 Test cases for generate_oid 2017-04-26 21:44:34 +03:00
Bill Nottingham 4e28c0b839 Use uuid5() as an option in generate_oid if uuid3 fails.
uuid3() uses md5, which is disallowed on systems running in FIPS mode,
and will cause a traceback if called.
(http://csrc.nist.gov/groups/STM/cavp/validation.html)
2017-04-26 21:44:34 +03:00
c-nichols 075cd73206 Address shortcomings with timeout parameter described in issue #720 (#729) 2017-04-26 12:03:02 +06:00
Dima Kurguzov 221685618f Refactor chroot normalization 2017-04-21 19:29:21 +03:00
Dima Kurguzov 5f35ef996c Fix last chroot character trimming 2017-04-21 19:29:21 +03:00
eavictor 2e528de742 Fix Closed connection and with statement blows up (#721)
https://github.com/celery/kombu/issues/690
Add self.channel.connection check to prevent AttributeError.
2017-04-18 14:40:48 +06:00
Jon Dufresne b734d7a8f5 Fix invalid escape sequence (#717)
Fixes the following warning when running tests on Python 3.6:

DeprecationWarning: invalid escape sequence \.

See:

- https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
- https://bugs.python.org/issue27364
2017-04-17 10:27:15 +06:00
Jon Dufresne b39184c11a Remove deprecated use of StopIteration in generators (#718)
Removes warning during tests:

DeprecationWarning: generator '...' raised StopIteration

For additional information, see:

- https://docs.python.org/3/whatsnew/3.5.html#pep-479-change-stopiteration-handling-inside-generators
- https://www.python.org/dev/peps/pep-0479/
2017-04-17 10:26:21 +06:00
Jon Dufresne ba82a72c21 Add Python 3.6 to CI testing (#716)
Enabled pip cache for Travis CI
2017-04-17 10:24:52 +06:00
Jon Dufresne f4fda3858f Remove print from tests; looks like it was left in from debugging (#719) 2017-04-17 10:24:00 +06:00
georgepsarakis 90149e4c5c PEP8 fix 2017-04-16 11:28:24 +03:00
georgepsarakis b701805cfc Re-enable unit tests and add case for endpoint URL property 2017-04-16 11:28:24 +03:00
georgepsarakis cdbfe9a64e Allow endpoint URL to be specified in the boto3 connection
- Minor fixes after re-enabling unit tests
2017-04-16 11:28:24 +03:00
Anthony Lukach 6c3bb07e19 Bugfix: Support Python 3.4, decode from base64 when converting messag… (#714)
* Bugfix: Support Python 3.4, decode from base64 when converting message to Python

* Use str_to_bytes
2017-04-14 23:43:06 +06:00
Mischa Spiegelmock 129a9e4ed0 Switching to boto3 only (#693)
* Switch Boto2 to Boto3 for SQS messaging

* Fixed region support

* Add SQS FIFO queue support

* Add sensible defaults for message attributes

* Asynchronous support, plus boto3 for region endpoint lookups

* Clean up imports

* Fix Python 2 support

* Fix receive_message tests

* Reformat docstring

* boto3 import changes for CI

* skip tests if boto3 not installed

* skip tests if boto3 not installed

* flake8

* noboto

* ditching boto2. got queue URL fetching, async HTTP request generation and signing working.

* request signing working kinda

* async parsing of SQS message response more or less working

* botocore sqs dep

* ripping out more old boto2 stuff

* removing tests that are no longer valid with boto3/SQS

* fix boto3 dep, min version and no botocore

* no boto2 for test

* cleaning up some SQS tests. fixing header parsing of response to msg

* fixing some sqs tests

* removing response-parsing tests that are no longer necessary as we're using the botocore response parsing machinery instead of implementing SAX parsing in kombu.

* fixing more SQS tests

* wants a region

* trying to fix py2 parsing of sqs message

* lint

* py2/py2 message header parsing stupidness

* forgot

* python 2 sux

* flake8

* Import boto3 from the right place

* Changes

* Update encode fuction

* Fix lint

* remove some unused things

* removing unused stuff

* ugh

* ugh

* ugh

* landscape ignoring

* shut up, landscape
2017-04-14 11:22:18 +06:00
Dima Kurguzov bf820b20b0 Fix byte string for kazoo.Queue in Python 3 (#713)
* Fix byte string for kazoo.Queue in Python 3

* Add test for message conversion to bytes in ZooKeeper channel
2017-04-12 11:24:04 +06:00
Michael Montgomery 35270dd970 Fixing sqs drain_events issues (#698) 2017-04-01 22:23:38 +06:00
Matias Insaurralde 3bc3b3d3b6 Add syntax highlighting 2017-03-25 19:13:24 +02:00
Christopher Hoskin 8ef988a0e0 Remove non-Free ICC Profile from kombu.jpg and kombusmall.jpg (#696) 2017-02-21 23:52:39 +06:00
Felix Yan 2940a4b183 Don't modify dict size while iterating over it (#676)
This fixes #675.
2017-02-21 23:52:18 +06:00
Stephen Milner 655d6cdd92 etcd: Replace EtcdError with EtcdException (#683) 2017-01-18 14:06:58 +06:00
Dmitry Dygalo 69989864a4 Fix example in docstring (#679) 2017-01-04 21:41:31 +06:00
Jerry Seutter e2322998fc Fix a broken test in python 3 (#674) 2016-12-24 15:34:28 +06:00
Ask Solem 4a690cef93 Bump version: 4.0.1 → 4.0.2 2016-12-15 15:33:22 -08:00
Ask Solem 9fbda5bc58 Updates Changelog 2016-12-15 15:33:18 -08:00
Ask Solem 34eb5c714b Now depends on amqp 2.1.4 2016-12-15 15:30:53 -08:00
Ask Solem 1464a2afbe Redis: Fixes priority tests 2016-12-08 17:06:12 -08:00
Ask Solem 9c1044ef3a Redis: Do not reverse message priority 2016-12-08 17:04:52 -08:00
Ask Solem bb03f09c10 Bump version: 4.0.0 → 4.0.1 2016-12-07 17:53:23 -08:00
Ask Solem c6c9f4a1e3 Updates .bumpversion.cfg 2016-12-07 17:53:21 -08:00
Ask Solem 2783d7f4b4 Now depends on amqp 2.1.3 2016-12-07 17:52:28 -08:00
Ask Solem ba84e514f3 flakes 2016-12-07 17:47:48 -08:00
Ask Solem 75387aa2cc Updates Changelog 2016-12-07 17:33:48 -08:00
Ask Solem 6ec5721b09 Producer: Fixes ever growing list of entities to declare. Closes #651 2016-12-07 16:01:29 -08:00
Ask Solem 5a028a6906 Fixes failing test case 2016-12-07 15:58:56 -08:00
Ask Solem c95163cab2 Fixes unreachable code. Closes #655 2016-12-07 15:36:47 -08:00
Ask Solem 474a4be406 Qpid: Use monotonic time for drain_events timeout 2016-12-07 15:29:23 -08:00
Ask Solem 66325920c7 Redis: receive: Handle missing connection. Closes #659 2016-12-07 15:25:16 -08:00
Ask Solem e707bd24ee MongoDB: Do not use basestring for Py3 compat. Closes #661 2016-12-07 15:18:23 -08:00
Ask Solem 8a7ea091bf Consumer: __exit__ should not cancel if connection error (Closes #670) 2016-12-07 14:28:16 -08:00
Ask Solem e03cbbe0d8 Fixes Qpid tests 2016-12-07 14:25:49 -08:00
Ask Solem 4fd70fbda8 Fixes mongodb tests 2016-12-07 14:24:53 -08:00