Skip to content

Contributing to Qubes can fail CI when formatter versions differ #126

@ben-grande

Description

@ben-grande

Software version

Debian 12

Brief summary

Qubes developers work mostly on Fedora, Qubes Builder is also based on Fedora.

When running upstream CI, it uses a black (python formatter) version that is newer than what Debian 12 has. This results in the CI failing as my local black produces different results than the remote one.

As upstream develops on Fedora, its support is better, some test scripts have support for dnf but not apt.

Steps to reproduce

Depends on the diff and black's heuristics as can be seen on the report above.

Expected behavior

Contribute to Qubes seamlessly.

Actual behavior

Most of the time it is seamless, as I have done for a long time without needing to change the coding environment to Fedora. But this is an edge case that fixing it (changing to Fedora), would make us close to upstream and easier to contribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions