Subject: CVS commit: pkgsrc/net/py-amqp
From: Adam Ciarcinski
Date: 2021-05-07 19:58:09
Message id: 20210507175809.B23D6FA95@cvs.NetBSD.org

Log Message:
py-amqp: updated to 5.0.6

5.0.6
=====
- 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
- Pass long_description to setup()
- Fix for tox-docker 2.0
- Moved to GitHub actions CI

5.0.5
=====
-  Removed mistakenly introduced code which was causing import errors

5.0.4
=====
-  Add missing load_default_certs() call to fix a regression in v5.0.3 release.

5.0.3
=====
- 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 and over.

5.0.2
=====
- Whhels are no longer universal.
- Added debug representation to Connection and *Transport classes
- Reintroduce ca_certs and ciphers parameters of SSLTransport._wrap_socket_sni()
- Fix infinite wait when using confirm_publish

5.0.1
=====
- Require vine 5.0.0.

5.0.0
=====
- Stop to use deprecated method ssl.wrap_socket.

5.0.0b1
=======
- Dropped Python 3.5 support.
- Removed additional compatibility code.

5.0.0a1
=======
- Dropped Python 2.x support.
- Dropped Python 3.4 support.
- Depend on :pypi:`vine` 5.0.0a1.
Code Cleanups & Improvements:

2.6.1
=====
- 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`.

2.6.0
=====
- Implement speedups in cython
- Updated some tests & code improvements
- Separate logger for Connection.heartbeat_tick method
- Cython generic content
- Improve documentation a_global parameter of basic_qos() method.
- Fix saving partial read buffer on windows during socket timeout.
- 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

Files:
RevisionActionfile
1.26modifypkgsrc/net/py-amqp/Makefile
1.4modifypkgsrc/net/py-amqp/PLIST
1.21modifypkgsrc/net/py-amqp/distinfo