summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* According to Python's documentation, if we don't want timeouts we must set ↵fix-timeoutsOmer Katz2019-06-211-4/+5
| | | | | | | | the socket's timeout to None See https://docs.python.org/3/library/socket.html#socket.socket.settimeout. This commit was triggered by https://github.com/celery/celery/issues/4876#issuecomment-502922066. It could fix the issue as well.
* Close channel in integration testsMatus Valo2019-06-141-0/+1
|
* Read also rabbitmq host from env. variable in integration testsMatus Valo2019-06-141-1/+4
|
* Ignore all methods except Close and Close-OK when channel/connection is ↵Matus Valo2019-06-136-3/+161
| | | | closing (#280)
* Pin sphinx_celery to 1.4.6.Omer Katz2019-06-131-1/+1
|
* Drop 3.4 from Windows build.Omer Katz2019-06-101-6/+0
|
* Pin tox-docker to 1.2.1 for now.Omer Katz2019-06-101-1/+1
| | | | | | | | | | | There's a regression in the healthcheck which verfies that the ports the container declares are open. I have filed tox-dev/tox-docker#39 because of that. The integration suite should pass. Fixes #278.
* Mark tox-docker as required.Omer Katz2019-06-101-0/+1
|
* Ensure all dependencies are upgraded so that the virtualenvs will have a ↵Omer Katz2019-06-101-2/+1
| | | | newer pip version.
* version 2.5.02.5.0Asif Saif Uddin2019-05-302-2/+13
|
* drop py34Asif Saif Uddin2019-05-231-3/+2
|
* change test stage orderAsif Saif Uddin2019-05-231-1/+1
|
* dropped py34Asif Saif Uddin2019-05-231-6/+0
|
* fixed vine versionAsif Saif Uddin2019-05-151-1/+1
|
* 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)