commit python-thriftpy2 for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-thriftpy2 for 
openSUSE:Factory checked in at 2020-03-26 23:34:27

Comparing /work/SRC/openSUSE:Factory/python-thriftpy2 (Old)
 and  /work/SRC/openSUSE:Factory/.python-thriftpy2.new.3160 (New)


Package is "python-thriftpy2"

Thu Mar 26 23:34:27 2020 rev:5 rq:788511 version:0.4.11

Changes:

--- /work/SRC/openSUSE:Factory/python-thriftpy2/python-thriftpy2.changes
2020-01-14 21:12:37.446911167 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-thriftpy2.new.3160/python-thriftpy2.changes  
2020-03-26 23:35:09.850815987 +0100
@@ -1,0 +2,8 @@
+Thu Mar 26 11:07:36 UTC 2020 - pgaj...@suse.com
+
+- version update to 0.4.11
+  - Support Cython in HTTP and fix TCyBufferedTransport early flush issue, via 
`2-#129`_.
+  - Fix exception handling in TProcessor, via `2-#128`_.
+  - Rename socket_timeout to timeout for compatibility, via `2-#115`_.
+
+---

Old:

  v0.4.10.tar.gz

New:

  v0.4.11.tar.gz



Other differences:
--
++ python-thriftpy2.spec ++
--- /var/tmp/diff_new_pack.3REXwc/_old  2020-03-26 23:35:11.186816470 +0100
+++ /var/tmp/diff_new_pack.3REXwc/_new  2020-03-26 23:35:11.190816471 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-thriftpy2
-Version:0.4.10
+Version:0.4.11
 Release:0
 Summary:Pure python implementation of Apache Thrift
 License:MIT

++ v0.4.10.tar.gz -> v0.4.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.10/CHANGES.rst 
new/thriftpy2-0.4.11/CHANGES.rst
--- old/thriftpy2-0.4.10/CHANGES.rst2020-01-01 06:31:05.0 +0100
+++ new/thriftpy2-0.4.11/CHANGES.rst2020-03-17 04:48:19.0 +0100
@@ -3,14 +3,28 @@
 
 0.4.x
 ~
-Version 0.4.9
+Version 0.4.11
+-
+
+Released on Mar 17, 2020.
+
+- Support Cython in HTTP and fix TCyBufferedTransport early flush issue, via 
`2-#129`_.
+- Fix exception handling in TProcessor, via `2-#128`_.
+- Rename socket_timeout to timeout for compatibility, via `2-#115`_.
+
+.. _2-#115: https://github.com/Thriftpy/thriftpy2/pull/115
+.. _2-#128: https://github.com/Thriftpy/thriftpy2/pull/128
+.. _2-#129: https://github.com/Thriftpy/thriftpy2/pull/129
+
+
+Version 0.4.10
 -
 
 Released on Jan 1, 2020.
 
 - Add TAsyncCompactProtocol and TAsyncFramedTransport, via `2-#103`_.
 - Add TAsyncProtocolBase and TAsyncTransportBase, via `2-#108`_.
-- Add __str__ on TProtocolException, , via `2-#109`_.
+- Add __str__ on TProtocolException, via `2-#109`_.
 - Support passing socket_family in make_client, via `2-#110`_.
 
 .. _2-#103: https://github.com/Thriftpy/thriftpy2/pull/103
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.10/MANIFEST.in 
new/thriftpy2-0.4.11/MANIFEST.in
--- old/thriftpy2-0.4.10/MANIFEST.in2020-01-01 06:31:05.0 +0100
+++ new/thriftpy2-0.4.11/MANIFEST.in2020-03-17 04:48:19.0 +0100
@@ -2,3 +2,4 @@
 recursive-include thriftpy2/protocol/cybin *.pyx *.c *.h
 recursive-include thriftpy2/transport *.pyx *.pxd *.c
 include thriftpy2/contrib/tracking/tracking.thrift
+recursive-include tests/ *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/thriftpy2-0.4.10/tests/compatible/version_2/tracking.py 
new/thriftpy2-0.4.11/tests/compatible/version_2/tracking.py
--- old/thriftpy2-0.4.10/tests/compatible/version_2/tracking.py 2020-01-01 
06:31:05.0 +0100
+++ new/thriftpy2-0.4.11/tests/compatible/version_2/tracking.py 2020-03-17 
04:48:19.0 +0100
@@ -192,7 +192,8 @@
 result.success = call()
 except Exception as e:
 # raise if api don't have throws
