Hi Fabio,
On Tue, Jul 08, 2025 16:48:34 +0200, Fabio Valentini via python-devel wrote:
On Tue, Jul 8, 2025 at 12:51 PM Ankur Sinha via python-devel python-devel@lists.fedoraproject.org wrote:
We've started to orphan packages and add them to the pytest testing framework. You can see this in the PR. So far we've not run into a package that is not installable/usable via pip on py3.12. I need to run checks with other supported python versions. I'm trying to figure out if that's something that can be passed as a parameter to the pytests too:
I use `tox` for this purpose, it works great (we use it for the rust2rpm / cargo2rpm upstream tests).
For example, here's the configuration for rust2rpm: https://pagure.io/fedora-rust/rust2rpm/blob/main/f/tox.ini#_1-16
With that configuration, running `tox p` runs the default tests for the defined environments in parallel (in this case, running `pytest` in parallel in venvs with py311, py312, py313, py314 interpreters, respectively).
Thanks for that. Sandro also pointed out that we should use tox on our matrix channel. I've updated our branch to do this now:
https://pagure.io/neuro-sig/NeuroFedora/pull-request/581#request_diff