Re: RFC: adding pytest as a supported test framework - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: RFC: adding pytest as a supported test framework
Date
Msg-id CAOYmi+=CrBFBRX-foRRES2tx2wXBJJhbsJGjgFbWvPcmBJuK-Q@mail.gmail.com
Whole thread Raw
In response to Re: RFC: adding pytest as a supported test framework  (Jacob Champion <jacob.champion@enterprisedb.com>)
List pgsql-hackers
On Thu, Sep 18, 2025 at 11:22 AM Jacob Champion
<jacob.champion@enterprisedb.com> wrote:
> Turns out we've already solved this exact problem for Perl and Prove
> [1], and I should probably choose a similar solution for Python and
> pytest. In other words: make the requirements check into a test.

Done this way in v2-0002. pytest and the linked `PYTHON` can now be
independent of each other. This adds some scaffolding complexity, to
get the configure script and pytest to talk to each other nicely, but
I've gotten rid of some architectural complexity in check_pytest.py to
make up for it.

Thanks,
--Jacob

Attachment

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: GNU/Hurd portability patches
Next
From: David Rowley
Date:
Subject: Re: Fix overflow of nbatch