<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/pygobject.git/tests/test_repository.py, branch pygobject-3-32</title>
<subtitle>gitlab.gnome.org: GNOME/pygobject.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/'/>
<entry>
<title>Merge branch 'wrap-struct-find' into 'master'</title>
<updated>2018-12-15T12:13:22+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-12-15T12:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=98647a26ee86b3424099537d8f988f32e882e555'/>
<id>98647a26ee86b3424099537d8f988f32e882e555</id>
<content type='text'>
pygi-info: wrap g_struct_info_find_method() and g_struct_info_find_field()

See merge request GNOME/pygobject!104</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pygi-info: wrap g_struct_info_find_method() and g_struct_info_find_field()

See merge request GNOME/pygobject!104</pre>
</div>
</content>
</entry>
<entry>
<title>pygi-info: wrap g_union_info_get_alignment()</title>
<updated>2018-12-14T12:55:05+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2018-12-14T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=05a59a1cdf8774eb351ea7ede186c5be0480d4f7'/>
<id>05a59a1cdf8774eb351ea7ede186c5be0480d4f7</id>
<content type='text'>
Aligment is useful when validating ABI against C.
It is already wrapped for structs, wrap it for unions as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Aligment is useful when validating ABI against C.
It is already wrapped for structs, wrap it for unions as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>pygi-info: wrap g_struct_info_find_method() and g_struct_info_find_field()</title>
<updated>2018-12-12T21:14:42+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-12-12T21:14:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=b2f8a612ded5c093c5d1fb998c1aa0b1ed8d24fb'/>
<id>b2f8a612ded5c093c5d1fb998c1aa0b1ed8d24fb</id>
<content type='text'>
Because why not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because why not.
</pre>
</div>
</content>
</entry>
<entry>
<title>test_repository: fix reprecation warnings re collections.abc move</title>
<updated>2018-11-23T14:48:43+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-11-23T14:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=7c3753f41acc55e691290f3beff2b91532305176'/>
<id>7c3753f41acc55e691290f3beff2b91532305176</id>
<content type='text'>
With newer Python3 one should use collections.abc and not collections
for ABC classes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With newer Python3 one should use collections.abc and not collections
for ABC classes.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: improve coverage of girepository wrappers</title>
<updated>2018-03-19T22:34:57+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-03-19T22:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=d8f15fdc50676491c945742f9b347493729ee118'/>
<id>d8f15fdc50676491c945742f9b347493729ee118</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Make it possible to use pytest directly</title>
<updated>2018-02-11T23:25:28+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>reiter.christoph@gmail.com</email>
</author>
<published>2018-02-11T17:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=5a25c98cb6d387791e41c7dc240c55814988519a'/>
<id>5a25c98cb6d387791e41c7dc240c55814988519a</id>
<content type='text'>
pytest will just import the files passed to it and try to run tests.
Since we need to run some setup code convert the tests directory to
a Python package and do the initialization in __init__.py. This makes
the init code (env vars, typelib search path, dbus) always run when
something from the package gets imported.

    python3 setup.py build_tests  # build pygobject and tests
    py.test-3 tests/test_gi.py  # run tests in test_gi.py only
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pytest will just import the files passed to it and try to run tests.
Since we need to run some setup code convert the tests directory to
a Python package and do the initialization in __init__.py. This makes
the init code (env vars, typelib search path, dbus) always run when
something from the package gets imported.

    python3 setup.py build_tests  # build pygobject and tests
    py.test-3 tests/test_gi.py  # run tests in test_gi.py only
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: always call require_version; add TEST_GTK_VERSION env var</title>
<updated>2017-04-02T11:17:36+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>creiter@src.gnome.org</email>
</author>
<published>2017-04-02T11:17:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=c3159accf3faa2bd804ac22ec7ac93e62b158a3e'/>
<id>c3159accf3faa2bd804ac22ec7ac93e62b158a3e</id>
<content type='text'>
Set the versions in runtests.py instead of repeating it in every
test module.