-self.handle_exception(e, result)
+if not self.handle_exception(e, result):
+raise
 
 if not result.oneway:
 self.send_result(oprot, api, result, seqid)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.10/tests/test_aio.py 
new/thriftpy2-0.4.11/tests/test_aio.py
--- old/thriftpy2-0.4.10/tests/test_aio.py  2020-01-01 06:31:05.0 
+0100
+++ new/thriftpy2-0.4.11/tests/test_aio.py  2020-03-17 04:48:19.0 
+0100
@@ -4,6 +4,7 @@
 # import uvloop
 import threading
 import random
+from unittest.mock import patch
 
 # asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
 
@@ -49,6 +50,9 @@
 
 @asyncio.coroutine
 def remove(self, name):
+if not name:
+# undeclared exception
+ 

commit python-thriftpy2 for openSUSE:Factory

2020-01-14 Thread root
Hello community,

here is the log from the commit of package python-thriftpy2 for 
openSUSE:Factory checked in at 2020-01-14 21:09:01

Comparing /work/SRC/openSUSE:Factory/python-thriftpy2 (Old)
 and  /work/SRC/openSUSE:Factory/.python-thriftpy2.new.6675 (New)


Package is "python-thriftpy2"

Tue Jan 14 21:09:01 2020 rev:4 rq:764222 version:0.4.10

Changes:

--- /work/SRC/openSUSE:Factory/python-thriftpy2/python-thriftpy2.changes
2020-01-13 22:20:58.362502876 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-thriftpy2.new.6675/python-thriftpy2.changes  
2020-01-14 21:12:37.446911167 +0100
@@ -1,0 +2,6 @@
+Tue Jan 14 10:02:00 UTC 2020 - Tomáš Chvátal 
+
+- Update to 0.4.10:
+  * various bugfixes all around
+
+---

Old:

  v0.4.7.tar.gz

New:

  v0.4.10.tar.gz



Other differences:
--
++ python-thriftpy2.spec ++
--- /var/tmp/diff_new_pack.H7mNRt/_old  2020-01-14 21:12:40.582912594 +0100
+++ /var/tmp/diff_new_pack.H7mNRt/_new  2020-01-14 21:12:40.602912603 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-thriftpy2
-Version:0.4.7
+Version:0.4.10
 Release:0
 Summary:Pure python implementation of Apache Thrift
 License:MIT

++ v0.4.7.tar.gz -> v0.4.10.tar.gz ++
 2552 lines of diff (skipped)




commit python-thriftpy2 for openSUSE:Factory

2020-01-13 Thread root
Hello community,

here is the log from the commit of package python-thriftpy2 for 
openSUSE:Factory checked in at 2020-01-13 22:20:51

Comparing /work/SRC/openSUSE:Factory/python-thriftpy2 (Old)
 and  /work/SRC/openSUSE:Factory/.python-thriftpy2.new.6675 (New)


Package is "python-thriftpy2"

Mon Jan 13 22:20:51 2020 rev:3 rq:763946 version:0.4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-thriftpy2/python-thriftpy2.changes
2019-10-08 19:59:32.783907099 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-thriftpy2.new.6675/python-thriftpy2.changes  
2020-01-13 22:20:58.362502876 +0100
@@ -1,0 +2,6 @@
+Tue Jan  7 11:37:57 UTC 2020 - Tomáš Chvátal 
+
+- Use python dbm dependency instead of legacy gdbm
+- Tweak up the dependencies to not be unresolvable
+
+---



Other differences:
--
++ python-thriftpy2.spec ++
--- /var/tmp/diff_new_pack.L2Gl33/_old  2020-01-13 22:20:59.178503255 +0100
+++ /var/tmp/diff_new_pack.L2Gl33/_new  2020-01-13 22:20:59.194503262 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-thriftpy2
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,19 +26,17 @@
 URL:https://github.com/Thriftpy/thriftpy2
 Source: 
https://github.com/Thriftpy/thriftpy2/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module Cython >= 0.28.4}
+BuildRequires:  %{python_module dbm}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module ply >= 3.4}
 BuildRequires:  %{python_module pytest >= 2.8}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module tornado >= 4.0}
-BuildRequires:  %{python_module toro >= 0.6}
+BuildRequires:  %{python_module tornado >= 5.0}
 BuildRequires:  fdupes
-BuildRequires:  python-gdbm
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-dbm
 BuildRequires:  python3-pytest-asyncio
 Requires:   python-ply >= 3.4
