From d40cebae237ec22401e3e76d386ad84ca2b71bbc Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Thu, 13 Jun 2024 09:39:00 -0600 Subject: [PATCH 1/2] Update pypi build to use 3.10 Signed-off-by: Travis F. Collins --- .github/scripts/install_pydeps.sh | 0 .github/workflows/test-pypi.yml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 .github/scripts/install_pydeps.sh diff --git a/.github/scripts/install_pydeps.sh b/.github/scripts/install_pydeps.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/test-pypi.yml b/.github/workflows/test-pypi.yml index 3ea29c47b..f726b1bd1 100644 --- a/.github/workflows/test-pypi.yml +++ b/.github/workflows/test-pypi.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: '3.10' - name: Install dependencies run: | From 82f940782e2ba5a10a80f8cf4f428f12fab90ac4 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Thu, 13 Jun 2024 09:59:40 -0600 Subject: [PATCH 2/2] Disable emulation test for CN0511 as context is wrong. Does not contain values Signed-off-by: Travis F. Collins --- test/test_cn0511_p.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_cn0511_p.py b/test/test_cn0511_p.py index 188f704cc..0f5f30553 100644 --- a/test/test_cn0511_p.py +++ b/test/test_cn0511_p.py @@ -31,7 +31,7 @@ def test_cn0511_attr( ######################################### -@pytest.mark.iio_hardware(hardware) +@pytest.mark.iio_hardware(hardware, True) @pytest.mark.parametrize("classname", [(classname)]) @pytest.mark.parametrize( "attr, depends, start, stop, step, tol, repeats",