From: Kurt Mosiejczuk Subject: Re: NEW: www/py-legacy-cgi To: OpenBSD Ports Date: Wed, 25 Mar 2026 12:44:59 -0400 On Wed, Mar 25, 2026 at 03:08:01PM +0000, Stuart Henderson wrote: > On 2026/03/25 14:48, Stuart Henderson wrote: > > In the cases you mentioned it is actually py-webob that is using cgi. > > And I think it will be breaking main functionality rather than just tests. > breaks functionality for py-webtest, but only tests for py-query > btw there is a newer py-query, which lists "Support (and require) > cssselect 1.2+" among the changelog entries, so we may need that > (we had cssselect 1.2+ since 7.5) The py-query update was what got me onto this py-legacy-cgi train. I like doing tests before and after of consumers and none of the tests were working at all because of the lack of cgi. --Kurt > --- Makefile.orig > +++ Makefile Wed Mar 25 14:57:07 2026 > @@ -1,9 +1,8 @@ > COMMENT = jquery-like library for python > > -MODPY_DISTV = 1.4.3 > +MODPY_DISTV = 2.0.1 > DISTNAME = pyquery-${MODPY_DISTV} > PKGNAME = py-query-${MODPY_DISTV} > -REVISION = 7 > > CATEGORIES = www > > @@ -21,6 +20,7 @@ MODPY_PYBUILD = setuptools > > RUN_DEPENDS = textproc/py-cssselect \ > textproc/py-lxml > +MODPY_PYTEST_ARGS = tests > TEST_DEPENDS = www/py-webtest > > .include