-Recommends: python-tornado >= 4.0
+Recommends: python-tornado >= 5.0
 Recommends: python-toro >= 0.6
 %python_subpackages
 
@@ -60,7 +58,8 @@
 %check
 cd tests
 # the two tests fail in OBS on timeout
-%pytest_arch -k 'not (test_able_to_communicate or test_zero_length_string)'
+# test_asynchronous_exception/test_asynchronous_result - needs old tornado to 
work
+%pytest_arch -k 'not (test_able_to_communicate or test_zero_length_string or 
test_asynchronous_exception or test_asynchronous_result)'
 
 %files %{python_files}
 %license LICENSE




commit python-thriftpy2 for openSUSE:Factory

2019-10-08 Thread root
Hello community,

here is the log from the commit of package python-thriftpy2 for 
openSUSE:Factory checked in at 2019-10-08 19:59:30

Comparing /work/SRC/openSUSE:Factory/python-thriftpy2 (Old)
 and  /work/SRC/openSUSE:Factory/.python-thriftpy2.new.2352 (New)


Package is "python-thriftpy2"

Tue Oct  8 19:59:30 2019 rev:2 rq:736036 version:0.4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-thriftpy2/python-thriftpy2.changes
2019-09-27 14:50:38.872421607 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-thriftpy2.new.2352/python-thriftpy2.changes  
2019-10-08 19:59:32.783907099 +0200
@@ -1,0 +2,6 @@
+Tue Oct  8 09:06:54 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.4.7:
+  * minor bugfixes
+
+---

Old:

  v0.4.5.tar.gz

New:

  v0.4.7.tar.gz



Other differences:
--
++ python-thriftpy2.spec ++
--- /var/tmp/diff_new_pack.WZSNnr/_old  2019-10-08 19:59:33.335905446 +0200
+++ /var/tmp/diff_new_pack.WZSNnr/_new  2019-10-08 19:59:33.339905434 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-thriftpy2
-Version:0.4.5
+Version:0.4.7
 Release:0
 Summary:Pure python implementation of Apache Thrift
 License:MIT

++ v0.4.5.tar.gz -> v0.4.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.5/.travis.yml 
new/thriftpy2-0.4.7/.travis.yml
--- old/thriftpy2-0.4.5/.travis.yml 2019-08-27 04:41:07.0 +0200
+++ new/thriftpy2-0.4.7/.travis.yml 2019-10-04 12:07:51.0 +0200
@@ -1,4 +1,3 @@
-sudo: false
 language: python
 
 python:
@@ -14,12 +13,8 @@
   script: tox -e flake8
 - python: 3.6
   script: tox -e coverage
-# This is a workaround to make 3.7 running in travis-ci
-# See https://github.com/travis-ci/travis-ci/issues/9815
 - python: 3.7
   script: tox -e py37
-  dist: xenial
-  sudo: true
 
 before_install:
   - sudo apt-get install -y python-dev gcc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.5/CHANGES.rst 
new/thriftpy2-0.4.7/CHANGES.rst
--- old/thriftpy2-0.4.5/CHANGES.rst 2019-08-27 04:41:07.0 +0200
+++ new/thriftpy2-0.4.7/CHANGES.rst 2019-10-04 12:07:51.0 +0200
@@ -3,6 +3,35 @@
 
 0.4.x
 ~
