<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libvirt-python.git/setup.py, branch v8.5.0</title>
<subtitle>libvirt.org: git/libvirt-python.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/'/>
<entry>
<title>setup: make 'clean' command compatible again with distutils</title>
<updated>2022-06-25T04:38:30+00:00</updated>
<author>
<name>Pino Toscano</name>
<email>ptoscano@redhat.com</email>
</author>
<published>2022-06-25T04:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=ba4db43f636d701411b10b44fbb77f02393b4e98'/>
<id>ba4db43f636d701411b10b44fbb77f02393b4e98</id>
<content type='text'>
After the switch of 'my_clean' to a simple Command, the 'clean' command
has no more bits for options, resulting in distutils (either external
or embedded in setuptools) complaining about it:

  distutils.errors.DistutilsClassError: command class &lt;class '__main__.my_clean'&gt; must provide 'user_options' attribute (a list of tuples)

To overcome that, provide all the standard bits from options, i.e. the
'user_options' list, and the 'initialize_options' &amp; 'finalize_options'
methods. In addition, add a dummy 'all' option, as distutils wants it:

  error: error in [...]/.pydistutils.cfg: command 'my_clean' has no such option 'all'

Fixes commit a965c91c6fa1275613edbbef75c0422574eb9ff2

Signed-off-by: Pino Toscano &lt;ptoscano@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the switch of 'my_clean' to a simple Command, the 'clean' command
has no more bits for options, resulting in distutils (either external
or embedded in setuptools) complaining about it:

  distutils.errors.DistutilsClassError: command class &lt;class '__main__.my_clean'&gt; must provide 'user_options' attribute (a list of tuples)

To overcome that, provide all the standard bits from options, i.e. the
'user_options' list, and the 'initialize_options' &amp; 'finalize_options'
methods. In addition, add a dummy 'all' option, as distutils wants it:

  error: error in [...]/.pydistutils.cfg: command 'my_clean' has no such option 'all'

Fixes commit a965c91c6fa1275613edbbef75c0422574eb9ff2

Signed-off-by: Pino Toscano &lt;ptoscano@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>setup: advertize Python 3.9 and 3.10 support</title>
<updated>2022-06-08T15:43:52+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-05-16T16:37:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=b34fbaf405c61935efbd0d3e9b3a134f26097ea7'/>
<id>b34fbaf405c61935efbd0d3e9b3a134f26097ea7</id>
<content type='text'>
Add classifiers that indicate we intend to support python versions
3.9 and 3.10.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add classifiers that indicate we intend to support python versions
3.9 and 3.10.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use mocks to allow calling virEventRegisterImpl many times</title>
<updated>2022-06-08T15:43:52+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-05-17T14:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=e3fab09382d4a6c439820ed5e6930e57716dcb50'/>
<id>e3fab09382d4a6c439820ed5e6930e57716dcb50</id>
<content type='text'>
We currently have to run each of the test_aio.py test cases in a
separate process, because libvirt.virEventRegisterImpl can only be
called once per process. This leads to quite unpleasant console
output when running tests.

By introducing a mock for libvirt.virEventRegisterImpl we can
regain the ability to run everything in a single process. The only
caveat is that it relies on tests to fully cleanup, but in practice
this is ok for our current tests.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently have to run each of the test_aio.py test cases in a
separate process, because libvirt.virEventRegisterImpl can only be
called once per process. This leads to quite unpleasant console
output when running tests.

