summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Only arrays accept short strings.hypothesisOmer Katz2019-03-133-12/+35
|
* Dump small strings as s type instead of S type.Omer Katz2019-03-131-1/+5
|
* Allow the CI environment variable to be passed to pytest in tox.Omer Katz2019-03-131-0/+1
|
* Switch xfail and settings location?Omer Katz2019-03-131-2/+2
|
* Suppress too slow health check on CI.Omer Katz2019-03-132-5/+12
|
* Merge branch 'master' into hypothesisOmer Katz2019-03-135-28/+115
|\
| * 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.
* | Cache .hypothesis dir for CI.Omer Katz2019-03-131-1/+13
| |
* | Ignore those failures on Python 2 for now.Omer Katz2019-03-121-0/+5
| |
* | Ignore .hypothesis folder.Omer Katz2019-03-121-0/+1
| |
* | Remove .hypotesis from diff.Omer Katz2019-03-12937-0/+0
| |
* | Fix bugs and serialize integers correctly. Added hypothesis test for tables.Omer Katz2019-03-09939-41/+79
| |
* | Added proper error handling for writing too large or too small values.Omer Katz2019-03-091-2/+18
| |
* | Datetimes in AMQP format lose microsecond percision.Omer Katz2019-03-091-2/+7
| |
* | Added hypothesis.Omer Katz2019-03-092-11/+19
|/
* 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