1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-14 16:59:34 +03:00
Commit Graph

62 Commits

Author SHA1 Message Date
16e0892841 Release of libvirt-python-3.3.0 2017-05-05 21:48:36 +02:00
e985010674 Add asyncio event loop implementation
This is usable only on python >= 3.4 (or 3.3 with out-of-tree asyncio),
however it should be harmless for anyone with older python versions.

In simplest case, to have the callbacks queued on the default loop:

    >>> import libvirtaio
    >>> libvirtaio.virEventRegisterAsyncIOImpl()

The function is not present on non-compatible platforms.

Signed-off-by: Wojtek Porczyk <woju@invisiblethingslab.com>
2017-04-04 15:28:50 +01:00
069269e896 Release of libvirt-python-3.2.0
* setup.py: bumped version
2017-04-02 17:08:59 +02:00
aca4c8ac23 Post-release version bump to 3.1.0 2017-01-18 08:29:13 -05:00
fa88bbe562 Release of libvirt-python-3.0.0 2017-01-17 19:23:33 +01:00
a99e9fe20e Fix running of nosetests on python 3
Previously the way Fedora installed /usr/bin/nosetests allowed it
to be invoked with either python 2 or 3. Since Fedora 25 though,
it contains a module name that only exists on python 2. So we need
to be more intelligent and pick a different nosetests binary per
version.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-12-14 10:58:52 +00:00
3e2d50a9ef Fill out more fields for PKG-INFO file
Ensure the description and license are set in PKG-INFO,
and clarify the summary field.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-12-05 14:05:36 +00:00
653ca92463 Post-release version bump to 2.5.0
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2016-11-02 12:42:12 +01:00
3cc6864c96 Release of libvirt-2.4.0
* setup.py: just bumped up the release number
2016-11-01 21:51:07 +01:00
3e041e5b36 Post-release version bump to 2.3.0 2016-09-19 17:19:32 +02:00
94a4f35c58 Post-release version bump to 2.2.0 2016-08-02 09:55:56 -04:00
bdfa319eac allow pkg-config binary to be set by env
https://bugzilla.redhat.com/show_bug.cgi?id=1350523
2016-07-28 15:58:34 -04:00
8a42cdd043 Post-release version bump to 2.1.0
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2016-07-25 14:31:45 +02:00
b4629027f8 Post-release version bump to 2.0.0
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-06-14 15:24:16 +01:00
287df5dfc8 Release of libvirt-python-1.3.5
* setup.py: bumped to 1.3.5, the release is virtually identical to 1.3.4
2016-06-05 00:22:13 +08:00
128d178c74 Post-release version bump to 1.3.4 2016-04-18 13:18:26 +02:00
9be9b5bbae Release of libvirt-python-1.3.3 2016-04-06 15:30:45 +08:00
a265fddf5d setup: Use cflags and ldflags properly
The setup.py script reads cflags and ldflags from pkg-config and uses
them when compiling/linking C modules. Since both cflags and ldflags may
include multiple compiler arguments we need to split them rather than
concatenating them into a single argument.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-01-18 15:41:13 +01:00
a0f4320091 Post-release version bump to 1.3.2
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-01-18 15:04:20 +01:00
53a5e24aee Version bump to 1.3.1
For release but no change from 1.3.0
2016-01-17 10:49:23 +08:00
0852ae7430 Post-release version bump to 1.3.0
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-11-24 13:30:35 +01:00
d5b08f5c19 Post-release version bump to 1.2.21
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-10-15 10:52:38 +02:00
1d7df3c97c Release of libvirt-python-1.2.20 2015-10-02 16:17:06 +02:00
d2c44eb80a Post-release version bump to 1.2.19
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2015-08-03 13:51:30 +02:00
5037e17b13 Forgot to bump version to 1.2.18 2015-08-03 17:55:14 +08:00
7acf1422c5 Revert "Change livbirt version to 1.3.0 for the next release"
This reverts commit 751e016f09.

