> -----Original Message----- > From: Bartosz Golaszewski <brgl@xxxxxxxx> > Sent: Wednesday, November 27, 2024 7:32 AM > To: Vincent Fazio <vfazio@xxxxxxxxxxx>; Phil Howard <phil@xxxxxxxxxxxxx>; > Kent Gibson <warthog618@xxxxxxxxx>; Linus Walleij > <linus.walleij@xxxxxxxxxx> > Cc: linux-gpio@xxxxxxxxxxxxxxx; Bartosz Golaszewski > <bartosz.golaszewski@xxxxxxxxxx> > Subject: [libgpiod][PATCH] bindings: python: relax the verbosity > adjustment in build_tests.sh > > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > When building tests using the build_tests.py script, we try to increase the > verbosity using setuptools.logging.configure() preferably but falling back to > distutils.log.set_verbosity() if the former is missing. > > This however creates a hard dependency on distutils on older environments > missing the recently added setuptools method. The build however, can work > fine even with default (low) verbosity so instead of bailing out if the second > import fails, just keep going. > > Closes: https://github.com/brgl/libgpiod/issues/109 > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Reviewed-by: Vincent Fazio <vfazio@xxxxxxxxxxx>