Skip to content

Fix packaging#68

Merged
bhcopeland merged 3 commits into
kernelci:masterfrom
roxell:fix-packaging
May 26, 2026
Merged

Fix packaging#68
bhcopeland merged 3 commits into
kernelci:masterfrom
roxell:fix-packaging

Conversation

@roxell
Copy link
Copy Markdown
Collaborator

@roxell roxell commented May 22, 2026

No description provided.

flit_core 4 dropped support for [tool.flit.metadata].
The Arch CI image was rebuilt with flit_core 4, so
`flit build` fails.

Move the metadata to the [project] table. Read version
and description from tuxrun/__init__.py as dynamic
fields.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Comment thread pyproject.toml Outdated
[project]
name = "tuxrun"
authors = [
{name = "Antonio Terceiro", email = "antonio.terceiro@linaro.org"},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lets drop email

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I did that in the followup commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I see but it gets added here 7101a66. What threw me, cool =)

Comment thread pyproject.toml Outdated

[tool.flit.scripts]
[project.urls]
Homepage = "https://tuxsuite.com/"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should be https://tuxrun.org instead? (was already wrong before this PR).

roxell added 2 commits May 26, 2026 10:10
The original author no longer works at Linaro and the
antonio.terceiro@linaro.org address bounces.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
flit-core 4.0 dropped the implicit "include VCS files" behavior.
The sdist now only contains the tuxrun package. The Arch
PKGBUILD check() step runs pytest there, finds no tests and
fails.

Add test/ to [tool.flit.sdist] so the sdist always ships the
unit tests.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
@bhcopeland bhcopeland merged commit d1921e8 into kernelci:master May 26, 2026
30 checks passed
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