* Added python 3.12 and drop python 3.7 (#423).
* Test vine 5.1.0 (#424).
* Set an explicit timeout on SSL handshake to prevent hangs.
* Add MessageNacked to recoverable errors.
* Send heartbeat frames more often.
- Use AF_UNSPEC for name resolution
- Add additional error handling around code where an OSError
- Bugfix: not closing socket after server disconnect
- Remove TCP_USER_TIMEOUT option for Solaris (#355)
tests that were being repeated over an
- Fix faulty ssl sni intiation parameters (#283)
- Undeprecate auto_delete flag for exchanges. (#287)
- Fix faulty ssl sni intiation parameters (#283)
- Undeprecate auto_delete flag for exchanges. (#287)
- replace set_socket_TCP_KEEPALIVE_and_TCP_USER_TIMEOUT.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=86
- Change the order in which context.check_hostname and context.verify_mode get set
in SSLTransport._wrap_socket_sni. Fixes bug introduced in 5.0.3 where setting
context.verify_mode = ssl.CERT_NONE would raise
"ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled."
Setting context.check_hostname prior to setting context.verify_mode resolves the
issue.
- Remove TCP_USER_TIMEOUT option for Solaris (#355)
- Pass long_description to setup() (#353)
- Fix for tox-docker 2.0
- Moved to GitHub actions CI (#359)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=76
- Removed mistakenly introduced code which was causing import errors
- Add missing load_default_certs() call to fix a regression in v5.0.3 release. (#350)
- Change the default value of ssl_version to None. When not set, the
proper value between ssl.PROTOCOL_TLS_CLIENT and ssl.PROTOCOL_TLS_SERVER
will be selected based on the param server_side in order to create
a TLS Context object with better defaults that fit the desired
connection side.
- Change the default value of cert_reqs to None. The default value
of ctx.verify_mode is ssl.CERT_NONE, but when ssl.PROTOCOL_TLS_CLIENT
is used, ctx.verify_mode defaults to ssl.CERT_REQUIRED.
- Fix context.check_hostname logic. Checking the hostname depends on
having support of the SNI TLS extension and being provided with a
server_hostname value. Another important thing to mention is that
enabling hostname checking automatically sets verify_mode from
ssl.CERT_NONE to ssl.CERT_REQUIRED in the stdlib ssl and it cannot
be set back to ssl.CERT_NONE as long as hostname checking is enabled.
- Refactor the SNI tests to test one thing at a time and removing some
tests that were being repeated over an
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=74
- Fix buffer overflow in frame_writer after frame_max is increased. `frame_writer`
allocates a `bytearray` on intialization with a length based on the `connection.frame_max`
value. If `connection.frame_max` is changed to a larger value, this causes an
error like `pack_into requires a buffer of at least 408736 bytes`.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=68
- Implement speedups in cython (#311)
- Updated some tests & code improvements
- Separate logger for Connection.heartbeat_tick method
- Cython generic content (#315)
- Improve documentation a_global parameter of basic_qos() method.
- Fix saving partial read buffer on windows during socket timeout. (#321)
- Fix deserialization of long string field values that are not utf-8.
- Added simple cythonization of abstract_channel.py
- Speedups of serialization.py are more restrictive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=66
- specfile:
* added dependency pytest-sugar
- update to version 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.
- changes from version 2.3.1:
* Fix a regression that occurs when running amqp under Python 2.7.
#182 mistakingly replaced a type check with unicode to string_t
which is str in Python 2.7. text_t should have been used instead.
This is now fixed and the tests have been adjusted to ensure this
never regresses again.
OBS-URL: https://build.opensuse.org/request/show/619949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=51
- update to 2.1.4:
- Removes byte string comparison warnings when running under ``python -b``.
- 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).
- Fixes compatibility with Python 2.7.5 and below (Issue #107).
- Linux: Now sets the :data:`~socket.TCP_USER_TIMEOUT` flag if available
for better failed connection detection.
- Python compatibility: Fixed compatibility when using the python ``-b`` flag.
- Frame writer: Account for overhead when calculating frame size.
- Frame writer: Account for overhead when calculating frame size.
- Datetimes in method frame arguments are now handled properly.
- Fixed compatibility with Python <= 2.7.6
- Frame_writer is no longer a generator, which should solve
a rare "generator already executing" error (Issue #103).
- SSLTransport: Fixed crash "no attribute sslopts" when ``ssl=True``
(Issue #100).
- Fixed incompatible argument spec for ``Connection.Close`` (Issue #45).
This caused the RabbitMQ server to raise an exception (INTERNAL ERROR).
- Transport: No longer implements `__del__` to make sure gc can collect
connections.
- Python 3: Installation requirements ended up being a generator
and crashed setup.py.
- Python <= 2.7.7: struct.pack arguments cannot be unicode
- Python 3.4: Fixed use of `bytes % int`.
- Connection/Transport: Fixed handling of default port.
- Adds backward compatibility layer for the 1.4 API.
- Fixes kombu 3.0/celery 3.1 compatibility (Issue #88).
- Fixed compatibility with Python 2.7.3 (Issue #85)
- Fixed bug where calling drain_events() with a timeout of 0 would actually
OBS-URL: https://build.opensuse.org/request/show/479902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=41
- Adds support for exchange_bind and exchange_unbind.
Contributed by Rumyana Neykova
- Fixed bugs in funtests and demo scripts.
Contributed by Rumyana Neykova
- Aditional changes from version 0.9.3:
- Fixed bug that could cause the consumer to crash when reading
large message payloads asynchronously.
- Serialization error messages now include the invalid value.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=2