summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | build: Use AS_HELP_STRING instead of deprecated AC_HELP_STRINGSimon McVittie2021-09-151-3/+3
| | | | | | | | | | | | | | | | | | This has been available since at least autoconf 2.59c (2006). Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | .gitignore: Ignore build-system backup filesSimon McVittie2021-09-151-0/+2
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | build: Update bug reporting URLSimon McVittie2021-09-151-1/+1
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | build: Use LT_INIT instead of deprecated AC_PROG_LIBTOOLSimon McVittie2021-09-151-1/+1
| | | | | | | | | | | | | | | | | | This has been available since at least libtool 1.9b (2004). Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | CI: Ensure we install into ${prefix}, even with Automake 1.16.4Simon McVittie2021-09-151-0/+2
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | build: Make distcheck use our ${prefix} with Automake 1.16.4Simon McVittie2021-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Automake 1.16.4 changes the default behaviour for Python so that --prefix is no longer respected. Force it to behave as earlier versions did, so we can still distcheck. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | m4: Update AX_PYTHON_DEVEL for better forward-compatibilitySimon McVittie2021-09-151-22/+63
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | Remove support for Python 2Simon McVittie2021-09-1545-1210/+164
| | | | | | | | | | | | | | | | | | | | | | | | 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 <smcv@collabora.com>
| * | build: Use sysconfig in preference to distutils.utilSimon McVittie2021-09-141-1/+8
| | | | | | | | | | | | | | | | | | distutils is deprecated and likely to be removed in Python 3.12. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | CI: Disable documentation build with Python 3.10Simon McVittie2021-09-142-2/+7
|/ / | | | | | | | | | | | | The version of sphinx in Ubuntu impish is not currently fully compatible with Python 3.10. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Release v1.2.18dbus-python-1.2.18Simon McVittie2021-07-202-2/+2
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Merge branch 'wip/smcv/py3' into 'master'Simon McVittie2021-07-2013-74/+136
|\ \ | | | | | | | | | | | | Move towards Python-3-only See merge request dbus/dbus-python!12
| * | Update NEWSSimon McVittie2021-07-201-1/+20
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | build: Use python3 if neither PYTHON nor PYTHON_VERSION is specifiedSimon McVittie2021-07-201-0/+1
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | examples: Convert to Python 3Simon McVittie2021-07-2010-73/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2 reached EOL more than 18 months ago. For the gconf example, which is only still here because it provides an example of implementing a FallbackObject, use a mock implementation if the deprecated gconf module is no longer available. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | Use the same python for build and distcheckSimon McVittie2021-07-191-0/+2
|/ / | | | | | | | | | | On modern distributions, /usr/bin/python often won't exist. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Merge branch 'wip/smcv/misc' into 'master'Simon McVittie2021-07-198-97/+36
|\ \ | | | | | | | | | | | | unixfd: Don't leak self if variant_level < 0 See merge request dbus/dbus-python!11
| * | Update NEWSSimon McVittie2021-07-191-2/+17
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | Remove Travis-CI integrationSimon McVittie2021-07-194-91/+2
| | | | | | | | | | | | | | | | | | We're using Gitlab-CI now. Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | CI: Build with Python 3.10 beta, using Ubuntu 21.10 prereleaseSimon McVittie2021-07-191-0/+9
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | tests: Exercise negative variant_level for UnixFd typeSimon McVittie2021-07-191-0/+3
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | unixfd: Don't leak self if variant_level < 0Simon McVittie2021-07-191-4/+5
|/ / | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | unixfd: Close fd in error pathDavid King2021-07-191-1/+3
| | | | | | | | | | | | Found by Coverity. Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=1938703
* | CI: Test with Python 3.9 on Debian 11 'bullseye'Simon McVittie2021-07-191-8/+8
| | | | | | | | | | | | | | Debian 11 hasn't actually been released yet, but it's in full freeze and is expected to be released in less than 2 weeks. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Update NEWSSimon McVittie2020-11-231-1/+21
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | tests: Stop calling GLib.threads_initSimon McVittie2020-11-233-3/+0
| | | | | | | | | | | | It is deprecated and no longer necessary. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | tests: Use gi.repository.GLib to avoid deprecation warningsSimon McVittie2020-11-236-31/+31
| | | | | | | | | | | | | | 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 <smcv@collabora.com>
* | Fix getargspec() deprecation warningMartin Stumpf2020-11-191-1/+10
| | | | | | | | Analogous to 7881666743df953227ccc403af4edfac7dd7ab8e
* | service: Adjust to deprecation of collections.SequenceSimon McVittie2020-01-141-1/+5
| | | | | | | | | | | | | | Since Python 3.3 the recommended location is collections.abc.Sequence, and the collections.Sequence alias will be removed in 3.9. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Disable -Wdeclaration-after-statementSimon McVittie2020-01-141-0/+2
| | | | | | | | | | | | | | Python 3.9 nightly builds rely on intermixed declarations and statements in their headers, so we can no longer enforce this. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | CI: Don't install tap.py for Python 2Simon McVittie2020-01-141-2/+7
| | | | | | | | | | | | The latest version only supports Python 3. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Increment micro version after releaseSimon McVittie2020-01-142-1/+6
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Release v1.12.16dbus-python-1.2.16Simon McVittie2020-01-142-2/+4
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Update NEWSSimon McVittie2020-01-111-1/+10
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | build: Forbid unexpanded AX_ macros more selectivelySimon McVittie2020-01-111-1/+1
| | | | | | | | | | | | | | The autoconf-archive macros do not guarantee not to use $AX_foo names for shell variables (see dbus/dbus#249, dbus/dbus!86). Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Add support for testing without tappySimon McVittie2020-01-119-63/+68
| | | | | | | | | | | | | | The latest version of tappy dropped Python 2 support, but I want to be able to continue to run dbus-python tests on Python 2 for now. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Post-release micro version bumpSimon McVittie2020-01-112-1/+6
| |
* | 1.2.14dbus-python-1.2.14Simon McVittie2019-11-252-3/+14
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Disable compiler errors for -WinlineSimon McVittie2019-11-211-0/+2
| | | | | | | | | | | | | | Being told that a `static inline` function was not inlined is not particularly useful as a way to detect bugs. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Run CI for Python 3.8Simon McVittie2019-11-213-11/+50
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | test: Expand test coverage for int(), str(), unicode() of our typesSimon McVittie2019-11-211-3/+79
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | abstract: Stringify float subclasses using float's reprSimon McVittie2019-11-211-1/+14
| | | | | | | | | | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print Double values as their repr (for example dbus.Double(0.5)), which is a regression. Print them as 0.5 instead. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | int: Ensure we stringify Booleans as 0 or 1Simon McVittie2019-11-211-1/+7
| | | | | | | | | | | | | | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print Boolean values as their repr (for example dbus.Boolean(True)), which is a regression. Print them as 0 or 1 instead, which was the historical behaviour (arguably False or True would be better, but that would be a behaviour change). Signed-off-by: Simon McVittie <smcv@collabora.com>
* | abstract: Stringify long subclasses using long's reprSimon McVittie2019-11-211-1/+14
| | | | | | | | | | | | | | | | | | | | Python 3.8 removes the tp_str for various built-in types, so we would print long-derived values as their repr (for example dbus.Int64(42)), which is a regression. Print them as 42 instead. Co-authored-by: matclab <mathieu@clabaut.net> Signed-off-by: Simon McVittie <smcv@collabora.com> Fixes: https://gitlab.freedesktop.org/dbus/dbus-python/issues/31
* | Post-release version bumpSimon McVittie2019-09-122-1/+6
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Prepare version 1.2.12dbus-python-1.2.12Simon McVittie2019-09-122-3/+12
| | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Revert "Consistently save/restore exception indicator when called from C code"Simon McVittie2019-09-123-43/+16
| | | | | | | | | | | | | | | | | | | | Saving and restoring the exception indicator breaks users of dbus-python that rely on being able to raise SystemExit (or call sys.exit()) from a dbus-python method, such as libsecret's test suite. This reverts commit dbc0f7ef463922c026f1183a07368aa61ffe98dc. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Merge commit 'c786e961343b1acd9ac78c035b8e335bf1f3e634'Simon McVittie2019-09-022-1/+6
|\ \
| * | Post-release version bumpSimon McVittie2019-09-022-1/+6
| | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* | | Document how to release dbus-pythonSimon McVittie2019-09-021-2/+23
|/ / | | | | | | | | | | Otherwise I'll probably forget a step, usually updating PyPI. Signed-off-by: Simon McVittie <smcv@collabora.com>