Add a new TEST_GTK_VERSION env var which defaults to "3.0".
Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set the versions in runtests.py instead of repeating it in every
test module.

Add a new TEST_GTK_VERSION env var which defaults to "3.0".
Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Don't skip Regress tests when cairo is missing</title>
<updated>2017-04-02T08:54:48+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>creiter@src.gnome.org</email>
</author>
<published>2017-04-02T08:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=7c774ce5ce9ec5cda61e10a704b28f0b82df1b03'/>
<id>7c774ce5ce9ec5cda61e10a704b28f0b82df1b03</id>
<content type='text'>
Since https://git.gnome.org/browse/pygobject/commit/?id=a731db5908b79b97277be4f5138b46010c2dd616
we build libregress even if cairo is missing.

Instead of skipping regress tests when cairo is missing only skip cairo relate
tests now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since https://git.gnome.org/browse/pygobject/commit/?id=a731db5908b79b97277be4f5138b46010c2dd616
we build libregress even if cairo is missing.

Instead of skipping regress tests when cairo is missing only skip cairo relate
tests now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Import dependencies when importing typelibs from gi.repository</title>
<updated>2015-10-26T08:27:03+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>creiter@src.gnome.org</email>
</author>
<published>2015-10-04T08:13:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=dba1da9b0770c7dec1abd82303b9b4266fe2ce3f'/>
<id>dba1da9b0770c7dec1abd82303b9b4266fe2ce3f</id>
<content type='text'>
Recursively import a modules dependencies when importing from
gi.repository.

This fixes the case where a library depends on initialization
code of dependency overrides. For example libwnck expects
gdk_init to be called before using its API and gdk_init
gets called in the Gdk overrrides.

https://bugzilla.gnome.org/show_bug.cgi?id=656314
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recursively import a modules dependencies when importing from
gi.repository.

This fixes the case where a library depends on initialization
code of dependency overrides. For example libwnck expects
gdk_init to be called before using its API and gdk_init
gets called in the Gdk overrrides.

https://bugzilla.gnome.org/show_bug.cgi?id=656314
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't emit require_version warning if namespace was loaded previously using g_irepository_require</title>
<updated>2015-09-22T20:33:57+00:00</updated>
<author>
<name>Christoph Reiter</name>
<email>creiter@src.gnome.org</email>
</author>
<published>2015-09-06T03:35:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/pygobject.git/commit/?id=ea75a89a7d2bdabc7a29f7f20f792211765f2ac7'/>
<id>ea75a89a7d2bdabc7a29f7f20f792211765f2ac7</id>
<content type='text'>
Instead of tracking loaded dependencies ourself to hide warnings if they
were loaded by a previous import just look if the namespace was loaded
before the import. This (a) makes the implementation much simpler and
(b) also takes into account namespaces loaded outside of Python/PyGObject
using the libgirepository C API (as is common in applications using
libpeas with Python plugins)

This also introduces a new Python wrapper for g_irepository_is_registered()
to allow checking the loading state of namespaces before imports.

This fixes unnecessary require_version warnings in gedit, gnome-builder,
totem, rhythmbox etc.

https://bugzilla.gnome.org/show_bug.cgi?id=754491
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of tracking loaded dependencies ourself to hide warnings if they
were loaded by a previous import just look if the namespace was loaded
before the import. This (a) makes the implementation much simpler and
(b) also takes into account namespaces loaded outside of Python/PyGObject
using the libgirepository C API (as is common in applications using
libpeas with Python plugins)

This also introduces a new Python wrapper for g_irepository_is_registered()
to allow checking the loading state of namespaces before imports.

This fixes unnecessary require_version warnings in gedit, gnome-builder,
totem, rhythmbox etc.

https://bugzilla.gnome.org/show_bug.cgi?id=754491
</pre>
</div>
</content>
</entry>
</feed>
