From: wen heping Subject: [patch]www/py-httpcore: enable `make test` To: "daniel@openbsd.org" , "ports@openbsd.org" Date: Sun, 27 Jul 2025 02:10:48 +0000 Hi, Here is a patch for www/py-httpcore. Currently `make test` can not work, we can enable `make test` with this patch. Next time I shall update py-anyio, which will reduce the test fail greatly. Cheers ! wen Index: www/py-httpcore/patches/patch-pyproject_toml =================================================================== RCS file: www/py-httpcore/patches/patch-pyproject_toml diff -N www/py-httpcore/patches/patch-pyproject_toml --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-httpcore/patches/patch-pyproject_toml 27 Jul 2025 02:06:10 -0000 @@ -0,0 +1,12 @@ +Index: pyproject.toml +--- pyproject.toml.orig ++++ pyproject.toml +@@ -91,7 +91,7 @@ ignore_missing_imports = true + + [tool.pytest.ini_options] + addopts = ["-rxXs", "--strict-config", "--strict-markers"] +-markers = ["copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"] ++markers = ["trio: mark tests that use trio", "copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"] + filterwarnings = ["error"] + + [tool.coverage.run]