<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/python/Makefile, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/python/Makefile?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/python/Makefile?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-08-01T09:58:02+00:00</updated>
<entry>
<title>misc: fix commonly doubled up words</title>
<updated>2022-08-01T09:58:02+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2022-07-07T16:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7a21bee2aa52fc95b25e38372678986ee94f05f1'/>
<id>urn:sha1:7a21bee2aa52fc95b25e38372678986ee94f05f1</id>
<content type='text'>
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220707163720.1421716-5-berrange@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Revert "python: pin setuptools below v60.0.0"</title>
<updated>2022-02-23T22:07:26+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-02-04T22:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=43a1119ef132ce23624046babbd08d9d0708dc46'/>
<id>urn:sha1:43a1119ef132ce23624046babbd08d9d0708dc46</id>
<content type='text'>
This reverts commit 1e4d8b31be35e54b6429fea54f5ecaa0083f91e7.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20220204221804.2047468-3-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: pin setuptools below v60.0.0</title>
<updated>2022-01-21T21:01:09+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-01-21T00:52:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1e4d8b31be35e54b6429fea54f5ecaa0083f91e7'/>
<id>urn:sha1:1e4d8b31be35e54b6429fea54f5ecaa0083f91e7</id>
<content type='text'>
setuptools is a package that replaces the python stdlib 'distutils'. It
is generally installed by all venv-creating tools "by default". It isn't
actually needed at runtime for the qemu package, so our own setup.cfg
does not mention it as a dependency.

However, tox will create virtual environments that include it, and will
upgrade it to the very latest version. the 'venv' tool will also include
whichever version your host system happens to have.

Unfortunately, setuptools version 60.0.0 and above include a hack to
forcibly overwrite python's built-in distutils. The pylint tool that we
use to run code analysis checks on this package relies on distutils and
suffers regressions when setuptools &gt;= 60.0.0 is present at all, see
https://github.com/PyCQA/pylint/issues/5704

Instruct tox and the 'check-dev' targets to avoid setuptools packages
that are too new, for now. Pipenv is unaffected, because setuptools 60
does not offer Python 3.6 support, and our pipenv config is pinned
against Python 3.6.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Beraldo Leal &lt;bleal@redhat.com&gt;
Reviewed-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Tested-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-id: 20220121005221.142236-1-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python/aqmp: Add Coverage.py support</title>
<updated>2021-09-27T16:10:29+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-09-15T16:29:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a4ffaecd5726433f01b0ff857054acad9dc9df12'/>
<id>urn:sha1:a4ffaecd5726433f01b0ff857054acad9dc9df12</id>
<content type='text'>
I'm not exposing this via the Makefile help, it's not likely to be
useful to passersby. Switch the avocado runner to the 'legacy' runner
for now, as the new runner seems to obscure coverage reports, again.

Usage is to enter your venv of choice and then:
`make check-coverage &amp;&amp; xdg-open htmlcov/index.html`.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210915162955.333025-28-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: Configure tox to skip missing interpreters</title>
<updated>2021-07-13T19:44:16+00:00</updated>
<author>
<name>Wainer dos Santos Moschetta</name>
</author>
<published>2021-06-30T18:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6f651a6d84b64060aa77373a72ba02ff61ad9911'/>
<id>urn:sha1:6f651a6d84b64060aa77373a72ba02ff61ad9911</id>
<content type='text'>
Currently tox tests against the installed interpreters, however if any
supported interpreter is absent then it will return fail. It seems not
reasonable to expect developers to have all supported interpreters
installed on their systems. Luckily tox can be configured to skip
missing interpreters.

This changed the tox setup so that missing interpreters are skipped by
default. On the CI, however, we still want to enforce it tests
against all supported. This way on CI the
--skip-missing-interpreters=false option is passed to tox.

Signed-off-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-Id: &lt;20210630184546.456582-1-wainersm@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: remove auto-generated pyproject.toml file</title>
<updated>2021-07-01T01:57:08+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-29T21:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=19cf0031e438374045aab8e5db0a03fb3b3070e4'/>
<id>urn:sha1:19cf0031e438374045aab8e5db0a03fb3b3070e4</id>
<content type='text'>
For reasons that at-present escape me, pipenv insists on creating a stub
pyproject.toml file. This file is a nuisance, because its mere presence
changes the behavior of various tools.

For instance, this stub file will cause "pip install --user -e ." to
fail in spectacular fashion with misleading errors. "pip install -e ."
works okay, but for some reason pip does not support editable installs
to the user directory when using PEP517.

References:
  https://github.com/pypa/pip/pull/9990
  https://github.com/pypa/pip/issues/7953

As outlined in ea1213b7ccc, it is still too early for us to consider
moving to a PEP-517 exclusive package. We must support older
distributions, so squash the annoyance for now. (Python 3.6 shipped Dec
2016, PEP517 support showed up in pip sometime in 2019 or so.)

Add 'pyproject.toml' to the 'make clean' target, and also delete it
after every pipenv invocation issued by the Makefile.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-id: 20210629214323.1329806-15-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: Update help text on 'make clean', 'make distclean'</title>
<updated>2021-07-01T01:57:08+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-29T21:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=50d0fba8272a5ccc2821e8ca66a5932281b1ca2d'/>
<id>urn:sha1:50d0fba8272a5ccc2821e8ca66a5932281b1ca2d</id>
<content type='text'>
Update for visual parity with all the remaining targets.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-id: 20210629214323.1329806-14-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: Update help text on 'make check', 'make develop'</title>
<updated>2021-07-01T01:57:08+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-29T21:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=28cd32fb7bcd4ff3f987e9cd59186b18e810d73d'/>
<id>urn:sha1:28cd32fb7bcd4ff3f987e9cd59186b18e810d73d</id>
<content type='text'>
Update for visual parity with the other targets.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-id: 20210629214323.1329806-13-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: add 'make check-dev' invocation</title>
<updated>2021-07-01T01:55:43+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-29T21:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2c24d52d06af855a9b2a69c38cd4b747c848b1e1'/>
<id>urn:sha1:2c24d52d06af855a9b2a69c38cd4b747c848b1e1</id>
<content type='text'>
This is a *third* way to run the Python tests. Unlike the first two
(check-pipenv, check-tox), this version does not require any specific
interpreter version -- making it a lot easier to tell people to run it
as a quick smoketest prior to submission to GitLab CI.

Summary:

  Checked via GitLab CI:
    - check-pipenv: tests our oldest python &amp; dependencies
    - check-tox: tests newest dependencies on all non-EOL python versions
  Executed only incidentally:
    - check-dev: tests newest dependencies on whichever python version

('make check' does not set up any environment at all, it just runs the
tests in your current environment. All four invocations perform the
exact same tests, just in different execution environments.)

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Tested-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-id: 20210629214323.1329806-12-jsnow@redhat.com
[Maintainer edit: added .dev-venv/ to .gitignore. --js]
Acked-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Acked-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>python: Fix .PHONY Make specifiers</title>
<updated>2021-07-01T01:54:04+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-29T21:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=205d7219f3ba9971149b6fa45a155866d9e889db'/>
<id>urn:sha1:205d7219f3ba9971149b6fa45a155866d9e889db</id>
<content type='text'>
I missed the 'check-tox' target. Add that, but split the large .PHONY
specifier at the top into its component pieces and move them near the
targets they describe so that they're much harder to forget to update.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Reviewed-by: Willian Rampazzo &lt;willianr@redhat.com&gt;
Message-id: 20210629214323.1329806-10-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
</feed>
