15
0
forked from pool/python-pamqp

Accepting request 689727 from home:pgajdos

- version update to 2.1.0
  * Change raising a DeprecationWarning exception to using
    warnings.warn for deprecated AMQP methods

OBS-URL: https://build.opensuse.org/request/show/689727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pamqp?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2019-03-29 09:22:21 +00:00
committed by Git OBS Bridge
parent 7e57906675
commit ca85a5c414
4 changed files with 14 additions and 5 deletions

View File

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

3
2.1.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 29 07:27:03 UTC 2019 - pgajdos@suse.com
- version update to 2.1.0
* Change raising a DeprecationWarning exception to using
warnings.warn for deprecated AMQP methods
-------------------------------------------------------------------
Fri Sep 21 07:56:23 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pamqp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pamqp
Version: 2.0.0
Version: 2.1.0
Release: 0
Summary: A pure-python AMQP 0-9-1 frame encoder and decoder
License: BSD-3-Clause
@@ -55,6 +55,8 @@ encoding should be run through the pamqp.frame module.
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pamqp*
%check
# for python 2.7 has to 'always' be there, for python 3.7 'default' is enough
export PYTHONWARNINGS=always
# test_decode_embedded_value_long_uint_data_type https://github.com/gmr/pamqp/issues/11
%python_expand nosetests-%{$python_bin_suffix} tests/ -e 'test_decode_embedded_value_long_uint_data_type'