Index | Thread | Search

From:
wen heping <wenheping2000@hotmail.com>
Subject:
回复: [patch]www/py-httpcore: enable `make test`
To:
Daniel Dickman <didickman@gmail.com>, "daniel@openbsd.org" <daniel@openbsd.org>, "ports@openbsd.org" <ports@openbsd.org>
Date:
Tue, 29 Jul 2025 01:33:07 +0000

Download raw body.

Thread
________________________________________
发件人: Daniel Dickman <didickman@gmail.com>
发送时间: 2025年7月29日 9:25
收件人: wen heping; daniel@openbsd.org; ports@openbsd.org
主题: Re: [patch]www/py-httpcore: enable `make test`



On Mon, 28 Jul 2025, Stuart Henderson wrote:

> Tests work for me already:
>
> plugins: benchmark-5.1.0, subtests-0.12.1, xdist-3.5.0,
> hypothesis-6.124.5, flaky-3.8.1, cov-6.0.0, mock-3.14.0, timeout-2.4.0,
> trio-0.8.0, codspeed-4.0.0, httpbin-2.0.0, anyio-4.9.0
>

I believe there are 2 differences in your test run from what Wen probably
saw (although no diagnostics were included in the original report).

1. httpcore needs a TDEP on devel/py-test-trio due to use of
   "@pytest.mark.trio", you seem to have it installed already. I've just
   committed a fix for this.


Several important ports depend on py-anyio. Since I haven’t fully tested them yet, 
I’m holding off on submitting the py-anyio upgrade request for now.

2. you used anyio 4.x, while -current has anyio 3.x. And indeed, it does
   seem like httpcore documents needing anyio 4.x. An update of anyio
   should resolve this, however needs to be tested with other reverse deps
   too.