I use Buildbot with PosgreSQL backend. The port itself has no PostgreSQL flavor for it, so it should be build with runtime www/py-psycopg2 library by default to make pgsql works. Or Buildbot should have some flavors for non sqlite backends.
Landry, do you agree? Martin ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, July 20, 2020 6:42 AM, Landry Breuil <lan...@openbsd.org> wrote: > On Sat, Jul 18, 2020 at 08:37:01PM +0000, Martin wrote: > > > latest py-buildbot from -current needs databases/py-psycopg2 to run. > > well, i'm using buildbot with sqlite, and there's no need for psycopg2 > imo. Looking at upstream, theres no mention of it in the explicit deps: > https://github.com/buildbot/buildbot/blob/master/master/setup.py#L475 > > and its only listed for dev/testing or in the docs: > https://github.com/buildbot/buildbot/search?q=psycopg2&unscoped_q=psycopg2 > > of course, if you plan to configure buildbot with postgresql, then yes > you need to corresponding bits, but per se its not a runtime > requirement in the default config. > > > Hope original formatting will be keep by mail agent. > > sadly mail agent screwed up :) > > > --- buildbot/Makefile.old Sat Jul 18 20:50:38 2020 > > +++ buildbot/Makefile Sat Jul 18 20:51:12 2020 > > @@ -8,6 +8,7 @@ > > RUN_DEPENDS = databases/py-sqlalchemy${MODPY_FLAVOR} \ > > databases/py-sqlalchemy-migrate${MODPY_FLAVOR} \ > > > > - databases/py-psycopg2${MODPY_FLAVOR} \ > > devel/py-buildbot/www \ > > devel/py-dateutil${MODPY_FLAVOR} \ > > devel/py-twisted${MODPY_FLAVOR} \ > > > > > > Martin