Skip to content

Conversation

@mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Nov 5, 2025

This commit reshuffles the code a bit so that we a reusable ./vmtest directory that can be used by the images library.

With that we can add a toplevel pyproject.toml file so that we can import vmtest via

$ pip install [email protected]/osbuild/bootc-image-builder

im other projects.

Note that none of this is ideal, I wish python would be more like go here and make this easier, I dislike that we have to have the pyproject in a toplevel dir. But this is (hopefully) a temporary measure until we find a more permanent home for our vm runner or replace it with something like test.thing or the new osbuild QEMU code.

@mvo5 mvo5 requested a review from a team as a code owner November 5, 2025 12:42
@mvo5 mvo5 requested review from achilleas-k, supakeen and thozza and removed request for a team November 5, 2025 12:42
@mvo5 mvo5 force-pushed the vmtest-as-py-package branch from 841a503 to 0a5c722 Compare November 5, 2025 15:22
@mvo5 mvo5 requested a review from ondrejbudai November 6, 2025 19:44
@mvo5 mvo5 force-pushed the vmtest-as-py-package branch from 9fc525f to 450b042 Compare November 7, 2025 15:09
achilleas-k
achilleas-k previously approved these changes Nov 7, 2025
@supakeen
Copy link
Member

supakeen commented Nov 7, 2025

There are a bunch of pylint errors here, can those be addressed?

@mvo5 mvo5 force-pushed the vmtest-as-py-package branch 3 times, most recently from 50326a5 to 5e47a88 Compare November 7, 2025 16:43
This commit reshuffles the code a bit so that we a reusable
./test/vmtest directory that can be used by the images library.

With that we can add a toplevel pyproject.toml file so that
we can import vmtest via
```console
$ pip install [email protected]/osbuild/bootc-image-builder
```
im other projects.

Note that none of this is ideal, butt this is (hopefully)
a temporary measure until we find a more permanent home for
our vm runner or replace it with something like test.thing or
the new osbuild QEMU code.
@mvo5 mvo5 force-pushed the vmtest-as-py-package branch from 5e47a88 to 64aafc0 Compare November 7, 2025 16:43
Copy link
Member

@supakeen supakeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mvo5 mvo5 added this pull request to the merge queue Nov 7, 2025
Merged via the queue into osbuild:main with commit c3c5a85 Nov 7, 2025
21 of 22 checks passed
@mvo5 mvo5 deleted the vmtest-as-py-package branch November 7, 2025 22:09
@mvo5 mvo5 changed the title test: refactor so that all vm related tests can be reused test: refactor so that all vm related tests can be reused [HMS-9572] Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants