pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-amqp



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri May  7 17:58:09 UTC 2021

Modified Files:
        pkgsrc/net/py-amqp: Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/net/py-amqp/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-amqp/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/py-amqp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-amqp/Makefile
diff -u pkgsrc/net/py-amqp/Makefile:1.25 pkgsrc/net/py-amqp/Makefile:1.26
--- pkgsrc/net/py-amqp/Makefile:1.25    Sun May 17 19:22:20 2020
+++ pkgsrc/net/py-amqp/Makefile Fri May  7 17:58:09 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2020/05/17 19:22:20 adam Exp $
+# $NetBSD: Makefile,v 1.26 2021/05/07 17:58:09 adam Exp $
 
-DISTNAME=      amqp-2.5.2
+DISTNAME=      amqp-5.0.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/amqp/}
@@ -10,15 +10,15 @@ HOMEPAGE=   https://amqp.readthedocs.io/
 COMMENT=       Low-level AMQP client for Python
 LICENSE=       gnu-lgpl-v2.1
 
-DEPENDS+=      ${PYPKGPREFIX}-vine>=1.1.3:../../devel/py-vine
+DEPENDS+=      ${PYPKGPREFIX}-vine>=5.0.0:../../devel/py-vine
 TEST_DEPENDS+= ${PYPKGPREFIX}-case>=1.3.1:../../devel/py-case
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-rerunfailures>=6.0:../../devel/py-test-rerunfailures
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.1:../../devel/py-test-sugar
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-amqp/PLIST
diff -u pkgsrc/net/py-amqp/PLIST:1.3 pkgsrc/net/py-amqp/PLIST:1.4
--- pkgsrc/net/py-amqp/PLIST:1.3        Thu Jul 13 14:15:20 2017
+++ pkgsrc/net/py-amqp/PLIST    Fri May  7 17:58:09 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/07/13 14:15:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/05/07 17:58:09 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -23,9 +23,6 @@ ${PYSITELIB}/amqp/connection.pyo
 ${PYSITELIB}/amqp/exceptions.py
 ${PYSITELIB}/amqp/exceptions.pyc
 ${PYSITELIB}/amqp/exceptions.pyo
-${PYSITELIB}/amqp/five.py
-${PYSITELIB}/amqp/five.pyc
-${PYSITELIB}/amqp/five.pyo
 ${PYSITELIB}/amqp/method_framing.py
 ${PYSITELIB}/amqp/method_framing.pyc
 ${PYSITELIB}/amqp/method_framing.pyo

Index: pkgsrc/net/py-amqp/distinfo
diff -u pkgsrc/net/py-amqp/distinfo:1.20 pkgsrc/net/py-amqp/distinfo:1.21
--- pkgsrc/net/py-amqp/distinfo:1.20    Wed Nov 13 20:37:39 2019
+++ pkgsrc/net/py-amqp/distinfo Fri May  7 17:58:09 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2019/11/13 20:37:39 adam Exp $
+$NetBSD: distinfo,v 1.21 2021/05/07 17:58:09 adam Exp $
 
-SHA1 (amqp-2.5.2.tar.gz) = 1aa2b2ab47fc700f901ec3f163e3c4a282fc5367
-RMD160 (amqp-2.5.2.tar.gz) = 8e1aa72f52aaa67fec9b4f107f4ba2c8336c46b8
-SHA512 (amqp-2.5.2.tar.gz) = c540ce39c06bb947e55b4afc56567d5fc5a82b65a2f7e2cc1f769f96da74f788d14e1e9c02852a259a4980c36a4524f07166686c0357f96219fd9f8612a6159a
-Size (amqp-2.5.2.tar.gz) = 117788 bytes
+SHA1 (amqp-5.0.6.tar.gz) = 5553923bb5fc6dc20d3e54006c35e380c41bab92
+RMD160 (amqp-5.0.6.tar.gz) = f8fe580923ebef102ba4cc9d4ea68bd6bb221c12
+SHA512 (amqp-5.0.6.tar.gz) = bf15fad413bedb2f57dfaa03986f4abfc8fb169d5e324d5741b94a1e3776f2590e7686774c69dfdda848b484dbc1e6d0fa78a4a3125cf08ab20eaf7192885252
+Size (amqp-5.0.6.tar.gz) = 126856 bytes



Home | Main Index | Thread Index | Old Index