Commit graph

25 commits

Author SHA1 Message Date
adam
ab1802eb2c py-amqp: updated to 2.5.2
2.5.2
- Ignore all methods except Close and Close-OK when channel/connection is closing
- Fix faulty ssl sni intiation parameters
- Undeprecate auto_delete flag for exchanges.
- Improved tests and testing environments
2019-11-13 20:37:39 +00:00
adam
e17e2328e3 py-amqp: updated to 2.5.1
2.5.1
- Ignore all methods except Close and Close-OK when channel/connection is closing
- Fix faulty ssl sni intiation parameters
- Undeprecate auto_delete flag for exchanges.
- Improved tests and testing environments
2019-09-02 09:55:50 +00:00
nia
6d4e298675 Use https for readthedocs.io. 2019-07-09 11:35:14 +00:00
adam
fcf0d015dd py-amqp: updated to 2.5.0
2.5.0
- Drop Python 3.4
- Add new platform
- Numerious bug fixes
2019-06-21 11:21:11 +00:00
adam
a867725fac py-amqp: updated to 2.4.2
2.4.2:
- Added support for the Cygwin platform
- Correct offset incrementation when parsing bitmaps.
- Consequent bitmaps are now parsed correctly.
  Previously the bit counter was reset with every bit.
  We now reset it once per 8 bits, when we consume the next byte.
2019-03-06 18:42:16 +00:00
adam
e5204d3aab py-amqp: updated to 2.4.1
2.4.1:
- To avoid breaking the API basic_consume() now returns the consumer tag
  instead of a tuple when nowait is True.
- Fix crash in basic_publish when broker does not support connection.blocked
  capability.
- read_frame() is now Python 3 compatible for large payloads.
- Support float read_timeout/write_timeout.
- Always treat SSLError timeouts as socket timeouts.
- Treat EWOULDBLOCK as timeout.
  This fixes a regression on Windows from 2.4.0.
2019-02-13 16:20:01 +00:00
adam
0fc9f5e9a1 py-amqp: updated to 2.4.0
2.4.0
- Fix inconsistent frame_handler return value.
  The function returned by frame_handler is meant to return True
  once the complete message is received and the callback is called,
  False otherwise.
  This fixes the return value for messages with a body split across
  multiple frames, and heartbeat frames.
- Don't default content_encoding to utf-8 for bytes.
  This is not an acceptable default as the content may not be
  valid utf-8, and even if it is, the producer likely does not
  expect the message to be decoded by the consumer.
- Fix encoding of messages with multibyte characters.
  Body length was previously calculated using string length,
  which may be less than the length of the encoded body when
  it contains multibyte sequences. This caused the body of
  the frame to be truncated.
- Respect content_encoding when encoding messages.
  Previously the content_encoding was ignored and messages
  were always encoded as utf-8. This caused messages to be
  incorrectly decoded if content_encoding is properly respected
  when decoding.
- Fix AMQP protocol header for AMQP 0-9-1.
- Add support for Python 3.7.
  Change direct SSLSocket instantiation with wrap_socket.
  Added Python 3.7 to CI.
- Add support for field type "x" (byte array).
- If there is an exception raised on Connection.connect or Connection.close,
  ensure that the underlying transport socket is closed.
- TCP_USER_TIMEOUT has to be excluded from KNOWN_TCP_OPTS in BSD platforms.
- Handle negative acknowledgments.
- Added integration tests.
- Fix basic_consume() with no consumer_tag provided.
- Improved empty AMQPError string representation.
- Drain events before publish.
- Don't revive channel when connection is closing.
2019-01-15 11:42:59 +00:00
adam
c72e1c4b77 py-amqp: updated to 2.3.2
2.3.1
- Fix a regression that occurs when running amqp under Python 2.7.

2.3.2
- Fix a regression that occurs when running amqp under Python 2.7 on OSX.
  TCP_USER_TIMEOUT is not available when running on OSX.
  We now remove it from the set of known TCP options.
2018-06-18 07:09:37 +00:00
wiz
ef141a6b79 Reset maintainer 2017-09-16 19:26:41 +00:00
adam
d7891e0179 py-amqp: update to 2.2.2
Changes 2.2.2:
- Sending empty messages no longer hangs. Instead an empty message is sent correctly.
- Fixed compatibility issues in UTF-8 encoding behavior between Py2/Py3
2017-09-15 11:28:22 +00:00
adam
6485a31c8f 2.2.1:
- Fix implicit conversion from bytes to string on the connection object.
  This issue has caused Celery to crash on connection to RabbitMQ.
