Commit Graph

49 Commits

Author SHA1 Message Date
Thomas Achtemichuk 75695205f6 Rename `async` keyword to `asynchronous` (#839)
* Rename `async` keyword to `asynchronous`

* Fixes #742
* Resolves "DeprecationWarning: 'async' and 'await' will become reserved
  keywords in Python 3.7"

* Address PR feedback

* Update appveyor config

* Rename docs and tests
2018-03-19 19:28:43 +02: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
Carlos Edo 32997b17be fixed rpc example (#650) 2016-11-10 23:58:50 +06:00
kindule cb6647e516 memory transport example (#627) 2016-09-24 23:45:49 +06:00
Pavlo Kapyshin c0746dafc0 Fix typo in example 2016-08-01 23:52:18 +03:00
Ask Solem 85c191a48a Reorganizes kombu.utils.__init__ package 2016-07-16 13:34:08 -07:00
Ask Solem d823c628ff flakes 2016-06-15 17:48:41 -07:00
xiaoshaaming 78cda4c410 spelling mistake 2016-05-10 11:13:56 +08:00
Ask Solem b374177473 Use unicode_litereals everywhere and updates flakeplus target to --2.7 2016-04-06 13:14:05 -07:00
Ask Solem a8569f3a82 flakes 2016-03-21 15:47:07 -07:00
Ask Solem 69ef48dd41 flakes 2016-03-08 17:59:43 -08:00
Ask Solem f8d2a45175 Adds ConsumerProducerMixin (Issue #530) 2015-10-21 18:17:50 -07:00
Ask Solem db9e2f563a Implement kombu version of the RabbitMQ rpc-tut-6 example. Closes #530 2015-10-21 18:09:30 -07:00
Ask Solem 4ef2f10e15 Single item tuples no longer require whitespace 2015-07-13 12:22:16 -07:00
Ask Solem 86274e967d Fixes flakes after flake8 upgrade 2014-05-27 14:41:20 +01:00
Ask Solem 55197ee341 master now depends on Python 2.7 2014-05-19 22:27:36 +01:00
Ask Solem f87256ed8e Adds async_consume example 2014-02-03 15:40:40 +00:00
Ask Solem 7547c50610 Example should not use exchange bindings. Closes #286 2013-12-11 12:50:40 +00:00
Ask Solem 54d78c6b33 flakes 2013-09-12 17:38:45 +01:00
Ask Solem 554bddd2af Py3 fixes 2013-09-10 17:26:12 +01:00
Ask Solem 76470da7ce Fixes simple task queue example. Closes #230 2013-05-01 18:17:51 +01:00
Ask Solem b0565f7509 python 3 fixes 2013-02-12 16:37:01 +00:00
Ask Solem d84c1fca5b Use except as exc 2013-02-12 15:06:49 +00:00
Ask Solem 67d2fa4744 Merge branch '2.5'
Conflicts:
	pavement.py
2013-02-07 15:38:15 +00:00
Ask Solem dd0fe3a3a6 More pep8ify 2013-01-17 13:50:01 +00:00
HVN 6f67983182 merge helloworld into examples 2012-12-11 11:35:02 +07:00
Ask Solem f68f8ac8c0 Merge branch 'master' into 3.0
Conflicts:
	kombu/abstract.py
	kombu/clocks.py
	kombu/messaging.py
	kombu/pidbox.py
	kombu/pools.py
	kombu/tests/mocks.py
	kombu/tests/test_common.py
	kombu/tests/test_messaging.py
	kombu/tests/test_serialization.py
	kombu/tests/test_utils.py
	kombu/tests/transport/test_redis.py
	kombu/tests/utilities/test_encoding.py
	kombu/transport/pika.py
	kombu/transport/zmq.py
	kombu/transport/zookeeper.py
	kombu/utils/__init__.py
	kombu/utils/encoding.py
	kombu/utils/finalize.py
	pavement.py
	requirements/default.txt
2012-11-27 15:48:42 +00:00
Ask Solem f42e5597e1 Revert 7f9b38f... [kombu3] No longer supports Python 2.5 2012-11-13 13:44:41 +00:00
Ask Solem 7f9b38ff8b [kombu3] No longer supports Python 2.5 2012-11-08 20:20:41 +00:00
Ask Solem 02262aab38 Don't use LogMixin. Closes #169 2012-11-02 14:34:46 +00:00
Ask Solem 7b5551f179 Fixes typo in simple_task_queue example 2012-10-12 15:34:28 +01:00
Ask Solem 9960aed306 examples/ cosmetics 2012-09-21 14:18:37 +01:00
rumyana neykova bf61bd556c change unbind to support bindings parameters. 2012-09-20 19:46:44 +01:00
Rumyana Neykova 6f09910527 Modify complete_send/receive examples to use exchange to exchange binding 2012-08-23 11:22:37 +01:00
Ask Solem fa816f6dc9 BrokerConnection is now Connection in docs 2012-06-24 16:32:17 +01:00
Ask Solem b25657c9d2 Merge branch 'master' into 2.0-devel
Conflicts:
	AUTHORS
	examples/simple_task_queue/worker.py
	kombu/connection.py
	kombu/serialization.py
	kombu/transport/SQS.py
	kombu/utils/eventio.py
2011-10-25 22:22:02 +01:00
Stefan Eletzhofer e26976d1dd Fixes to get the simple_task_queue example running. Closes #72 2011-10-25 22:12:47 +01:00
Ask Solem c0383c88f5 PEP8ify + pyflakes 2011-09-22 17:10:13 +01:00
Ask Solem aceaa71956 Improve example code 2011-09-12 12:57:12 +01:00
Ask Solem ac1af44fba Task queue example working 2011-09-12 10:47:22 +01:00
Ask Solem 09146d0b93 Adds examples to userguide 2011-09-12 10:25:42 +01:00
Ask Solem a9ee9a16db Improve examples 2011-09-07 15:24:36 +01:00
Ask Solem 1606cd96a0 Use flake8 instead of pep8+pyflakes, and add it as a step in releaseok() 2011-04-21 18:29:51 +02:00
Ask Solem 1a37e78ac8 Examples should close connection and channel 2011-04-05 13:03:14 +02:00
Ask Solem eb7748d27b 2to3 says we should use a for loop here 2010-12-02 15:24:35 +01:00
Ask Solem 97ac8b077c Added eventlet examles: examples/simple_eventlet_receive.py simple_eventlet.send.py 2010-12-01 12:28:31 +01:00
Ask Solem b6d679fe34 Added SimpleQueue examples: examples/simple_receive.py, simple_send.py 2010-12-01 12:28:10 +01:00
Ask Solem aa5ee5c436 PEP8ifye 2010-11-30 19:58:04 +01:00
Ask Solem fe16e2b965 Added examples/ directory with demo_send and demo_receive 2010-11-24 12:31:20 +01:00