Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-30 Thread Soren Stoutner
On Monday, September 30, 2024 8:55:38 AM MST Andrey Rakhmatullin wrote: > On Mon, Sep 30, 2024 at 08:50:27AM -0700, Soren Stoutner wrote: > > On Friday, September 27, 2024 4:48:58 PM MST Soren Stoutner wrote: > > > 1. Just exclude this test from autopkgtests and go on with my life (I > > > > assu

Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-30 Thread Andrey Rakhmatullin
On Mon, Sep 30, 2024 at 08:50:27AM -0700, Soren Stoutner wrote: > On Friday, September 27, 2024 4:48:58 PM MST Soren Stoutner wrote: > > 1. Just exclude this test from autopkgtests and go on with my life (I > assume > > autopkgtest-pkg-pybuild has an easy way to do this). There are 111 other > >

Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-30 Thread Soren Stoutner
On Friday, September 27, 2024 4:48:58 PM MST Soren Stoutner wrote: > 1. Just exclude this test from autopkgtests and go on with my life (I assume > autopkgtest-pkg-pybuild has an easy way to do this). There are 111 other > tests that run successfully, this is a test that upstream should run with

Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-27 Thread Soren Stoutner
I have a further question about this test. When it runs in autopkgtests, it looks for a file that exists in the larger upstream repository, but isn’t in the python module tarball. The test fails [1] with this error: E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ autopkg

Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-26 Thread Soren Stoutner
On Thursday, September 26, 2024 1:34:34 PM MST Andrey Rakhmatullin wrote: > > 1. What is the best (idomatic) way to disable this test during build? > > In this case - just skip the whole file via appropriate PYBUILD_TEST_ARGS. Thanks for the pointer. -- Soren Stoutner so...@debian.org signatu

Re: python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-26 Thread Andrey Rakhmatullin
On Thu, Sep 26, 2024 at 01:02:14PM -0700, Soren Stoutner wrote: > I am in the process of adopting and updating python-trezor. Upstream now > contains a test that involves downloading a binary firmware package from the > internet [1]. > > This test causes the build to fail with the following err

python-trezor: assistance with disabling or modifying a build test that requires network access

2024-09-26 Thread Soren Stoutner
I am in the process of adopting and updating python-trezor. Upstream now contains a test that involves downloading a binary firmware package from the internet [1]. This test causes the build to fail with the following error message, both on my local sbuild and on Salsa [2]: requests.exception