summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added RabbitMQ windows testswindows-integration_testsMatus Valo2019-04-105-3/+67
| | | | | Conflicts: appveyor.yml
* Happify lint.Omer Katz2019-04-041-1/+1
|
* Add support for AIX.Omer Katz2019-04-041-0/+7
| | | Fixes #273
* Cache pip packages.Omer Katz2019-04-031-0/+3
|
* Run Windows build with tox.Omer Katz2019-04-033-195/+23
|
* Fix windows build.Omer Katz2019-04-031-1/+1
|
* Upgrade pip on our Windows buildOmer Katz2019-04-031-1/+1
|
* Provide fix for #242, Option not supported by protocol on SunOS (#272)Thomas Merkel2019-04-021-0/+5
| | | | | | | | | | * Provide fix for #242, Option not supported by protocol on SunOS It is not possible to set TCP_MAXSEG on illumos based distributions, which includes OmniOSce, SmartOS, OpenIndiana and more. The Oracle documentation provides information that the option could be set, but this isn't true based on the illumos source code: https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/inet/tcp/tcp_opt_data.c#L93-L94 Removing this option for SunOS should be no problem, because the code would anyway set the same default value which is provided by the socket. * Fix comment.
* Update version.Omer Katz2019-03-261-2/+2
|
* Cleanups (#269)Omer Katz2019-03-254-30/+28
| | | | | | | | | | | | * Mark integration tests as flaky. * pep8. * Remove old compat code. * Add __future__ imports. * Remove outdated test.
* pep8.Omer Katz2019-03-251-0/+1
|
* Mark integration tests as flaky.Omer Katz2019-03-192-0/+4
|
* Display rabbitmq logs on failure.Omer Katz2019-03-192-0/+19
|
* Use tox-docker in integration tests (#262)Omer Katz2019-03-095-28/+113
| | | | | | * Use tox-docker in integration tests. Add more coverage. * Readd PyPy2 & PyPy3 to the integration matrix.
* Run integration tests in a seperate stage.Omer Katz2019-03-041-4/+16
|
* Bump version: 2.4.1 → 2.4.2v2.4.2Omer Katz2019-03-034-4/+4
|
* Updated the changelog.Omer Katz2019-03-031-0/+36
|
* Added pytest-travis-fold.Omer Katz2019-03-021-0/+1
|
* Speed up CI a bit by disabling pip version check.Omer Katz2019-03-022-2/+3
|
* isort.Omer Katz2019-03-0212-23/+25
|
* The bitcount will reset only when we move to the next byte. (#260)Omer Katz2019-03-022-2/+8
| | | Add a test to verify that parsing two consecutive bitmaps does not fail.
* Adds Python 3.7 to the list of supported languages in setup.py and adds ↵Jeremiah Cooper2019-03-022-0/+10
| | | | Python 3.7 to Appveyor configuration. (#261)
* Test array inside table.Omer Katz2019-02-281-1/+8
|
* for deserialisation, correct offset for bits (#187)Allan Simon2019-02-272-1/+9
| | | | | | | | | | | | * for deserialisation, correct offset for bits it needs to be increased only at the beginning and once every 8 bits * Added a test. * Autopep8. * Verify result.
* Added RabbitMQ integration tests (#257)Matus Valo2019-02-184-31/+142
|
* Fix broken setup.py test --pytest-argsMatus Valo2019-02-151-2/+3
|
* Fix spacing from #254. (#255)Patrick Cloke2019-02-071-1/+1
|
* Added support of cygwin platform (#254)Matus Valo2019-02-071-0/+3
|
* Bump version: 2.4.0 → 2.4.1v2.4.1Omer Katz2019-02-044-4/+4
|
* Updated changelog.Omer Katz2019-02-041-0/+40
|
* Treat EWOULDBLOCK as timeout (#253)Lucian Petrut2019-02-042-0/+22
| | | | | | | | | py-amqp 2.4.0 caused a regression on Windows. Reading from a non-blocking socket having the timeout set to 0 might raise a WSAEWOULDBLOCK socket error instead of a timeout, which we're not properly handling. This change will make sure that we're just handling this as a timeout.
* Always treat SSLError timeouts as socket timeouts (#247)Dirk Mueller2019-01-312-1/+21
| | | | | | | | | Without specifically handling this case, the socket.timeout() was not raised sometimes causing the connection to lock up. In the case we hit the errno was None, so the previous if condition did not apply. Co-Authored-By: aojeagarcia <aojeagarcia@suse.com>
* Support float read_timeout/write_timeout (#246)cadl422019-01-282-7/+19
| | | | | | | | * support float read/write timeout * test read_timeout/write_timeout settings * fix lint "line too long" issue
* Add unit test for SSLTransport _write function (#251)Antonio Ojea2019-01-271-0/+21
| | | | Reference: https://github.com/celery/py-amqp/issues/249
* read_frame python3 compatible for large payloads (#248)Antonio Ojea2019-01-262-1/+12
| | | | | | | | | | | | | | | read_frame is using str.join to concatenate the payload if the received frame is bigger than SIGNED_INT_MAX. That's fine with python2, however in python3 documentation is stated str.joinReturn a string which is the concatenation of the strings in the iterable iterable. A TypeError will be raised if there are any non-string values in iterable, including bytes objects. The separator between elements is the string providing this method. So we have to use the byte object join() method Signed-off-by: aojeagarcia <aojeagarcia@suse.com>
* Add unit test for test_wrap_socket_sni (#250)Antonio Ojea2019-01-251-0/+11
| | | Signed-off-by: aojeagarcia <aojeagarcia@suse.com>
* Fix crash in basic_publish when broker does not support connection.blocked ↵Matus Valo2019-01-173-8/+162
| | | | capability (#244)
* basic_consume() should return consumer tag instead of tuple (#240)Matus Valo2019-01-153-5/+16
|
* Parametrize product_version in integration tests (#236)Matus Valo2019-01-141-1/+2
|
* Bump PyPy to 6.0. Add PyPy3 to the build process. (#238)Matus Valo2019-01-142-2/+7
| | | | | | * Bump PyPy to 6.0. Add PyPy3 to the build process. * Add xenial dist to pypy builds in .travis.yml
* Bump version: 2.3.2 → 2.4.0v2.4.0Omer Katz2019-01-134-4/+4
|
* Update changelog.Omer Katz2019-01-131-1/+102
|
* Move delivery_info to constructor of Message. (#235)Matus Valo2019-01-104-7/+89
|
* queue, exchange and basic.get integration tests (#234)Matus Valo2019-01-042-40/+376
| | | | | | * Improve return values in doc strings * Added queue and exchange integration tests
* Use tuple instead of list.Omer Katz2019-01-011-2/+2
|
* Don't return method signature from AbstractChannel::wait() (#233)Matus Valo2018-12-314-11/+53
| | | | | | | | | | * Don't return method signature from AbstractChannel::wait() Commit f63f8fe9efbe3357741f32541ea2d7b063f7df09 added new parameter `method_sig` for wait() callback. This change breaks some parts of existing code. This commit handles this issue. * Fix basic_publish integration test
* Don't revive channel when connection is closing (#220)Matus Valo2018-12-305-4/+40
| | | | | | | | | | | | * Don't revive channel when connection is closing * When connection is closing dont raise error when Channel.Close method is received * Added unitests * Fix flake8 * Fix typo
* Improved empty AMQPError string representation (#231)Matus Valo2018-12-292-3/+26
|
* Fix basic_consume() with no consumer_tag provided (#221)Matus Valo2018-11-263-28/+171
| | | | | | | | | | | | | | | | * Use consumer tag sent by broker instead of using directly parameter value * Added more unittests of basic_consume() method * Make pep8 happy * Split integration tests to connection tests and channel tests * Added connection closed integration test * Added integration tests for basic_consume() * Fix typos
* Prevent failed checks in integration tests caused by table datatype (#216)Matus Valo2018-11-071-5/+25
|