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).

Fabio
-- 
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to