Re: python-mnemonic: problem with test not able to find local file

2024-09-26 Thread Carsten Schoenert
Hi, Am 27.09.24 um 06:56 schrieb weepingclown: Hi, the file must not have been copied to the testbed, I assume. You can try adding a debian/pybuild.testfiles file with vectors.json listed in it and that'd *probably* take care of the issue. that's one option and mostly the more straightforwa

Re: python-mnemonic: problem with test not able to find local file

2024-09-26 Thread weepingclown
Hi, the file must not have been copied to the testbed, I assume. You can try adding a debian/pybuild.testfiles file with vectors.json listed in it and that'd *probably* take care of the issue. Best, Ananthu

python-mnemonic: problem with test not able to find local file

2024-09-26 Thread Soren Stoutner
I am in the process of updating python-mnemonic. Historically, tests have not been enabled. I can build the new version just fine, but when I enable tests by adding a Build-Depend on "python3-pytest ” the build fails [1] with the following error: def test_vectors(self) -> None: > wi

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