14
0
forked from pool/python-amqp

Accepting request 868434 from devel:languages:python

- update to 5.0.5:
  - 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/request/show/868434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-amqp?expand=0&rev=36
This commit is contained in:
2021-02-04 19:23:00 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcd5b3baeeb7fc19b3486ff6d10543099d40ae1f5c9196eae695d1cde1b2f784
size 120518

3
amqp-5.0.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:affdd263d8b8eb3c98170b78bf83867cdb6a14901d586e00ddb65bfe2f0c4e60
size 122289

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Feb 1 17:40:55 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 5.0.5:
- 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
-------------------------------------------------------------------
Sun Dec 20 09:46:14 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-amqp
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-amqp
Version: 5.0.2
Version: 5.0.5
Release: 0
Summary: Low-level AMQP client for Python (fork of amqplib)
License: LGPL-2.1-or-later