fediverse-devnet / feditest

A testing framework for distributed, heterogeneous systems communicating with complex protocols, such as the Fediverse
https://feditest.org/
MIT License
33 stars 6 forks source link

Settle on minimum Python version #307

Closed jernst closed 2 months ago

jernst commented 2 months ago

Let's first collect what versions we are all run on which OSs.

As of 2024-08-14:

Please add comments with what version you are running on which OS.

steve-bate commented 2 months ago

I'm running 3.11.9 using brew on macOS Intel, but I could upgrade my venv (3.12.5 is also installed). I'm not sure if there's a way to specify a minimum Python version with the feditest projects. Using poetry, I would put that constraint in the pyproject.toml, but I'm not an expert on that aspect of Python builds, in general.

jernst commented 2 months ago

There's a line in pyproject.toml:

requires-python = ">=3.11"

I'm only guessing at what it might do.

steve-bate commented 2 months ago

Ah... so it should be compatible with 3.11.*. However, I just updated my venv to 3.12.5.

mexon commented 2 months ago

I nominate Raspberry Pi OS as an important platform. Mine are mostly bullseye/debian 11 with Python 3.9.2, one or two bookworm/debian 12 with Python 3.11.2. It's reasonable to tell me to upgrade to the latest stable version for doing testing.

jernst commented 2 months ago

You think many developers use the Pi as their development machine? When I asked around back in December, I don't think anybody mentioned that. (I do understand it as a production host, but development?)

mexon commented 2 months ago

My use case is testing ActivityPub servers on real hardware communicating over a real network. I don't actually do that these days, I switched to Vagrant. But I certainly do still want that as an option. Another thing I don't do is keep the pis on an isolated network, so I could in principle use my development machine to run feditest (except that my development machine is Ubuntu 22.04 still, so I can't do that). But that's also an important case I think.

Not that the distinction really matters though. It's just Debian really. And Debian certainly is an important developer platform.