Hello community,
here is the log from the commit of package python-jeepney for
openSUSE:Leap:15.2 checked in at 2020-03-06 12:39:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-jeepney (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-jeepney.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jeepney"
Fri Mar 6 12:39:06 2020 rev:2 rq:781124 version:0.4.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-jeepney/python-jeepney.changes
2020-02-11 23:24:54.209254005 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-jeepney.new.26092/python-jeepney.changes
2020-03-06 12:40:59.414746733 +0100
@@ -1,0 +2,10 @@
+Fri Feb 28 22:49:01 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 0.4.2:
+ The blocking ``DBusConnection`` integration class now has a ``.close()``
+ method, and can be used as a context manager::
+
+ from jeepney.integrate.blocking import connect_and_authenticate
+ with connect_and_authenticate() as connection:
+
+-------------------------------------------------------------------
Old:
----
jeepney-0.4.1.tar.gz
New:
----
jeepney-0.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jeepney.spec ++++++
--- /var/tmp/diff_new_pack.qcqcRZ/_old 2020-03-06 12:40:59.806746972 +0100
+++ /var/tmp/diff_new_pack.qcqcRZ/_new 2020-03-06 12:40:59.810746974 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jeepney
#
-# 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
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jeepney
-Version: 0.4.1
+Version: 0.4.2
Release: 0
Summary: Low-level, pure Python DBus protocol wrapper
License: MIT
++++++ jeepney-0.4.1.tar.gz -> jeepney-0.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/PKG-INFO new/jeepney-0.4.2/PKG-INFO
--- old/jeepney-0.4.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/jeepney-0.4.2/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: jeepney
-Version: 0.4.1
+Version: 0.4.2
Summary: Low-level, pure Python DBus protocol wrapper.
Home-page: https://gitlab.com/takluyver/jeepney
Author: Thomas Kluyver
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/docs/release-notes.rst
new/jeepney-0.4.2/docs/release-notes.rst
--- old/jeepney-0.4.1/docs/release-notes.rst 2019-08-11 12:55:34.956099300
+0200
+++ new/jeepney-0.4.2/docs/release-notes.rst 2020-01-03 19:38:06.976187000
+0100
@@ -1,6 +1,16 @@
Release notes
=============
+0.4.2
+-----
+
+* The blocking ``DBusConnection`` integration class now has a ``.close()``
+ method, and can be used as a context manager::
+
+ from jeepney.integrate.blocking import connect_and_authenticate
+ with connect_and_authenticate() as connection:
+ ...
+
0.4.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/examples/blocking_notify.py
new/jeepney-0.4.2/examples/blocking_notify.py
--- old/jeepney-0.4.1/examples/blocking_notify.py 2017-05-29
16:16:12.977416000 +0200
+++ new/jeepney-0.4.2/examples/blocking_notify.py 2019-11-22
21:12:37.486834500 +0100
@@ -22,3 +22,5 @@
# Send the message and wait for the reply
reply = connection.send_and_get_reply(msg)
print('Notification ID:', reply[0])
+
+connection.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/examples/blocking_secretstorage.py
new/jeepney-0.4.2/examples/blocking_secretstorage.py
--- old/jeepney-0.4.1/examples/blocking_secretstorage.py 2017-05-29
16:46:09.492209200 +0200
+++ new/jeepney-0.4.2/examples/blocking_secretstorage.py 2019-11-22
21:12:43.802847400 +0100
@@ -32,3 +32,5 @@
props = dict(props_resp[0])
state = '(locked)' if props['Locked'][1] else ''
print(props['Label'][1], state)
+
+conn.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/examples/blocking_subscribe.py
new/jeepney-0.4.2/examples/blocking_subscribe.py
--- old/jeepney-0.4.1/examples/blocking_subscribe.py 2018-09-23
22:24:23.144968000 +0200
+++ new/jeepney-0.4.2/examples/blocking_subscribe.py 2019-11-22
21:12:53.062865000 +0100
@@ -60,3 +60,5 @@
connection.recv_messages()
except KeyboardInterrupt:
pass
+
+connection.close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/jeepney/__init__.py
new/jeepney-0.4.2/jeepney/__init__.py
--- old/jeepney-0.4.1/jeepney/__init__.py 2019-08-11 12:52:49.375820900
+0200
+++ new/jeepney-0.4.2/jeepney/__init__.py 2020-01-03 19:39:13.928380500
+0100
@@ -5,4 +5,4 @@
from .bus import find_session_bus, find_system_bus
from .wrappers import *
-__version__ = '0.4.1'
+__version__ = '0.4.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/jeepney/integrate/blocking.py
new/jeepney-0.4.2/jeepney/integrate/blocking.py
--- old/jeepney-0.4.1/jeepney/integrate/blocking.py 2019-08-11
12:50:37.797772600 +0200
+++ new/jeepney-0.4.2/jeepney/integrate/blocking.py 2019-11-22
21:11:24.869688700 +0100
@@ -40,6 +40,13 @@
hello_reply = self.bus_proxy.Hello()
self.unique_name = hello_reply[0]
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_val, exc_tb):
+ self.close()
+ return False
+
def send_message(self, message):
future = self.router.outgoing(message)
data = message.serialise()
@@ -68,6 +75,9 @@
return future.result()
+ def close(self):
+ self.sock.close()
+
class Proxy(ProxyBase):
def __init__(self, msggen, connection):
super().__init__(msggen)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/pyproject.toml
new/jeepney-0.4.2/pyproject.toml
--- old/jeepney-0.4.1/pyproject.toml 2019-08-11 12:57:17.249260700 +0200
+++ new/jeepney-0.4.2/pyproject.toml 2020-01-03 19:38:55.714305000 +0100
@@ -1,6 +1,6 @@
[build-system]
-requires = ["flit"]
-build-backend = "flit.buildapi"
+requires = ["flit_core >=2,<3"]
+build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "jeepney"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jeepney-0.4.1/setup.py new/jeepney-0.4.2/setup.py
--- old/jeepney-0.4.1/setup.py 1970-01-01 01:00:00.000000000 +0100
+++ new/jeepney-0.4.2/setup.py 1970-01-01 01:00:00.000000000 +0100
@@ -13,7 +13,7 @@
{'dev': ['testpath']}
setup(name='jeepney',
- version='0.4.1',
+ version='0.4.2',
description='Low-level, pure Python DBus protocol wrapper.',
author='Thomas Kluyver',
author_email='[email protected]',