Since Admin API was deferred for a release and the minor version bump
didn't happen, it must not happen in libvirt-python either, for
compatibility reasons.
2015-06-28 11:36:21 +08:00
751e016f09 Change livbirt version to 1.3.0 for the next release
Since the background for Admin API is merged upstream, we are bumping
the minor release version as discussed previously

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2015-06-16 14:02:56 +02:00
cc72783dde Post-release version bump to 1.2.17 2015-06-05 11:35:52 +02:00
7211c4aaa3 Fix duplicate entries in AUTHORS
The generated AUTHORS file contains many duplicates.  If an author
has N commits, there will be N entries for the author in AUTHORS.
Check if an author already exists in the list before appending.
While at it, add a .mailmap (derived from libivrt's .mailmap) to
futher tidy the generated AUTHORS list.
2015-05-28 14:50:51 -06:00
36737505c4 Post-release version bump to 1.2.16 2015-05-11 10:48:51 +02:00
0584ac3f29 libvirt-python: add classifiers to setup.py
Add the Python 3 classifier, needed by the caniusepython3 tool to check
if dependencies of a projects are Python 3 compatible:

    https://caniusepython3.com/
2015-04-22 16:45:14 +01:00
17330a8314 Post-release version bump to 1.2.15
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2015-04-02 10:50:46 +02:00
52c6643404 Post-release version bump to 1.2.14
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-03-19 14:18:21 +01:00
9ef9794a3e Post-release version bump to 1.2.13 2015-01-27 14:07:10 +00:00
1598bd7dd5 Bump version to 1.2.12 for new dev cycle
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-12-16 14:09:25 +01:00
f1c079ccc0 Bump version to 1.2.11 for new dev cycle 2014-11-03 10:41:27 -05:00
02cc5d62bd setup.py: fix rpm build to return 1 on error
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-10-07 13:08:55 +02:00
c34113f9f6 Post-release version bump for new dev cycle
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2014-10-02 14:55:21 +02:00
8b12cb6f76 Post-release version bump for new dev cycle
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2014-09-02 11:04:58 +02:00
af803d2f9b Bump version to 1.2.8 for new dev cycle
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-08-04 11:06:13 -06:00
f37d0c4f2b Bump version to 1.2.7 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-07-22 18:07:53 +02:00
b5e36a3958 Bump version to 1.2.6 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-06-02 06:55:47 +02:00
e8e1de7f1f Bump version to 1.2.5 for new dev cycle
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2014-05-05 15:46:47 +02:00
2419f29435 increment version post-release
As is now done with libvirt. git head will always have the version
number of the expected *next* release.
2014-04-07 15:33:24 +03:00
0eaf951979 Fix nosetests usage with python3
Add RPM deps on python/python3-nose, make RPM build run the
test suite and invoke nosetests using correct python binary

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-04-02 16:33:53 +02:00
a180fd981b setup.py: Allow running --help or clean without pkg-config
If pkg-config isn't installed, or a too old libvirt, we can't even
do 'python setup.py --help' without throwing an exception.

Have the pkg-config checks and validation only throw an exception if
being called from the 'build' step.

https://bugzilla.redhat.com/show_bug.cgi?id=1074170
2014-03-25 13:37:02 -04:00
115760f6f0 setup.py: Make have_libvirt_lxc a function
This means we call it twice for a build operation, but I don't think
that's a big deal.
2014-03-25 13:37:02 -04:00
cac45e1b1c setup.py: Move module list building to its own function
Makes it a bit more clear what all that code is used for, rather than
intermixing it with function definitions.

Besides the comment additions, this is a no-op and just reindents the
block, into a function.
2014-03-25 13:37:02 -04:00
61529f54d2 setup.py: Remove unused import 2014-03-25 13:37:02 -04:00
eaded7bdad Add support for running unit tests with nose
Make the 'python setup.py test' able to run unit tests
found under tests/ through the 'nosetests' command

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-03-19 15:16:15 +00:00