commit ca6918747214484a429c039caed02dd858c307fe Author: Christoph Reiter Date: Sat Mar 17 18:46:05 2018 +0100 release NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit ab470a4f02b294ec8f1f11ea30c9ed4625490a52 Author: Christoph Reiter Date: Fri Mar 16 23:48:20 2018 +0100 tests: fix glib tests with newest glib g_filename_from_utf8() was recently fixed to return filenames instead of bytes. See https://bugzilla.gnome.org/show_bug.cgi?id=756128 tests/test_glib.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 76d4503ff856d7cc6e15d45bb82d79c17bda69f7 Author: Christoph Reiter Date: Fri Mar 16 15:17:37 2018 +0100 setup.py: don't install tests Now that the tests directory has a __init__.py and is a Python package find_packages() returns it and setup() will install it. Instead of using find_packages() hardcode the list of included packages. setup.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f6c17c998e12a38bbc1c14e43fa969f01fbac46b Author: Christoph Reiter Date: Wed Mar 14 12:31:28 2018 +0100 pyg_flags_get_value_names: fix a leak PyList_Append() is transfer-none for the value gi/pygflags.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9b4a056bbd7003bdb12f3eaf30524caa8747adb1 Author: Mathieu Duponchelle Date: Tue Mar 13 19:41:20 2018 +0100 all around: Fix some assumptions about the size of long This was creating various issues on 64-bit Windows, where sizeof(long) is usually 4. gi/pygi-basictype.c | 6 +++--- gi/pygi-closure.c | 10 +++++----- gi/pygi-value.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) commit b8bffa925566e561bb6270db5aecbe2b7b70d178 Author: Mathieu Duponchelle Date: Tue Mar 13 19:12:23 2018 +0100 GValue override: chain up __del__ This was added in d08e244d , which was recently reverted, that specific bit was however unrelated and still relevant. Fix #176 gi/overrides/GObject.py | 3 +++ 1 file changed, 3 insertions(+) commit 48171470feccca4c5595a5f28adf6630fca66515 Author: Christoph Reiter Date: Thu Mar 1 16:07:10 2018 +0100 gitlab-ci: add Python 3.7.0b2 job .gitlab-ci.yml | 5 +++++ .gitlab-ci/Dockerfile | 1 + .gitlab-ci/run-docker.sh | 2 ++ 3 files changed, 8 insertions(+) commit a0b633185d1dbb2cfef46f85b6b593c0c296e6f7 Author: Christoph Reiter Date: Sat Mar 10 20:03:33 2018 +0100 marshal-cleanup: save and restore exception around cleanup With Python 3.7 some Python API in the cleanup path clears exceptions which makes us return NULL in the end without an error set. Make if safe to call the cleanup functions with an error set by saving and restoring exceptions. gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 8eee391694e657a79281707e476b1950a87f4d29 Author: Christoph Reiter Date: Sun Mar 11 13:13:30 2018 +0100 _struct_dealloc: handle being called with an error set With Python 3.7 it gets called with an error set and tp_dealloc implementations need to handle that. Fix by saving and restoring the error. gi/pygi-struct.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 7a1b725805b97a037f38c844d107644c780d87b6 Author: Christoph Reiter Date: Sat Mar 10 18:54:28 2018 +0100 IntrospectionModule: __path__ should be List[str] and not str This fixes a crash when calling help() on the module which got stricter with Python 3.7. It's a bit questionable why the type has __path__ in the first place as that's only meant for packages. But let's leave that for now. gi/module.py | 5 +++-- tests/test_gi.py | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) commit 2386fb7070dcde591313abb10f3e65d7cef7364f Author: Christoph Reiter Date: Sat Mar 10 18:04:14 2018 +0100 tests_gi: Use capture_output() context manager instead of manually mocking stdout tests/helper.py | 2 +- tests/test_gi.py | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) commit e0b92c65f4af126f1ba9c924e8e71b958a280a6e Author: Christoph Reiter Date: Mon Mar 12 13:18:34 2018 +0100 version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)