2017-07-14 07:52:39 +00:00
adam
bb38515a78 2.2.0:
- Fix random delays in task execution.
- Calling ``conn.collect()`` multiple times will no longer raise an ``AttributeError`` when no channels exist.
- Fix compatibility code for Python 2.7.6.
- When running in Windows, py-amqp will no longer use the unsupported TCP option TCP_MAXSEG.
- Added support for setting the SNI hostname header.
- Authentication mechanisms were refactored to be more modular. GSSAPI authentication is now supported.
- Do not reconnect on collect.
2017-07-13 14:15:20 +00:00
adam
b7a0d37032 Quickly added missing DEPENDS 2017-04-09 17:07:09 +00:00
adam
7b19860819 Changes 2.1.4:
Removes byte string comparison warnings when running under python -b.
Fix contributed by Jon Dufresne.
Linux version parsing broke when the version included a ‘+’ character (Issue 119).
Now sets default TCP settings for platforms that support them (e.g. Linux).
2017-04-09 16:49:23 +00:00
wiz
57199de455 Switch to MASTER_SITES_PYPI. 2016-06-08 17:43:20 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
rodent
de6827ee00 1.4.6
=====

- Now keeps buffer when socket times out.

- Adds ``Connection.Transport`` attribute that can be used to specify
  a different transport implementation.
2014-11-09 20:18:33 +00:00
rodent
c8957f7fd6 Update to 1.4.5. From Changelog:
- Can now deserialize more AMQP types.

    Now handles types ``short string``, ``short short int``,
    ``short short unsigned int``, ``short int``,  ``short unsigned int``,
    ``long unsigned int``,  ``long long int``, ``long long unsigned int``
    and ``float`` which for some reason was missing, even in the original
    amqplib module.

- SSL: Workaround for Python SSL bug.

    A bug in the python socket library causes ``ssl.read/write()``
    on a closed socket to raise :exc:`AttributeError` instead of
    :exc:`IOError`.

    Fix contributed by Craig Jellick.

- ``Transport.__del_`` now handles errors occurring at late interpreter
  shutdown (Issue #36).
2014-04-17 01:53:07 +00:00
rodent
8445fc859a Update to latest release, 1.4.4. Use pypi instead of github for
MASTER_SITES. Simplify Makefile based on those changes. From Changelog:

- SSL transport accidentally disconnected after read timeout.
2014-04-07 02:09:37 +00:00
rodent
36a38a676e 1.4.3
=====

- Fixed bug where more data was requested from the socket
  than was actually needed.
2014-02-16 21:39:14 +00:00
rodent
59a18c9927 Use PKGBASE in DIST_SUBDIR instead of PKGNAME. Otherwise, we're going to
have a load of py-amqp directories rather than just throwing all the
distfiles in one. Hindsight 20/20.
2014-02-02 23:32:05 +00:00
rodent
322e55ced1 Remove PYPKGPREFIX from DIST_SUBDIR. 2014-02-02 14:07:49 +00:00
rodent
a356c8ac42 Update to latest relese, 1.4.2. Use DIST_SUBDIR, since this is a github
distfile. From Changelog:

1.4.2
=====

- Heartbeat negotiation would use heartbeat value from server even
  if heartbeat disabled (Issue #31).

1.4.1
=====

- Fixed error occurring when heartbeats disabled.

1.4.0
=====

- Heartbeat implementation improved (Issue #6).

    The new heartbeat behavior is the same approach as taken by the
    RabbitMQ java library.

    This also means that clients should preferably call the ``heartbeat_tick``
    method more frequently (like every second) instead of using the old
    ``rate`` argument (which is now ignored).

    - Heartbeat interval is negotiated with the server.
    - Some delay is allowed if the heartbeat is late.
    - Monotonic time is used to keep track of the heartbeat
      instead of relying on the caller to call the checking function
      at the right time.
- NoneType is now supported in tables and arrays.
- SSLTransport: Now handles ``ENOENT``.
2014-02-02 13:51:16 +00:00
wiz
18a46154bf Do not set FETCH_USING, should not be set in a package Makefile. 2014-01-27 18:41:11 +00:00
rodent
eab48ade38 Import py27-amqp-1.3.3 as net/py-amqp.
This is a fork of amqplib which was originally written by Barry Pederson. It is
maintained by the Celery project, and used by kombu as a pure python alternative
when librabbitmq is not available.

This library should be API compatible with librabbitmq.
2013-12-31 14:02:07 +00:00