Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's support one version of Python and validate it #1185

Open
SqAtx opened this issue Feb 3, 2025 · 2 comments
Open

Let's support one version of Python and validate it #1185

SqAtx opened this issue Feb 3, 2025 · 2 comments
Labels
RFC "Request for Comments" brainstorming tickets for things we are unsure about

Comments

@SqAtx
Copy link
Contributor

SqAtx commented Feb 3, 2025

We're all aware that we're quite understaffed here at the moment, so I propose a change to simplify things a bit.

Let's declare that the only supported way to distribute GTG is via flatpak, and that the only version of Python that GTG is expected to run on, is "whatever version of Python runs in the latest version of the GNOME SDK flatpak runtime".

Currently,

So I propose to declare that we're supporting only Python 3.12, and:

  • say so in the README
  • set it as the Python version in the unit tests GHA
  • add a GHA test that tries to start GTG on every commit
  • ideally, add an automated way to validate the weekly flatpak

This would both set expectations on the versions of Python that are supported, and validate that it actually is supported and that we're not breaking it by accident.

Of course, this strategy makes it more difficult to package GTG in different ways, but I don't think we have enough people interested in doing that currently. When we do, we can widen support, and we'll be able to test accordingly :)

@SqAtx SqAtx added the RFC "Request for Comments" brainstorming tickets for things we are unsure about label Feb 3, 2025
@gycsaba96
Copy link
Contributor

This is a great summary of the situation, and I fully support the proposal. It would allow us to concentrate our efforts and simplify testing.

However, I suggest a less strict "whatever version of Python running in the GNOME SDK used by GTG" specification to provide flexibility when transitioning to a new SDK.

@SqAtx
Copy link
Contributor Author

SqAtx commented Feb 9, 2025

However, I suggest a less strict "whatever version of Python running in the GNOME SDK used by GTG" specification to provide flexibility when transitioning to a new SDK.

Good point - we might need to test on two different versions of Python if an SDK upgrade drags out. That should be easy to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFC "Request for Comments" brainstorming tickets for things we are unsure about
Projects
None yet
Development

No branches or pull requests

2 participants