+Version 0.4.7
+-
+
+Released on October 4, 2019.
+
+- Fix loading remote IDL file failed on Python 3, via `2-#88`_.
+
+.. _2-#88: https://github.com/Thriftpy/thriftpy2/pull/88
+
+
+Version 0.4.6
+-
+
+Released on September 24, 2019.
+
+- Follow strict datatype in TJsonProtocol, via `2-#85`_.
+- Add timeout support to asyncio contrib, via `2-#84`_.
+- Enable socket_timeout on unix_socket, via `2-#83`_.
+- Add url support as optional argument to make_client, via `2-#80`_.
+- Enforce required arguments, fixes #72, via `2-#81`_.
+
+.. _2-#80: https://github.com/Thriftpy/thriftpy2/pull/80
+.. _2-#81: https://github.com/Thriftpy/thriftpy2/pull/81
+.. _2-#83: https://github.com/Thriftpy/thriftpy2/pull/83
+.. _2-#84: https://github.com/Thriftpy/thriftpy2/pull/84
+.. _2-#85: https://github.com/Thriftpy/thriftpy2/pull/85
+
+
+
 Version 0.4.5
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.5/tests/addressbook.thrift 
new/thriftpy2-0.4.7/tests/addressbook.thrift
--- old/thriftpy2-0.4.5/tests/addressbook.thrift2019-08-27 
04:41:07.0 +0200
+++ new/thriftpy2-0.4.7/tests/addressbook.thrift2019-10-04 
12:07:51.0 +0200
@@ -34,7 +34,7 @@
 
 service AddressBookService {
 void ping();
-string hello(1: string name);
+string hello(1: required string name);
 bool add(1: Person person);
 bool remove(1: string name) throws (1: PersonNotExistsError not_exists);
 Person get(1: string name) throws (1: PersonNotExistsError not_exists);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thriftpy2-0.4.5/tests/test_aio.py 
new/thriftpy2-0.4.7/tests/test_aio.py
--- old/thriftpy2-0.4.5/tests/test_aio.py   2019-08-27 04:41:07.0 
+0200
+++ new/thriftpy2-0.4.7/tests/test_aio.py   2019-10-04 12:07:51.0 
+0200
@@ -16,6 +16,7 @@
 
 from thriftpy2.rpc import make_aio_server, make_aio_client  # noqa
 from thriftpy2.transport import TTransportException  # noqa
+from thriftpy2.thrift import TApplicationException  # noqa
 
 addressbook = thriftpy2.load(os.path.join(os.path.dirname(__file__),
   "addressbook.thrift"))
@@ -143,6 +144,25 @@
 

commit python-thriftpy2 for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package python-thriftpy2 for 
openSUSE:Factory checked in at 2019-09-27 14:50:34

Comparing /work/SRC/openSUSE:Factory/python-thriftpy2 (Old)
 and  /work/SRC/openSUSE:Factory/.python-thriftpy2.new.2352 (New)


Package is "python-thriftpy2"

Fri Sep 27 14:50:34 2019 rev:1 rq:731954 version:0.4.5

Changes:

New Changes file:

--- /dev/null   2019-09-25 09:10:10.894331610 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-thriftpy2.new.2352/python-thriftpy2.changes  
2019-09-27 14:50:38.872421607 +0200
@@ -0,0 +1,25 @@
+---
+Thu Sep 19 13:06:34 UTC 2019 - Tomáš Chvátal 
+
+- Skip two tests that timeout in OBS build
+
+---
+Thu Sep 19 08:05:31 UTC 2019 - Tomáš Chvátal 
+
+- Pull in toro as a dep and build also with tornado 4.x
+
+---
+Thu Sep 12 09:06:42 UTC 2019 - Tomáš Chvátal 
+
+- Rename to python-thriftpy2 as thriftpy was deprecated
+- Drop patch tornado_5.patch
+
+---
+Tue Jul 17 14:12:57 UTC 2018 - mimi...@gmail.com
+
+- add tornado_5.patch to build with tornado-5.x
+
+---
+Mon May 22 19:14:34 UTC 2017 - toddrme2...@gmail.com
+
+- Initial version

New:

  python-thriftpy2.changes
  python-thriftpy2.spec
  v0.4.5.tar.gz



Other differences:
--
++ python-thriftpy2.spec ++
#
# spec file for package python-thriftpy2
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-thriftpy2
Version:0.4.5
Release:0
Summary:Pure python implementation of Apache Thrift
License:MIT
Group:  Development/Languages/Python
URL:https://github.com/Thriftpy/thriftpy2
Source: https://github.com/Thriftpy/thriftpy2/archive/v%{version}.tar.gz
BuildRequires:  %{python_module Cython >= 0.28.4}
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module ply >= 3.4}
BuildRequires:  %{python_module pytest >= 2.8}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module tornado >= 4.0}
BuildRequires:  %{python_module toro >= 0.6}
BuildRequires:  fdupes
BuildRequires:  python-gdbm
BuildRequires:  python-rpm-macros
BuildRequires:  python3-dbm
BuildRequires:  python3-pytest-asyncio
Requires:   python-ply >= 3.4
Recommends: python-tornado >= 4.0
Recommends: python-toro >= 0.6
%python_subpackages

%description
ThriftPy is a pure python implementation of Apache Thrift in a
pythonic way.

%prep
%setup -q -n thriftpy2-%{version}

%build
export CFLAGS="%{optflags}"
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}

%check
cd tests
# the two tests fail in OBS on timeout
%pytest_arch -k 'not (test_able_to_communicate or test_zero_length_string)'

%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitearch}/*

%changelog