By introducing a mock for libvirt.virEventRegisterImpl we can
regain the ability to run everything in a single process. The only
caveat is that it relies on tests to fully cleanup, but in practice
this is ok for our current tests.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: add libvirtaio test coverage</title>
<updated>2022-06-08T15:43:52+00:00</updated>
<author>
<name>Chris Gunn</name>
<email>chrisgun@microsoft.com</email>
</author>
<published>2022-02-11T00:49:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=b9f79758c973db088b5c687425c6613796fdb250'/>
<id>b9f79758c973db088b5c687425c6613796fdb250</id>
<content type='text'>
Signed-off-by: Chris Gunn &lt;chrisgun@microsoft.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Chris Gunn &lt;chrisgun@microsoft.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Post-release version bump to 8.5.0</title>
<updated>2022-06-01T07:31:33+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2022-06-01T07:31:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=8a0e3f052bbda52c15bef8ee50c8061b897a133c'/>
<id>8a0e3f052bbda52c15bef8ee50c8061b897a133c</id>
<content type='text'>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Post-release version bump to 8.4.0</title>
<updated>2022-05-02T11:38:10+00:00</updated>
<author>
<name>Jiri Denemark</name>
<email>jdenemar@redhat.com</email>
</author>
<published>2022-05-02T11:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=f27567e993c10f471d1ee653e4da92daa03b3d1d'/>
<id>f27567e993c10f471d1ee653e4da92daa03b3d1d</id>
<content type='text'>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jiri Denemark &lt;jdenemar@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>setup: switch to running API coverage test using pytest</title>
<updated>2022-04-21T15:00:29+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-03-22T18:27:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=60044515a256c36afad0fc5efcb7ea946eb93783'/>
<id>60044515a256c36afad0fc5efcb7ea946eb93783</id>
<content type='text'>
The API coverage test is no longer a special case.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The API coverage test is no longer a special case.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sanitytest: stop passing python module path into sanity test</title>
<updated>2022-04-21T15:00:29+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-03-22T17:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=d4dfac2a4328eb56b10c14195fdd4dc8faadbec4'/>
<id>d4dfac2a4328eb56b10c14195fdd4dc8faadbec4</id>
<content type='text'>
We want to move over to make sanitytest.py operate like a more normal
test script, which means making it self contained.

The setup.py already sets the PYTHONPATH thanks to changes introduced
in:

  commit eaded7bdadf3ccdc4b208ec0ed65a1b23b8b5f69
  Author: Daniel P. Berrange &lt;berrange@redhat.com&gt;
  Date:   Tue Mar 18 11:11:48 2014 +0000

    Add support for running unit tests with nose

so passing the python module path into sanitytest.py is redundant.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to move over to make sanitytest.py operate like a more normal
test script, which means making it self contained.

The setup.py already sets the PYTHONPATH thanks to changes introduced
in:

  commit eaded7bdadf3ccdc4b208ec0ed65a1b23b8b5f69
  Author: Daniel P. Berrange &lt;berrange@redhat.com&gt;
  Date:   Tue Mar 18 11:11:48 2014 +0000

    Add support for running unit tests with nose

so passing the python module path into sanitytest.py is redundant.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sanitytest: stop passing API XML path into sanity test</title>
<updated>2022-04-21T15:00:29+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-03-22T17:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=4e5d903fc343501ac9a2be5584925f0d64d1e6dd'/>
<id>4e5d903fc343501ac9a2be5584925f0d64d1e6dd</id>
<content type='text'>
We want to move over to make sanitytest.py operate like a more normal
test script, which means making it self contained.

The test already knows how to find the libvirt API XML path using
pkg-config and if an override location is required, this can be done
by pointing $PKG_CONFIG_PATH to a suitable place.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to move over to make sanitytest.py operate like a more normal
test script, which means making it self contained.

The test already knows how to find the libvirt API XML path using
pkg-config and if an override location is required, this can be done
by pointing $PKG_CONFIG_PATH to a suitable place.

Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>setup: switch from distutils to setuptools</title>
<updated>2022-04-21T11:34:06+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
<email>berrange@redhat.com</email>
</author>
<published>2022-03-23T11:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libvirt-python.git/commit/?id=b0e9f12f2fe1f44250a322fda1a68f91c4f003a5'/>
<id>b0e9f12f2fe1f44250a322fda1a68f91c4f003a5</id>
<content type='text'>
The distutils package is deprecated and targetted for deletion in Python
3.12, so we need to switch to setuptools. Thanks to all the preceeding
changes this is no more difficult than changing the import statements.

Closes https://gitlab.com/libvirt/libvirt-python/-/issues/1
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The distutils package is deprecated and targetted for deletion in Python
3.12, so we need to switch to setuptools. Thanks to all the preceeding
changes this is no more difficult than changing the import statements.

Closes https://gitlab.com/libvirt/libvirt-python/-/issues/1
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
