<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/dbus-python.git/test/cross-test-server.py, branch dbus-python-1.3.2</title>
<subtitle>gitlab.freedesktop.org: dbus/dbus-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/'/>
<entry>
<title>Remove support for Python 2</title>
<updated>2021-09-15T17:49:14+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2021-09-14T15:48:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=98cbe2b3ace53ef70738345548402cb4e74a4db7'/>
<id>98cbe2b3ace53ef70738345548402cb4e74a4db7</id>
<content type='text'>
Python 2 reached EOL on 2020-01-01, and the latest version of
AX_PYTHON_DEVEL breaks the build with Python 2. This seems as good a
time as any to drop compatibility.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 2 reached EOL on 2020-01-01, and the latest version of
AX_PYTHON_DEVEL breaks the build with Python 2. This seems as good a
time as any to drop compatibility.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Use gi.repository.GLib to avoid deprecation warnings</title>
<updated>2020-11-23T10:42:41+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2020-11-23T10:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=b356bba0644be3f120a8b9561d178b5d98cd7dcf'/>
<id>b356bba0644be3f120a8b9561d178b5d98cd7dcf</id>
<content type='text'>
Back in the days of PyGTK, there was only the gobject module, containing
bindings for both GLib and GObject. This is no longer the case.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Back in the days of PyGTK, there was only the gobject module, containing
bindings for both GLib and GObject. This is no longer the case.

Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add clearer licensing information in SPDX format</title>
<updated>2019-07-15T14:51:05+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@collabora.com</email>
</author>
<published>2019-07-15T12:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=28734ae1661ea029fa2ed06fab6a4d6cf6ade098'/>
<id>28734ae1661ea029fa2ed06fab6a4d6cf6ade098</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cross-test-server: Avoid a race condition in the client</title>
<updated>2018-05-09T07:53:34+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2018-05-08T08:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=62789b8dd79f2b29252f31c1f424cc43e4ca5ec5'/>
<id>62789b8dd79f2b29252f31c1f424cc43e4ca5ec5</id>
<content type='text'>
There is a race condition here between these chains of events, which as
far as I can tell has existed for at least 10 years:

* server receives Tests.Trigger() and schedules SignalTests.Triggered
* server returns to main loop
* server emits SignalTests.Triggered
* client receives SignalTests.Triggered

and

* server receives Tests.Trigger() and replies with success
* client receives success and emits SignalTests.Trigger
* server receives SignalTests.Trigger and calls CallbackTests.Response()
* client receives CallbackTests.Response() and calls Tests.Exit()
* server receives Tests.Exit() and replies with success
* client quits its main loop

If we don't reply to Tests.Trigger() until after the SignalTests.Triggered
signal has been sent, because the client called Tests.Trigger()
asynchronously, messages are not re-ordered and the reply arrives after
the signal; so the whole chain of events leading up to
"client receives SignalTests.Triggered" happens before
"client receives success and emits SignalTests.Trigger" and there is
no race condition.

Bug-Debian: https://bugs.debian.org/898158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a race condition here between these chains of events, which as
far as I can tell has existed for at least 10 years:

* server receives Tests.Trigger() and schedules SignalTests.Triggered
* server returns to main loop
* server emits SignalTests.Triggered
* client receives SignalTests.Triggered

and

* server receives Tests.Trigger() and replies with success
* client receives success and emits SignalTests.Trigger
* server receives SignalTests.Trigger and calls CallbackTests.Response()
* client receives CallbackTests.Response() and calls Tests.Exit()
* server receives Tests.Exit() and replies with success
* client quits its main loop

If we don't reply to Tests.Trigger() until after the SignalTests.Triggered
signal has been sent, because the client called Tests.Trigger()
asynchronously, messages are not re-ordered and the reply arrives after
the signal; so the whole chain of events leading up to
"client receives SignalTests.Triggered" happens before
"client receives success and emits SignalTests.Trigger" and there is
no race condition.

Bug-Debian: https://bugs.debian.org/898158
</pre>
</div>
</content>
</entry>
<entry>
<title>Make all test scripts properly executable</title>
<updated>2016-02-22T13:18:35+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2016-02-22T13:18:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=afcf3e432efa8bed73c714d03062fbf53cc76bdf'/>
<id>afcf3e432efa8bed73c714d03062fbf53cc76bdf</id>
<content type='text'>
Signed-off-by: Simon McVittie &lt;smcv@debian.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simon McVittie &lt;smcv@debian.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for skipping tests, and use it</title>
<updated>2013-05-08T07:38:22+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2013-05-08T07:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=9b26cf8238a7d432fe96a50a75008aa6bce110da'/>
<id>9b26cf8238a7d432fe96a50a75008aa6bce110da</id>
<content type='text'>
Now that Python 2.6 isn't a supported version in Debian, it doesn't
get a gi module, but we can still get some minimal test coverage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that Python 2.6 isn't a supported version in Debian, it doesn't
get a gi module, but we can still get some minimal test coverage.
</pre>
</div>
</content>
</entry>
<entry>
<title>This is the big one; it adds Python 3 support.</title>
<updated>2011-12-15T11:57:21+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2011-12-15T11:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=4c1c2eade1c5b383adad94a7a4fd6553873fecf0'/>
<id>4c1c2eade1c5b383adad94a7a4fd6553873fecf0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/cross-test-*: don't use deprecated sets module</title>
<updated>2010-02-18T15:03:30+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>smcv@debian.org</email>
</author>
<published>2010-02-18T15:03:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=abdf6021b21883beb51d92862caafc127d3c25ec'/>
<id>abdf6021b21883beb51d92862caafc127d3c25ec</id>
<content type='text'>
set() has been a built-in since 2.4, and we don't support older versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set() has been a built-in since 2.4, and we don't support older versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result</title>
<updated>2007-09-27T12:57:49+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-09-27T12:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=d8c154284ca464f493c81a4d3b5a37890d68acec'/>
<id>d8c154284ca464f493c81a4d3b5a37890d68acec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid deprecated API in cross-test</title>
<updated>2007-08-01T18:08:48+00:00</updated>
<author>
<name>Simon McVittie</name>
<email>simon.mcvittie@collabora.co.uk</email>
</author>
<published>2007-08-01T18:08:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/dbus-python.git/commit/?id=65680613473b7ca39f68d25010b6b17eda841f6a'/>
<id>65680613473b7ca39f68d25010b6b17eda841f6a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
